Files
contracts/scripts/mocks.ts
2021-11-10 17:02:02 +01:00

30 lines
671 B
TypeScript

import { run } from "hardhat"
async function main(): Promise<void> {
await run("deploy:reputation-badge", {
name: "InterRep Twitter Badge",
symbol: "iTWITTER"
})
await run("deploy:reputation-badge", {
name: "InterRep Github Badge",
symbol: "iGITHUB"
})
await run("deploy:reputation-badge", {
name: "InterRep Reddit Badge",
symbol: "iREDDIT"
})
const { address } = await run("deploy:groups")
await run("groups", {
address,
depth: 16
})
}
main()
.then(() => process.exit(0))
.catch((error: Error) => {
console.error(error)
process.exit(1)
})