Commit Graph

39 Commits

Author SHA1 Message Date
Slavomir 6f8e49d78b Clean up go.mod 2021-07-10 23:23:14 +02:00
Slavomir ebda52ff67 Run go mod tidy 2021-06-30 23:39:23 +02:00
Slavomir 781a627a0c RPC/getAccountInfo: make encoding and commitment optional 2021-06-30 21:14:04 +02:00
Slavomir 35442d1c5c Add and ignore rpc/debug-utils.go 2021-06-30 21:04:40 +02:00
Slavomir f9a70e2b21 go mod tidy 2021-06-29 16:49:37 +02:00
Julien Cassis 176c084277 Bumped binary lib 2021-02-15 21:50:33 -05:00
Julien Cassis 7405c0c399 Fix order ID 2021-02-15 13:08:45 -05:00
Julien Cassis a56b6892bb bumped binary, fix uint128 Little endian decoded 2021-01-25 18:45:46 -05:00
Julien Cassis 38880c3785 serum: added custom decoder for request queue and event queue 2021-01-22 13:41:28 -05:00
billettc cf6b272245 wip `bin:"sliceoffsetof` on event queue events list 2021-01-19 14:02:02 -05:00
Matthieu Vachon 2c248b4b00 Refactoring around Transaction, fixed all tests, skip WS tests for now 2020-12-16 15:34:07 -05: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 58bade271a added `token` program structs and decoding code 2020-11-23 11:12:02 -05:00
billettc 5fa02f1541 New text decoder
New decode use into get transactions
2020-11-20 14:24:07 -05:00
billettc 2f2a32f497 bump binary to fix instruction decoding 2020-11-17 15:18:39 -05:00
Julien Cassis bba400d165 added account keys for serum 2020-11-17 13:27:57 -05:00
billettc 037c9c5803 added Decode and DecodeFromBase64 func to Event 2020-11-17 08:24:59 -05:00
billettc b18ae61fda now able to decode EvenQueues 2020-11-17 07:14:55 -05:00
Julien Cassis e22f933858 Added dex instruction decoding 2020-11-13 12:55:14 -05:00
billettc bbcd748c32 all test are passing 2020-11-13 08:39:04 -05:00
billettc c0ad8c7d66 Merge branch 'master' of github.com:dfuse-io/solana-go
# Conflicts:
#	go.sum
#	rpc/types.go
2020-11-12 17:59:45 -05:00
billettc 6a8456717b replace struc by dfuse bin. Some test are failing 2020-11-12 17:57:43 -05:00
Julien Cassis 37d477eadf Added parsed transaction support 2020-11-11 14:39:57 -05:00
billettc 5f67ae0ec1 serving static stuff 2020-11-10 08:48:24 -05:00
billettc 86727110c5 serving graphql endpoint. still need to serve static stuff 2020-11-10 08:26:54 -05:00
billettc b768a16047 some ws client refactoring 2020-11-09 13:10:17 -05:00
Julien Cassis c7dac4508d Added rice box market 2020-11-09 10:44:50 -05:00
Julien Cassis 4c73617d79 properly decode serum price and quantity 2020-11-09 10:03:33 -05:00
billettc 3f125ff9c0 fix ws response decoding 2020-11-09 09:57:03 -05:00
billettc 6d20a206b2 wip: working program subscription 2020-11-09 08:53:09 -05:00
billettc c5ca166c30 move slnc under cmd package 2020-11-09 08:00:35 -05:00
Julien Cassis 889b7f66e9 cleaned up readme and spl mint 2020-11-06 20:03:49 -05:00
Alexandre Bourget 708f8646c6 Start printing the orderbook. 2020-11-06 17:04:39 -05:00
billettc 28f43ef6c1 replace new rpc client by alex one 2020-11-06 11:20:48 -05:00
Matthieu Vachon 948d834b8e Tried to make struc work with variant, but failed
First problem, maybe due to embedding, the library does not correctly see that
`BaseVariant` implements the `struc.Custom` (https://github.com/lunixbochs/struc/blob/master/struc.go#L54).
Even when implementing directly on the type (`system.Instruction`), the library does not
see it anyway.

But even if that would work, I don't think it will possible to make it work. The library
pre-allocate an array using the `Size` instruction. In your case, without serializing,
we don't know in advance without actually packing what will be the final packing size.

I'm my opinion that we should go back to our custom encoding/decoding code that we had
in eos-go, probably even extracting it (the base work) and re-use it.
2020-08-19 13:21:32 -04:00
Alexandre Bourget b6411edd84 First dent in Variants 2020-08-19 11:28:49 -04:00
Alexandre Bourget efa3cf9acf Purge old deps 2020-08-14 17:46:31 -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