dgf-prototype/ethereum/scripts/deploy.js

16 lines
446 B
JavaScript

const deployWorkContract = require('./util/deploy-work-contract');
const deployContract = require('./util/deploy-contract');
const deployDAOContract = require('./util/deploy-dao-contract');
async function main() {
await deployContract('DAO');
await deployDAOContract('Proposals');
await deployWorkContract('Work1');
await deployWorkContract('Onboarding');
}
main().catch((error) => {
console.error(error);
process.exitCode = 1;
});