Prerequisites
Before you start
Set up your project and get an API key.
Enterprise feature. Contact us for access.
Create a Treasury Wallet
Create a treasury wallet
See all supported chains here.Key Points:
- The
ownerfield must be set to"COMPANY"for treasury wallets to ensure the wallet appears under Company in the console - The
recoverysigner must be a non-custodial type (external-wallet,passkey, orserver) - The
aliasfield is set to"treasury"to identify this as your treasury wallet - A
serversigner is suitable for low-risk use-cases. For higher-risk use-cases, use anexternal-walletsigner via Cloud KMS
Run the code
Execute your Or compile and run with Node.js:You should see the wallet address printed to the console after successful execution.
index.ts file using one of the following methods:Using ts-node:Verify in the console
After creating your treasury wallet, you can verify it was created correctly in the Crossmint Console:
- Navigate to Wallets in the left sidebar
- Click on the Company tab
- Your treasury wallet should appear in the list with the alias “treasury”
Launching in Production
Enterprise feature. Contact us for access.
- Create a developer account on the production console
- Create a production server API key on the API Keys page with the API scopes
wallets.read,wallets.create,wallets:transactions.create,wallets:transactions.sign,wallets:balance.read,wallets.fund - Replace your test API key with the production key
- Discuss with your Crossmint Customer Success Engineering (CSE) team the best signer configuration for your expected usage, and recovery mechanisms
Next Steps
Check Balances
Check the balance of a wallet.
Funding the Wallet
Learn how to fund your treasury wallet.
Withdrawals
Withdraw stablecoins to your bank account.
Payouts
Send stablecoins to your customers and vendors.

