How to use the @waves/waves-transactions.seedUtils.Seed function in @waves/waves-transactions

To help you get started, we’ve selected a few @waves/waves-transactions examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wavesplatform / waveskeeper / src / ui / utils / waves.ts View on Github external
export function addressFromPublicKey(pk: string, byte: string): string {
    return new seedUtils.Seed(pk, byte).address
}
github wavesplatform / waveskeeper / src / ui / components / pages / NewWalet.tsx View on Github external
static getNewWallets(networkCode) {
        const list = [];
        for (let i = 0; i < 5; i++) {
            const seedData = seedUtils.Seed.create();
            const seed = seedData.phrase;
            const address = new seedUtils.Seed(seed, networkCode).address;
            list.push({ seed, address, type: 'seed' });
        }
        return list ;
    }