feat: support user-supplied Token programs

This commit is contained in:
Michael Vines
2018-10-18 09:28:21 -07:00
parent a9fc62d891
commit 00fd0fc435
3 changed files with 33 additions and 25 deletions

View File

@ -119,7 +119,7 @@ declare module '@solana/web3.js' {
declare type TokenAndPublicKey = [Token, PublicKey];
declare export class Token {
static programId: PublicKey;
programId: PublicKey;
token: PublicKey;
static createNewToken(