Files
contracts/scripts/mocks.ts
2021-11-23 10:19:47 +01:00

26 lines
583 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"
})
await run("deploy:groups")
}
main()
.then(() => process.exit(0))
.catch((error: Error) => {
console.error(error)
process.exit(1)
})