Create Your First Account
Generate a Seed
import * as KeetaNet from "@keetanetwork/keetanet-client";
async function main() {
// Generate a secure random seed
const seed = KeetaNet.lib.Account.generateRandomSeed({ asString: true });
console.log("Generated seed:", seed);
// Create an account using the generated seed
const account = KeetaNet.lib.Account.fromSeed(seed, 0);
// Connect to the Keeta test network with this account
const userClient = KeetaNet.UserClient.fromNetwork("test", account);
console.log("Public key:", account.publicKeyString.toString());
}
main().catch(console.error);How it works
Receive a token
Option 1: Public Address from a Newly Created Account
Option 2: Public Address from an Existing Account
Generate a QR code
Last updated
