Skip to content

Commit

Permalink
add addAuthority() to SoulStore deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcabot committed Jan 9, 2023
1 parent 22b7b9f commit 4657f72
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deploy/SoulStore.ts
Expand Up @@ -96,6 +96,11 @@ const func: DeployFunction = async ({
.setNameRegistrationPricePerYear(3, 1500000000); // 3 length, 1,500 USDC
await soulStore.connect(signer).setNameRegistrationPricePerYear(4, 500000000); // 4 length, 500 USDC

// add authority to soulStore
await soulStore
.connect(signer)
.addAuthority(env.AUTHORITY_WALLET || admin.address);

// we add soulStore as soulboundIdentity and soulName minter

const IDENTITY_MINTER_ROLE = await soulboundIdentity.MINTER_ROLE();
Expand Down

0 comments on commit 4657f72

Please sign in to comment.