Commit Graph

31 Commits

Author SHA1 Message Date
billettc 8e6e3c27d7 fix package import after moving program related stuff to folder programs 2020-11-24 10:01:49 -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
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
Julien Cassis 84b120e06f remove struc dependancy 2020-11-13 09:52:46 -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
Julien Cassis 60094b7456 remove slnc dependancy 2020-11-11 08:21:44 -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
Julien Cassis fc10df5cb9 moves slnc cmds to solana-go 2020-11-06 16:31:18 -05:00
Alexandre Bourget e01bec9eae Decode orders. 2020-11-06 16:13:32 -05:00
billettc 28f43ef6c1 replace new rpc client by alex one 2020-11-06 11:20:48 -05:00
billettc 4b1dd0f6be add rpc client and call to getAccountInfo 2020-11-06 10:40:28 -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