Commit Graph

28 Commits

Author SHA1 Message Date
Slavomir 9041cb5bc4 Add more tests 2021-07-20 17:29:06 +02:00
Slavomir 07b008f14e Use sync.Pool for zstd encoders/decoders 2021-07-20 13:02:31 +02:00
Slavomir a1ab3ba4a4 Don't try to decode empty data 2021-07-14 19:36:29 +02:00
Slavomir 4add6ee371 Refactor Account data decoding/encoding 2021-07-11 23:49:42 +02:00
Slavomir ec2eda79c5 Add more tests; refactor account data encoding/decoding 2021-07-10 17:51:19 +02:00
Slavomir 544f6d10e6 More tests and fixes 2021-07-10 14:44:20 +02:00
Slavomir c1ec3144b7 Add MustSignatureFromBase58 2021-07-01 22:00:09 +02:00
Slavomir f4e24044c0 Add solana.Signature{}.IsZero() 2021-07-01 21:38:20 +02:00
Slavomir bb029cb30c Add Hash parsing utility funcs 2021-07-01 15:10:25 +02:00
Slavomir 170752e3c5 RPC: add getBlock 2021-06-30 23:35:30 +02:00
Matthieu Vachon 6866ad89e2 Refactored differ to use go-cmp instead of custom logic and make the API much nicer to use
Still a lot of cases that will not `.Match(...)` correctly but the first one for `EventQueue`
works.
2020-12-16 14:44:27 -05:00
billettc 038648af29 wip register token. fail to send trx over rpc ... 2020-11-25 16:09:55 -05:00
billettc d8637798c4 fix MustPublicKeyFromBase58 that was not panicing 2020-11-24 14:43:10 -05:00
Julien Cassis 594775726a clean up serum types 2020-11-20 13:15:27 -05:00
Julien Cassis e22f933858 Added dex instruction decoding 2020-11-13 12:55:14 -05:00
billettc 6a8456717b replace struc by dfuse bin. Some test are failing 2020-11-12 17:57:43 -05:00
Alexandre Bourget 213c43e79e Added license ot files 2020-11-09 13:09:50 -05:00
Alexandre Bourget 0002874950 Added hard-coded token mints.
Shuffle around the commands on `slnc`.
Better decoding, better reading of data.
Simplified API
2020-11-09 12:59:24 -05:00
Julien Cassis e0cb398213 Added uint128 support 2020-11-07 21:30:28 -05:00
Alexandre Bourget 435368f98f SECURITY notice 2020-08-21 12:49:46 -04:00
Alexandre Bourget b6411edd84 First dent in Variants 2020-08-19 11:28:49 -04:00
Alexandre Bourget b56360c762 First draft of `spl` and `system` commands in the CLI.
Draft of Instructions, and a few System instructions. Not yet packed.
2020-08-14 18:29:24 -04:00
Alexandre Bourget 95ab89e873 Implemented ShortVec.
Pack and unpack a Token `Account` struct too.
2020-08-14 17:03:31 -04:00
Alexandre Bourget 1b77746a25 Partly implemented ShortVec 2020-08-05 15:25:43 -04:00
Alexandre Bourget e282266159 Added get confirmed block, recent-blockhash, get slot. First stab
at transactions.  Unpacks for the most part, an incoming JSON
from the RPC.
2020-07-31 17:54:41 -04:00
Alexandre Bourget 73b00349c1 Added getBalance. Decode data that you understand, hard-coded for now. 2020-07-31 17:07:54 -04:00
Alexandre Bourget a6f173be91 First draft of a `slnc` client, similar to `eosc`.
First draft of the `token` state reading/writing implementation.
2020-07-31 16:34:44 -04:00
Alexandre Bourget abb3e991fa First draft of a Solana client. 2020-07-31 12:17:36 -04:00