Install dependencies:
yarn installRun the project:
yarn devThe script runs on goerli by default, but requires a thirdweb API key.
paste your api key in your .env file:
THIRDWEB_API_KEY={{your_api_key}}The script runs on goerli by default, you can change it in index.ts
const chain = Goerli; // can also be: Mumbai, BaseGoerli, OptimismGoerli...The script has default factories out of the box for testnets, but you can deploy your own on the thirdweb dashboard. You can also bring your own 4337 compatible factory, and adjust the the SDK to the specifics of the contract.
Full documentation at: https://portal.thirdweb.com/wallet/smart-wallet