flutter_nano_core 1.1.4 copy "flutter_nano_core: ^1.1.4" to clipboard
flutter_nano_core: ^1.1.4 copied to clipboard

discontinued
outdated

A plugin implementing cryptography tools used by the Nano cryptocurrency.

flutter_nano_core #

Low-level functions for NANO/BANANO written in DART. Similar structure to jnano-commons for Java

Examples:

# Generate a random seed
String randomSeed = NanoSeeds.generateSeed();
# Validate a seed
bool seedIsValid = NanoSeeds.isValid(randomSeed);

# Create private key from seed at index 0
String privateKey = NanoKeys.seedToPrivate(seed, 0);
# Create public key from private key
String publicKey = NanoKeys.createPublicKey(privateKey);
# Create account from public get (nano_/ban_ address)
String address = NanoAccounts.createAccount(NanoAccountType.NANO, publicKey);

# Compute state block hash
computeStateHash(int accountType, String account, String previous, String representative, BigInt balance, String link);

# Sign a block
NanoSignatures.signBlock(hash, privateKey);
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A plugin implementing cryptography tools used by the Nano cryptocurrency.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

bip39, convert, fixnum, flutter, hex, pointycastle

More

Packages that depend on flutter_nano_core