Skip to content

Commit

Permalink
deployed verifying paymaster on all testnets
Browse files Browse the repository at this point in the history
  • Loading branch information
vignesha22 committed Jul 17, 2024
1 parent db5bc0c commit 579d6c0
Show file tree
Hide file tree
Showing 45 changed files with 27,462 additions and 36 deletions.
5 changes: 5 additions & 0 deletions config/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@ const networks: HardhatUserConfig['networks'] = {
url: 'https://rpc-amoy.polygon.technology',
accounts: [process.env.DEPLOYER_PRIVATE_KEY!],
},
xdcApothem: {
chainId: 51,
url: 'https://rpc.apothem.network',
accounts: [process.env.DEPLOYER_PRIVATE_KEY!],
},
dev: { url: 'http://localhost:8545' },
};
export default networks;
13 changes: 12 additions & 1 deletion deploy/010_deploy_verifying_paymaster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const deployVerifyingPaymaster: DeployFunction = async function (
console.log('starting deployment of verifying paymaster...');

const entrypoint = '0x0000000071727De22E5E9d8BAf0edAc6f37da032';
const verifyingSigner = '';
const verifyingSigner = '0xaeAF09795d8C0e6fA4bB5f89dc9c15EC02021567';
const ret = await deploy('VerifyingPaymaster', {
from,
args: [entrypoint, verifyingSigner],
Expand All @@ -37,6 +37,17 @@ const deployVerifyingPaymaster: DeployFunction = async function (
'addStake',
1
);

await execute(
'VerifyingPaymaster',
{
from,
value: await ethers.utils.parseEther('100'),
log: true,
gasLimit: 6e6,
},
'deposit'
);
console.log('Done!');
};

Expand Down
52 changes: 26 additions & 26 deletions deployments/amoy/VerifyingPaymaster.json

Large diffs are not rendered by default.

285 changes: 285 additions & 0 deletions deployments/amoy/solcInputs/59f95187e8259e6af2142e5284338606.json

Large diffs are not rendered by default.

Loading

0 comments on commit 579d6c0

Please sign in to comment.