Crates.io | terra-rust |
lib.rs | terra-rust |
version | 1.1.8 |
source | src |
created_at | 2021-08-18 18:05:57.625984 |
updated_at | 2022-03-07 22:22:50.985947 |
description | CLI for Terra blockchain network, that is multi-platform |
homepage | https://github.com/PFC-Validator/terra-rust/ |
repository | https://github.com/PFC-Validator/terra-rust/ |
max_upload_size | |
id | 439172 |
size | 195,207 |
This is a WIP.
No security audit has been performed.
There are currently 5 interesting things
The API is currently using random numbers via
let mut rng = rand::thread_rng();
This may steal your money.
This is not investment advice.
Do you own research
I built this for 2 main reasons.
some things are used often and repeatedly, so we decided to use environment variables.
TERRARUST_LCD sets the LCD URL. e.g. https://tequila-lcd.terra.dev
TERRARUST_CHAIN set the CHAIN to use e.g. tequila-0004
TERRARUST_SEED_PHRASE the passphrase used in combination with the 24-words to generate the private key
TERRARUST_WALLET the default wallet to use
TERRARUST_GAS_PRICES the gas price to use. e.g. 50ukrw
TERRARUST_GAS_ADJUSTMENT the gas adjustment multiplier to use
TERRARUST_CONTRACT (for smart contract development) your contract to migrate you can also set these in a file called '.env' if you prefer
on first install you may want to:
$ terra-rust wallet create default
$ terra-rust --help
If you think this was useful, feel free to delegate to the PFC validator. It will help defray the costs.
PFC - Terra/Luna is Pretty Freaking Cool right... feel free to drop me a line
Feel free to submit patches/comments/Pull Requests.
We have also set up a Discord channel to discuss this, and other PFC things