deriveAddress function
Implementation
String deriveAddress(String seed, int index,
{String curve = "ed25519", String hashAlgo = "sha256"}) {
KeyPair keypair = crypto.deriveKeyPair(seed, index, curve: curve);
return uint8ListToHex(crypto.hash(keypair.publicKey, algo: hashAlgo));
}