Creating a new Address

This is just a simple way to create a new wallet.

import {  PhantasmaKeys } from 'phantasma-ts';

const wallet = PhantasmaKeys.generate(); // This will generate a new wallet / WIF.
const walletAddres = wallet.Address;

Last updated