dgf-prototype/ethereum/scripts/deploy.js

19 lines
622 B
JavaScript
Raw Normal View History

const deployContract = require('./util/deploy-contract');
const deployDAOContract = require('./util/deploy-dao-contract');
const deployWorkContract = require('./util/deploy-work-contract');
const deployRollableWorkContract = require('./util/deploy-rollable-work-contract');
2024-03-04 19:33:06 -06:00
async function main() {
2024-04-16 16:50:09 -05:00
await deployContract('DAO', [], true);
await deployDAOContract('Rollup');
await deployDAOContract('Proposals');
await deployWorkContract('Work1');
await deployWorkContract('Onboarding');
await deployRollableWorkContract('Work2');
2024-03-04 19:33:06 -06:00
}
main().catch((error) => {
console.error(error);
process.exitCode = 1;
});