Commit Graph

5 Commits

Author SHA1 Message Date
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 d0cb5433d3 Can't decode binary transactions yet.. because of the `short_vec` encoding,
I think `struc` won't be able to do that dynamically, we'll need a small
decoder, mostly for Transcations.. and perhaps if other people use that
in their contracts.
2020-07-31 18:06:41 -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