defichaindart library

Properties

bitcoin NetworkType
final
BLANK_OUTPUT Output
final
defichain NetworkType
final
defichain_regtest NetworkType
final
defichain_testnet NetworkType
final
EMPTY_SCRIPT Uint8List
final
EMPTY_WITNESS List<Uint8List>
final
ONE List<int>
final
testnet NetworkType
final
VALUE_UINT64_MAX List<int>
final
ZERO List<int>
final

Functions

buildByType(String? type, Input input, bool allowIncomplete, NetworkType? network) PaymentData?
entropyToMnemonic(String entropyString) String
generateMnemonic({int strength = 128, RandomBytes randomBytes = _randomBytes}) String
isCoinbaseHash(Uint8List buffer) bool
isValidOutput(Uint8List data) bool
magicHash(String message, [NetworkType? network]) Uint8List
mnemonicToEntropy(dynamic mnemonic) String
mnemonicToSeed(String mnemonic, {String passphrase = ""}) Uint8List
mnemonicToSeedHex(String mnemonic, {String passphrase = ""}) String
pubkeyToOutputScript(Uint8List? pubkey, [NetworkType? nw]) Uint8List?
validateMnemonic(String mnemonic) bool
varSliceSize(Uint8List someScript) int

Typedefs

RandomBytes = Uint8List Function(int size)