#ffi #blockchain #cold-storage #crypto-wallet #webchain-network

webchain-rs

Webchain Network secure account management core libary

2 releases

Uses old Rust 2015

0.22.1 Apr 7, 2019
0.22.0 Mar 12, 2019

#3 in #cold-storage


Used in webchain-cli

Apache-2.0

215KB
5.5K SLoC

Webchain Vault

Secure account management for Webchain Network

Software License


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 Webchain-cli, or if you looking for a fully-featured UI online wallet, take a look at our Webchain Network Wallet

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.

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

Dependencies

~37–50MB
~836K SLoC