Skip to content

Commit

Permalink
fix: clientId update
Browse files Browse the repository at this point in the history
  • Loading branch information
therealharpaljadeja committed Sep 12, 2023
1 parent 9186fd0 commit 393708e
Show file tree
Hide file tree
Showing 3 changed files with 466 additions and 796 deletions.
8 changes: 4 additions & 4 deletions index.ts
Expand Up @@ -130,8 +130,8 @@ const main = async () => {
});

await localWallet.loadOrCreate({
strategy: "mnemonic",
encryption: false,
strategy: "encryptedJson",
password: "password",
});

const personalWalletAddress = await localWallet.getAddress();
Expand All @@ -143,8 +143,8 @@ const main = async () => {
chain,
gasless: true,
factoryAddress,
thirdwebApiKey,
paymasterAPI: new AllowlistPaymaster(allowList), // The Custom Paymaster API
clientId: "pk-0daa2929bd2c98c87cbe62029fd073e2422e77dac653670c",
// paymasterAPI: new AllowlistPaymaster(allowList), // The Custom Paymaster API
};

// Connect the smart wallet
Expand Down
20 changes: 10 additions & 10 deletions package.json
Expand Up @@ -10,20 +10,16 @@
"author": "",
"license": "ISC",
"dependencies": {
"@account-abstraction/contracts": "^0.6.0",
"@account-abstraction/sdk": "^0.5.0",
"@openzeppelin/contracts": "^4.9.2",
"@thirdweb-dev/chains": "^0.1.11",
"@thirdweb-dev/sdk": "0.0.0-dev-2067f33-20230609035419",
"@thirdweb-dev/wallets": "0.0.0-dev-2067f33-20230609035419",
"@thirdweb-dev/sdk": "^3.10.59",
"@thirdweb-dev/wallets": "^1.1.23",
"dotenv": "^16.0.3",
"ethers": "^5",
"@account-abstraction/contracts": "^0.6.0",
"@openzeppelin/contracts": "^4.9.2"
"ethers": "^5"
},
"devDependencies": {
"@types/node": "^18.11.17",
"ts-node": "^10.9.1",
"typescript": "^4.9.4",
"typechain": "^8.1.0",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.0",
"@nomicfoundation/hardhat-network-helpers": "^1.0.0",
"@nomicfoundation/hardhat-toolbox": "^2.0.2",
Expand All @@ -33,10 +29,14 @@
"@typechain/hardhat": "^6.1.2",
"@types/chai": "^4.2.0",
"@types/mocha": ">=9.1.0",
"@types/node": "^18.11.17",
"chai": "^4.2.0",
"hardhat": "^2.16.1",
"hardhat-celo": "^0.0.4",
"hardhat-gas-reporter": "^1.0.8",
"solidity-coverage": "^0.8.1"
"solidity-coverage": "^0.8.1",
"ts-node": "^10.9.1",
"typechain": "^8.1.0",
"typescript": "^4.9.4"
}
}

0 comments on commit 393708e

Please sign in to comment.