Skip to main content
Faremeter API
Faremeter API / wallet-crossmint/src

wallet-crossmint/src

Functions

createCrossmintWallet()

createCrossmintWallet(network, crossmintApiKey, crossmintWalletAddress): Promise<{ network: string; publicKey: PublicKey; sendTransaction: (tx) => Promise<string>; }>
Defined in: packages/wallet-crossmint/src/index.ts:19 Creates a Crossmint custodial wallet for Solana. Uses the Crossmint Wallets SDK to sign and send transactions via API key authentication.

Parameters

network
string Solana network identifier.
crossmintApiKey
string Crossmint API key for authentication.
crossmintWalletAddress
string Address of the Crossmint-managed wallet.

Returns

Promise<{ network: string; publicKey: PublicKey; sendTransaction: (tx) => Promise<string>; }> A wallet object that can send Solana transactions.