diff --git a/scripts/testnet-deploy.ts b/scripts/testnet-deploy.ts new file mode 100644 index 0000000..6bdd8d3 --- /dev/null +++ b/scripts/testnet-deploy.ts @@ -0,0 +1,20 @@ +import * as deploy from '../test/helpers/deploy'; +import { PoolFactory } from '../typechain'; + +const _dao = '0xB011D306D36c396847bA42b1c7AEb8E96C540d9a'; + +async function main () { + const factory = ( + await deploy.deployContract('PoolFactory', [_dao]) + ) as PoolFactory; + + console.log(`Pool deployed at: ${factory.address}`); +} + +main() + .then(() => process.exit(0)) + .catch(error => { + console.error(error); + process.exit(1); + }); +