/emerald-rs

Secure account management for Ethereum Classic

Primary LanguageRustApache License 2.0Apache-2.0

Emerald-rs Build Status Build Status Crates License

Secure account management for Ethereum Classic.

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 command line tool (CLI), as a Rust crate or can be embedded via foreign function interface (FFI).

If you are looking for 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

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.

Usage

How to run emerald (by default on port '1920'):

$ emerald server

For more details look at usage.

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);
}

For more see examples folder.

References

License

Apache 2.0