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 server wallet. If you already have a server wallet you wish to use, you can skip this step.viem
LocalAccount
for the server walletLocalAccount
object representing the server wallet. Use the createViemAccount
method from Privy’s SDK.permissionless
to create a smart wallet with the server wallet as the signer. Learn more about creating smart wallet accounts in the permissionless
docs.permissonless
docs.