POST https://app.dynamicauth.com/api/v0/environments/{environmentId}/embeddedWallets/farcaster
and it takes in a JSON object with the following properties:
chains
property is an array of the chains you want to support with the wallet. Currently, the supported chains are EVM
and SOL
.
The email
property is the email address of the user you want to generate the wallet for, it must be a valid email.
The fid
property is the Farcaster user ID for whom you want to use to generate the wallet. You can find the FID for a user from within the Warpcast profile tab by clicking on the three dots and choosing “about”.
key
should be a Dynamic.xyz API key. You can get one from the
following page: https://app.dynamic.xyz/dashboard/developer/api (you can find
your ENVIRONMENT_ID on the same page)createEmbeddedWallet
function on submit. it will look like this: