dgf-prototype/ethereum/scripts/deploy.js

16 lines
456 B
JavaScript
Raw Normal View History

const deployWorkContract = require('./util/deploy-work-contract');
const deployContract = require('./util/deploy-contract');
const deployDAOContract = require('./util/deploy-dao-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('Proposals');
await deployWorkContract('Work1');
await deployWorkContract('Onboarding');
2024-03-04 19:33:06 -06:00
}
main().catch((error) => {
console.error(error);
process.exitCode = 1;
});