Skip to content

Commit

Permalink
Print deploed NonceManager address
Browse files Browse the repository at this point in the history
  • Loading branch information
forshtat committed Oct 21, 2024
1 parent fcdaaf9 commit 6a1bfea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/utils/src/RIP7712NonceManagerUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const entryPointSalt = '0x90d8084deab30c2a37c45e8d47f49f2f7965183cb6990a9

export async function deployNonceManager (provider: JsonRpcProvider, signer = provider.getSigner()): Promise<NonceManager> {
const addr = await new DeterministicDeployer(provider, signer).deterministicDeploy(nonceManagerByteCode, entryPointSalt)
console.log("Deployed NonceManager contract at: ", addr)
return NonceManager__factory.connect(addr, signer)
}

Expand Down

0 comments on commit 6a1bfea

Please sign in to comment.