Skip to main content

FluentWalletBuilder

For the complete documentation index, see llms.txt

@midnight-ntwrk/testkit-js v4.0.4


Methods​

build()​

build(): Promise<WalletFacade>

Returns​

Promise<WalletFacade>


buildWithoutStarting()​

buildWithoutStarting(): Promise<{ keystore: UnshieldedKeystore; seeds: WalletSeeds; wallet: WalletFacade; }>

Returns​

Promise<{ keystore: UnshieldedKeystore; seeds: WalletSeeds; wallet: WalletFacade; }>


withDustOptions()​

withDustOptions(options): FluentWalletBuilder

Parameters​

options​

DustWalletOptions

Returns​

FluentWalletBuilder


withMnemonic()​

withMnemonic(mnemonic): FluentWalletBuilder

Parameters​

mnemonic​

string

Returns​

FluentWalletBuilder


withRandomSeed()​

withRandomSeed(): FluentWalletBuilder

Returns​

FluentWalletBuilder


withSeed()​

withSeed(seed): FluentWalletBuilder

Parameters​

seed​

string

Returns​

FluentWalletBuilder


withTestWallet()​

withTestWallet(): FluentWalletBuilder

Returns​

FluentWalletBuilder


forEnvironment()​

static forEnvironment(envConfig): FluentWalletBuilder

Parameters​

envConfig​

EnvironmentConfiguration

Returns​

FluentWalletBuilder