1

Create a wallet

curl --request POST \
    --url https://staging.crossmint.com/api/2022-06-09/wallets \
    --header 'Content-Type: application/json' \
    --header 'X-API-KEY: <x-api-key>' \
    --data '{
        "type": "evm-smart-wallet",
        "config": {
            "adminSigner": {
            "type": "evm-keypair",
            "address": "0x1234567890123456789012345678901234567890"
            }
        },
        "linkedUser": "email:user@example.com"
    }'

Launching in Production

For production, the steps are almost identical, but some changes are required:

  1. Create a developer account on the production console
  2. Create a production client API key on the API Keys page with the API scopes users.create, users.read, wallets.read, wallets.create, wallets:transactions.create, wallets:transactions.sign, wallets:balance.read, wallets.fund
  3. Replace your test API key with the production key

Learn More