bootstrapWallet
bootstrapWallet(
solver,conn,opts):Promise<void>
DUST, then the reserve and the offer-sized lots (of the token the maker gives). On the
devnet the NIGHT comes from the faucet; on a network it must be sent to the wallet (the
tNIGHT faucet on Preprod): until it arrives this logs the address every pollMs and
waits. Idempotent: does nothing once lots exist.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
solver |
MakerSolver |
conn |
ChainConnection |
opts |
{ night: bigint; lots: bigint[]; pollMs?: number; log?: (msg, f) => void; } |
opts.night |
bigint |
opts.lots |
bigint[] |
opts.pollMs? |
number |
opts.log? |
(msg, f) => void |
Returns
Section titled “Returns”Promise<void>