| Crates.io | gfx-solana-utils |
| lib.rs | gfx-solana-utils |
| version | 0.3.1 |
| created_at | 2021-11-16 20:50:52.045824+00 |
| updated_at | 2021-12-22 09:34:40.810562+00 |
| description | Utility functions/traits for calling Solana smart contracts. |
| homepage | |
| repository | https://github.com/GooseFX1/gfx-solana-utils |
| max_upload_size | |
| id | 482981 |
| size | 15,412 |
This repo contains some utility functions/traits for calling Solana smart contracts.
Currently, it contains the following mods:
anchor_extensions: AnchorClientErrorExt for easily extracting the error code and converting it to Anchor error, GetProgramAccounts for the missing get_program_accounts RPC method on Anchor.
decimals: DecimalApply for dealing with SPL token decimal.
testing: A bunch of functions for integration testing the Solana contract. e.g. create a throw-away account, create a mint etc.