feat: add stake program methods; refactor instruction type handling

This commit is contained in:
Tyera Eulberg
2019-12-23 11:46:49 -07:00
committed by Michael Vines
parent fc77e55920
commit 532b28e96e
16 changed files with 602 additions and 48 deletions

View File

@@ -4,7 +4,7 @@ import * as BufferLayout from 'buffer-layout';
import * as Layout from './layout';
import {PublicKey} from './publickey';
export const VOTE_ACCOUNT_KEY = new PublicKey(
export const VOTE_PROGRAM_ID = new PublicKey(
'Vote111111111111111111111111111111111111111',
);