emerald-rs 0.21.1

Ethereum Classic secure account management core libary
Documentation

NOTE:

An offline wallet, also known as cold storage, provides the highest level of security for savings.
It involves storing a wallet in a secured place that is not connected to the network (air-gapped).
When done properly, it can offer a very good protection against computer vulnerabilities.

Distributed as a Rust crate or can be embedded via foreign function interface (FFI).

For minimalistic CLI tool refer to Emerald-cli, or if you looking for a fully-featured UI online wallet, take a look at our Ethereum Classic Emerald Wallet

Developed by ETCDEV Team

Features

General

  • Accounts
  • Transactions signing
  • Smart contracts (ABI)
  • C interface (ABI)

Installation

Ensure you have these dependencies installed:

openssl pkgconfig rustc cargo clang

cargo and rustc should be at least versions 0.18 and 1.17 respectively.

Should your distribution or operating system not have a recent cargo and rustc binaries, you can install them from: http://doc.crates.io/

$ cargo install emerald-cli

If you use Nix you may execute the nix-shell command in your cloned repository and all dependencies will be made available in your environment automatically.

Examples

extern crate emerald_core as emerald;

use std::net::SocketAddr;

fn main() {
    let addr = "127.0.0.1:1920"
        .parse::<SocketAddr>()
        .expect("Expect to parse address");

    emerald::start(&addr, None, None);
}

References

JSON-RPC API

Contact

Chat with us via Gitter

License

Apache 2.0