No security audit has been performed

There are currently 3 interesting things

Terra Rust

This is a WIP.

No security audit has been performed.

There are currently 5 interesting things

  • Terra-Rust A cross-platform CLI tool
  • Terra-Rust-API an API you can integrate into your own code
  • Terra-Rust-Wallet a secure OS agnostic wallet, using keyring
  • Terra-Rust-Cli a collection of helper functions to help get arguments in a common way
  • Terra-exec & Terra-query which make it much simpler to do smart contract development

Terra-Rust to help smart contract development

see Smart Contract Dev Notes

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 you own research

Why?

I built this for 2 main reasons.

  1. There was no easy way for me to get the default terra-cli to work on Windows
  2. I wanted a RUST api to use in other things. The CLI is just cream on top.

Environment Variables

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

Documentation

  • API docs are available here
  • Wallet docs

on first install you may want to:

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

Contribute

Feel free to submit patches/comments/Pull Requests.

We have also set up a Discord channel to discuss this, and other PFC things

Versions

Find the latest versions by id

v1.1.8 - Mar 07, 2022

Release 1.1.8

Major changes include new commands, mainly of use in smart contract development (see Smart-Contract-dev

  • cargo terra for storing/instantiating/migrating contracts
  • terra-exec - exec a smart contract
  • terra-query - query a smart contract

also a new package terra-rust-cli, which should make building new CLIs easier, and produce a standard set of arguments across CLIs.

to install you can simply do cargo install terra-rust.

I've attached the windows versions for people, but the better way is using cargo install

If you think this was useful, feel free to delegate to the PFC validator. It will help defray the costs.

PFC - Terra/Luna is all about the Purple Flying Centaurs right... feel free to drop me a line

v1.1.4 - Feb 01, 2022

new command 'code' to help in smart contract development

  • store code
  • instantiate contracts
  • migrate contracts

What's Changed

Full Changelog: https://github.com/PFC-Validator/terra-rust/compare/v1.0.4...v1.1.4

v1.0.4 - Oct 06, 2021

minor nit with v1.0.3 .. sorry bout that.

This release works with Col5. I believe it runs on M1 & Win32 platforms.

v0.2.0 - Aug 18, 2021

new commands

  • Unjail - unjail your validator
  • Swap - swap tokens (eg.. uKRT to uLuna)
  • Sweep - function to mass swap tokens above a certain threshold

switched to more sane defaults for gas. It now uses 180ukrw and a 1.4 multiplier, which hopefully means 2 less parameters to worry about for most people

v0.1.7 - Aug 12, 2021

command line tool to do basic things on terra blockchain.

simple use case

terra-rust 0.1.7

Information - Updated Jun 22, 2022

Stars: 32
Forks: 9
Issues: 1

This is an example of a Rust server that functions as a remote schema for...

Rust + Hasura Rust server that functions as a Hasura

This is an example of a Rust server that functions as a remote schema for...

Newport Engine is a modular 2D and 3D game engine built in Rust for Rust

It is designed to be easily extendable and easy to use

Newport Engine is a modular 2D and 3D game engine built in Rust for Rust

Newport Engine is a modular 2D and 3D game engine built in Rust for Rust

It is designed to be easily extendable and easy to use

Newport Engine is a modular 2D and 3D game engine built in Rust for Rust

liboqs-rust: Rust bindings for liboqs

Qyantum Safe liboqs rust bindings

liboqs-rust: Rust bindings for liboqs

msgflo-rust: Rust participant support for MsgFlo

Flowhub visual programming IDE

msgflo-rust: Rust participant support for MsgFlo

Trojan-rust is a rust implementation for Trojan protocol that is targeted to circumvent GFW

Trojan protocol that is targeted to circumvent tokio-rs to achieve high performance async io

Trojan-rust is a rust implementation for Trojan protocol that is targeted to circumvent GFW
Actix

1.0K

How to be a full stack Rust Developer

Read Rust the Rust blog posts at Steadylearner

How to be a full stack Rust Developer

Rust library translation (rust-src/rust-std/stdlib/rustlib translation)

This is the place to translate Having a documentation in your native language is essential if you don't speak English, and still enjoyable even if...

Rust library translation (rust-src/rust-std/stdlib/rustlib translation)

False Positive for rust-lang/rust#83583

The deprecation lint proc_macro_derive_resolution_fallback is intended to catch proc macro generated code that refers to items from parent modules that should not be in scope:

False Positive for rust-lang/rust#83583

A CHIP-8 & SuperChip interpreter written in Rust using rust-sdl2

If you're getting compile errors it may be because

A CHIP-8 & SuperChip interpreter written in Rust using rust-sdl2

Rust-Svelte-on-Rust

Starter template for Rocket backend server

Rust-Svelte-on-Rust
Facebook Instagram Twitter GitHub Dribbble
Privacy