feat: wrap public key in a class

This commit is contained in:
Michael Vines
2018-09-30 18:42:45 -07:00
parent 2c3208090c
commit ca6965f8c2
15 changed files with 180 additions and 95 deletions

View File

@ -7,4 +7,4 @@ const solanaWeb3 = require('..');
//const solanaWeb3 = require('@solana/web3.js');
const account = new solanaWeb3.Account();
console.log(account.publicKey);
console.log(account.publicKey.toString());