1
Install the SDK
Run the following command to install the SDK:
2
Create a treasury wallet
See all supported chains here.Key Points:
index.ts
- The
aliasfield is set to"treasury"to identify this as your treasury wallet - The
ownerfield is omitted (left empty) since this wallet is not tied to a specific user - Use the wallet address to receive stablecoins and manage your treasury
3
Check treasury wallet balance
Retrieve the stablecoin balance of your treasury wallet:
index.ts
Launching in Production
Enterprise feature. Contact us for access.
- Create a developer account on the production console
- Create a production client 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
Learn More
Check Balances
Check the balance of a wallet.
Funding the Wallet
Learn how to fund your treasury wallet.
Making Payments
Make payments from your treasury.

