Commit Graph

184 Commits

Author SHA1 Message Date
Michael Vines
41865547ee fix: remove spawn 2020-06-14 21:57:04 -07:00
Michael Vines
564d09fdfe fix: remove unwanted u64 length from raw Transaction bytes, it's RPC API specific 2020-06-14 21:57:04 -07:00
Michael Vines
88abaa3cc9 fix: rename getFinality to getConfirmationTime 2020-06-14 21:57:04 -07:00
Michael Vines
2962eef2c7 fix: add sendAndConfirmRawTransaction() 2020-06-14 21:57:04 -07:00
Michael Vines
ac4bfaad32 feat: add sendRawTransaction() 2020-06-14 21:57:04 -07:00
Michael Vines
fa7e2722d1 fix: support multiple Transaction signatures 2020-06-14 21:57:04 -07:00
Michael Vines
67ccac9418 fix: catch up to account field renaming 2020-06-14 21:57:04 -07:00
Michael Vines
1d6abb17cf refactor: employ prettier 2020-06-14 21:57:04 -07:00
Michael Vines
cbcb774c82 fix: use secure websocket when https JSON RPC endpoint is requested 2020-06-14 21:57:04 -07:00
Michael Vines
452fd1b785 fix: correct default websocket port 2020-06-14 21:57:04 -07:00
Michael Vines
7b1130b5bf fix: import last id failure error message 2020-06-14 21:57:04 -07:00
Michael Vines
e7097340f2 feat: add account change notifications 2020-06-14 21:57:04 -07:00
Michael Vines
90c9df15ef fix: retry transactions on AccountInUse errors 2020-06-14 21:57:04 -07:00
Michael Vines
83d12f50df fix: add lastId caching 2020-06-14 21:57:04 -07:00
Michael Vines
9c8cc0bd24 fix: wait for the next lastId before sending a new transaction 2020-06-14 21:57:04 -07:00
Michael Vines
011a2abd0c fix: catch up to recent upstream changes 2020-06-14 21:57:04 -07:00
Michael Vines
ad2fa3ceaf feat: Add ERC20-like Token 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
935d520ec9 refactor: AccountInfo userdata is now never null 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
4f2f41d25f s/contract_id/program_id 2020-06-14 21:57:04 -07:00
Michael Vines
914c54e071 Docs 2020-06-14 21:57:04 -07:00
Michael Vines
7148b0f7d8 Add getAccountInfo 2020-06-14 21:57:04 -07:00
Michael Vines
7dad281f69 Create TransferTokensTransaction class 2020-06-14 21:57:04 -07:00
Michael Vines
851ca7acc9 Catch up to solana 0.8 Transaction wire format changes 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
29148ef898 Add preliminary sendTokens() implementation 2020-06-14 21:57:04 -07:00
Michael Vines
92e602bd87 Mock Connection tests 2020-06-14 21:57:04 -07:00
Michael Vines
7a618945f6 Add API documentation 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
16ee48b1ad Throw if endpoind is not provided 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