Commands:exitExitquitExithelpThishelpInputs,buffer:# Take last result#<n> Take nth previous resultbufferTakebuffervaluesCoins:coinsListknowncoinscoin<coin>Setactivecoin,selectedbyitsIDorsymbolornameKeys:newKeyCreatenewpseudo-random32-bytekey (secret!)pubPri<priKey>Derivepublickeyfromasecretprivatekey (type iscoin-dependent)priPub<pubKey>Deriveprivatekeyfrompublickey:)setMnemonic<word1>...Setcurrentmnemonic,severalwords (secret!)newMnemonic<strength>Createandstoreanewmnemonic,ofstrength (128 --256) (secret!)dumpSeedDumptheseedofthecurrentmnemonic (secret!)dumpMnemonicDumpthecurrentmnemonic (secret!)dumpDPDumpthedefaultderivationpathofthecurrentcoin (ex.: m/84'/0'/0'/0/0)priDP [<derivPath>] Derive a new private key for the coin, from the current mnemonic and given derivation path. If derivation path is missing, the default one is used (see dumpDP).Addresses:addrPub <pubKey> Create <coin> address from public keyaddrPri <priKey> Create <coin> address from private keyaddr <addr> Check string <coin> addressaddrDefault Derive default address, for current coin, fom current mnemonic; see dumpDPaddrDP <derivPath> Derive a new address with the given derivation path (using current coin and mnemonic)Coin-specific methods:tonInitMsg <priKey> Build TON account initialization message.Transformations:hex <inp> Encode given string to hexbase64Encode <inp> Encode given hex data to Base64base64Decode <inp> Decode given Base64 string to hex dataFile methods:fileW <fileName> <data> Write data to a (new) binary file.fileR <fileName> Read data from a binary file.
Examples
Here are various sample usages.
Create a new private key, derive a BTC address from it, write it to a file: