Configuration
Configuration options and settings for @tetherto/wdk-wallet-spark
Wallet Configuration
const config = {
network: 'MAINNET' // 'MAINNET' or 'REGTEST'
}
const wallet = new WalletManagerSpark(seedPhrase, config)Account Creation
// WalletAccountSpark is created by the WalletManagerSpark
// It does not take configuration parameters directly
const account = await wallet.getAccount(0) // Get account at index 0
