dgf-prototype/ethereum/scripts/deploy.js

19 lines
623 B
JavaScript

const deployDAOContract = require('./util/deploy-dao-contract');
const deployWorkContract = require('./util/deploy-work-contract');
const deployRollableWorkContract = require('./util/deploy-rollable-work-contract');
const deployCoreContracts = require('./util/deploy-core-contracts');
async function main() {
await deployCoreContracts();
await deployDAOContract('Rollup');
await deployDAOContract('Proposals');
await deployWorkContract('Work1');
await deployWorkContract('Onboarding');
await deployRollableWorkContract('Work2');
}
main().catch((error) => {
console.error(error);
process.exitCode = 1;
});