Commit Graph

279 Commits

Author SHA1 Message Date
Michael Vines ab2d6c9ede test: add .toString() test 2020-06-14 21:57:04 -07:00
Michael Vines 95efc7c3b0 fix: support creating a PublicKey from a base58 string 2020-06-14 21:57:04 -07:00
Michael Vines aa1d6ba4d4 fix: zero pad correctly 2020-06-14 21:57:04 -07:00
Michael Vines ca6965f8c2 feat: wrap public key in a class 2020-06-14 21:57:04 -07:00
Michael Vines 70fb01ddd6 test: update test to match AccountInfo userdata refactor 2020-06-14 21:57:04 -07:00
Michael Vines a3aecba1d0 Improve rpc result validation 2020-06-14 21:57:04 -07:00
Michael Vines 92af6e3341 Add getSignatureStatus() 2020-06-14 21:57:04 -07:00
Michael Vines 8ccbe888d3 Add breadcrumbs to some other available endpoints 2020-06-14 21:57:04 -07:00
Michael Vines e3703cec29 Add BudgetProgram.payOnBoth 2020-06-14 21:57:04 -07:00
Michael Vines 63382b7e6b Add basic system-program tests 2020-06-14 21:57:04 -07:00
Michael Vines ffbc23684c Improve budget-program tests 2020-06-14 21:57:04 -07:00
Michael Vines 4a484158f3 s/contract_id/program_id/g 2020-06-14 21:57:04 -07:00
Michael Vines 7148b0f7d8 Add getAccountInfo 2020-06-14 21:57:04 -07:00
Michael Vines d009e7e91b s/contract/program/ 2020-06-14 21:57:04 -07:00
Michael Vines a96ab72e8e Add support for built-in contracts 2020-06-14 21:57:04 -07:00
Michael Vines 7dad281f69 Create TransferTokensTransaction class 2020-06-14 21:57:04 -07:00
Michael Vines fa5f3d81fd Update airdrop return type 2020-06-14 21:57:04 -07:00
Michael Vines ad5390bbae Switch testnet url 2020-06-14 21:57:04 -07:00
Michael Vines 29148ef898 Add preliminary sendTokens() implementation 2020-06-14 21:57:04 -07:00
Michael Vines 0aa5d2c71a Add a couple of negative tests 2020-06-14 21:57:04 -07:00
Michael Vines 9da3188a2d eslint: Suppress 'JestMockFn' is not defined 2020-06-14 21:57:04 -07:00
Michael Vines 92e602bd87 Mock Connection tests 2020-06-14 21:57:04 -07:00
Michael Vines 41a658c336 Add most of sendTokens() implementation 2020-06-14 21:57:04 -07:00
Michael Vines 392672a5a7 Implement requestAirdrop 2020-06-14 21:57:04 -07:00
Michael Vines 4df189513e Add Connection class 2020-06-14 21:57:04 -07:00
Michael Vines 79ab826678 Lint tests 2020-06-14 21:57:04 -07:00
Michael Vines 96f8a8620d Activate flow 2020-06-14 21:57:04 -07:00
Michael Vines 5a0206bcfe Add Account class 2020-06-14 21:57:04 -07:00
Michael Vines 7e109f22c2 Project boilerplate from eunikitin/modern-package-boilerplate 2020-06-14 21:57:04 -07:00