docs.rs failed to build terra-rust-api-0.3.5
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
terra-rust-api-1.2.20
Terra Rust API
A rust API for Terrad's LCD system.
Warning
This is a WIP.
No security audit has been performed.
Randomness
The API is currently using random numbers via
let mut rng = rand::thread_rng();
Disclaimer
This may steal your money.
This is not investment advice.
Do your own research
Help ?
There is a CLI that uses this, which may be helpful.
We have also set up a Discord channel to discuss this, and other PFC things
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
An Example
use ;
use ;
use MsgSend;
use AuthAccountResult;
// set up the LCD client
let gas_opts = create_with_gas_estimate;
let t = lcd_client.await?;
// generate a private key
let secp = new;
let from_key = from_words;
let from_public_key = from_key.public_key;
// generate the message SEND 1000 uluna from your private key to someone else
let coin: Coin = parse?.unwrap;
let from_account = from_public_key.account?;
let send: MsgSend = create;
// generate the transaction & calc fees
let messages = vec!;
// and submit the message(s) to the chain
let resp = terra.submit_transaction_sync
.await?;
println!
Docs
- API Documentation
- see Change log for more detailed change summaries