Commit Graph

467 Commits

Author SHA1 Message Date
Slavomir 136a3c3479 Add DurationSeconds 2021-10-06 23:26:35 +02:00
Slavomir c4bcb52525 JSON RPC performance improvements
- Use json.RawMessage for RPCResponse{}.Result field.
- Add CallWithCallback that exposes raw http request and response.
- Expose raw RPC from the client.
2021-10-06 23:26:08 +02:00
Slavomir 14c56aa7e8 Use better zstd encoder/decoder pools 2021-10-06 23:23:13 +02:00
Slavomir 606ffac5bc Tag v0.5.1 2021-09-21 17:38:28 +02:00
Slavomir 96d168d4d4 Improve transaction creation 2021-09-21 17:33:48 +02:00
Slavomir c632e33ffc Fix README 2021-09-21 17:16:48 +02:00
Slavomir 25cf1bdee4 Improve README 2021-09-21 17:16:20 +02:00
Slavomir 2c26497b44 Upgrade `github.com/gagliardetto/binary` to `v0.4.4` 2021-09-21 17:15:17 +02:00
Slavomir 63abf0eb88 Improve README 2021-09-21 17:14:47 +02:00
Slavomir da14f944d2 Add String() method to UnixTimeSeconds type. 2021-09-19 21:06:52 +02:00
Slavomir c32b4c0e6f Add example with SendAndConfirmTransaction 2021-09-19 14:37:59 +02:00
Slavomir 251a9d245a Add link to https://github.com/gagliardetto/metaplex-go 2021-09-16 22:00:24 +02:00
Slavomir a04fc25979 Add links to programs 2021-09-13 23:22:46 +02:00
Slavomir a1834f3934 Tag v0.5.0 release 2021-09-13 15:14:11 +02:00
Slavomir f48fa055d9 Move UnixTimeSeconds to solana package 2021-09-11 17:09:40 +02:00
Slavomir d91a74a7d5 Upgrade to github.com/gagliardetto/binary@v0.4.3 2021-09-11 00:13:11 +02:00
Slavomir 5964f26fd3 AccountMetaSlice.GetAccounts() : Skip nil accounts 2021-09-10 18:54:08 +02:00
Slavomir d18ccab37f Associated token account: update comments 2021-09-10 17:17:15 +02:00
Slavomir f1dd807654 Add associated token account program 2021-09-10 17:13:46 +02:00
Slavomir b91c82a3c2 Add generic instruction with creator 2021-09-10 15:00:41 +02:00
Slavomir 67166140d7 Tag v0.4.5 2021-09-08 17:17:27 +02:00
Slavomir a622d2eb14 Remove unnecessary spew config gymnastics 2021-09-08 17:16:42 +02:00
Slavomir 44d7fe738f jsonrpc: include complete RPC error contents 2021-09-08 17:14:51 +02:00
Slavomir 1eb58364f4 Fix spew.Dump error 2021-09-08 16:53:51 +02:00
Slavomir 43d2eaaa56 README: mark `token` program as implemented. 2021-09-06 18:47:28 +02:00
Slavomir be93bc028a
Merge pull request #5 from gagliardetto/token-2
- Add client for token program.
- Add SendAndConfirmTransaction.
- Improve formatting of parsed transactions.
2021-09-06 19:43:06 +03:00
Slavomir 18f8518a35 Bump version to v0.4.4 2021-09-06 18:36:56 +02:00
Slavomir 611f6cdfaf WS: fix ping/pong 2021-09-06 18:19:12 +02:00
Slavomir ef5ea7ca0f Improve confirmation error 2021-09-06 18:04:17 +02:00
Slavomir 328bcea00d Fix format.Meta 2021-09-06 18:03:13 +02:00
Slavomir b0c07ef8ea Add LocalNet_WS 2021-09-06 18:02:53 +02:00
Slavomir b57a767108 Add SendAndConfirmTransaction 2021-09-06 18:02:45 +02:00
Slavomir b124787015 Improve naming 2021-09-06 17:58:08 +02:00
Slavomir 3d58df10e8 Improve DecodeInstruction error 2021-09-06 16:01:40 +02:00
Slavomir d6cc34649f Fix tree visualizer of transaction 2021-09-06 15:45:03 +02:00
Slavomir d20a34fd6d Tree formatter: align params and accounts 2021-09-06 14:00:09 +02:00
Slavomir 2ac6e1b03f EncodeToTree on Transaction, Message: include lengths 2021-09-06 13:24:02 +02:00
Slavomir 10ca07c7a5 system: improve tree visualization formatting 2021-09-06 13:22:17 +02:00
Slavomir d7eb94b123 Fix display panics and errors 2021-09-05 01:13:45 +02:00
Slavomir 143da1bc65 token: instruction ID type is uint8 2021-09-05 00:25:15 +02:00
Slavomir ab7ee9202a Merge branch 'token' 2021-09-04 21:11:43 +02:00
Slavomir 6f8c2e3c1b Simplify program ID names 2021-09-04 19:01:32 +02:00
Slavomir 34ec1cb535 token: add multisign signers handling 2021-09-04 17:41:00 +02:00
Slavomir ee20853c74 Upgrade token prog code 2021-09-04 16:51:19 +02:00
Slavomir e3feb5237c token: refactor InitializeMultisig, Transfer instructions 2021-09-04 16:13:57 +02:00
Slavomir c366000bd7 Add more tests for AccountMetaSlice.SplitFrom 2021-09-04 15:22:42 +02:00
Slavomir 587f1e6894 Add utility methods to AccountMetaSlice 2021-09-04 15:11:00 +02:00
Slavomir 17d74ecf2c Bump version and specify dependencies in README 2021-09-04 14:15:59 +02:00
Slavomir 28104b6342 Use github.com/gagliardetto/binary 2021-09-04 14:03:55 +02:00
Slavomir 172364e353 Use github.com/gagliardetto/gofuzz@v1.2.2 2021-09-04 13:55:15 +02:00