permissionless
package, and viem
. Install these packages with the following command:privy
client and use the create
method from Privy’s SDK to create a wallet. If you already have a wallet you wish to use, you can skip this step.viem
LocalAccount
for the walletLocalAccount
object representing the wallet. Use the createViemAccount
method from Privy’s SDK.permissionless
to create a smart wallet with the wallet as the signer. Learn more about creating smart wallet accounts in the permissionless
docs.permissonless
docs.