@faremeter/wallet-crossmint
v0.22.0
Published
Crossmint custodial smart wallet integration for Faremeter payments
Readme
@faremeter/wallet-crossmint
Crossmint custodial wallet integration for Faremeter payments on Solana.
Installation
pnpm install @faremeter/wallet-crossmintFeatures
- Custodial wallet support
- No private key management required
- Crossmint API integration
- Solana network support
API Reference
Functions
createCrossmintWallet
Creates a Crossmint custodial wallet for Solana.
Uses the Crossmint Wallets SDK to sign and send transactions via API key authentication.
| Function | Type |
| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| createCrossmintWallet | (network: string, crossmintApiKey: string, crossmintWalletAddress: string) => Promise<{ network: string; publicKey: Address; sendTransaction: (tx: Readonly<{ messageBytes: TransactionMessageBytes; signatures: SignaturesMap; }>) => Promise<...>; }> |
Parameters:
network: - Solana network identifier.crossmintApiKey: - Crossmint API key for authentication.crossmintWalletAddress: - Address of the Crossmint-managed wallet.
Returns:
A wallet object that can send kit-native Solana transactions.
Related Packages
- @faremeter/payment-solana - Solana payment handler
- @faremeter/fetch - Client fetch wrapper
License
LGPL-3.0-only
