Coder Social home page Coder Social logo

sekmet / edgeware-node Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hicommonwealth/edgeware-node

0.0 1.0 0.0 52.38 MB

Substrate node implementing Edgeware

Home Page: https://edgewa.re

License: GNU General Public License v3.0

Rust 95.66% Shell 2.35% Dockerfile 0.39% HTML 0.38% JavaScript 1.22%

edgeware-node's Introduction

edgeware-node

Edgeware is an:

  • On-chain Governed,
  • Proof-of-Stake (PoS) Blockchain
  • with a WASM Runtime.

For node operators, validators, and other users

A getting started guide can be found at our Github Wiki, including guides for running a node, validating, and setting up basic monitoring tools to keep your node online.

For more details about the project, visit the Edgeware website, or check out the blog or Twitter. Finally, for discussion and governance, campaigns and proposals can be found on Commonwealth.

For developers

Quickstart

If your device is clean (such as a fresh cloud VM) you can use this script for an automated setup:

./setup.sh

Otherwise, proceed with the full instructions below.

Manual setup

Install system dependencies:

Linux:

sudo apt install cmake pkg-config libssl-dev git clang libclang-dev

Mac:

brew install cmake pkg-config openssl git llvm

Install Edgeware dependencies:

curl https://sh.rustup.rs -sSf | sh
rustup update stable
rustup update nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
cargo install --git https://github.com/alexcrichton/wasm-gc

Build Edgeware:

cargo build --release

Ensure you have a fresh start if updating from another version:

./scripts/purge-chain.sh <NETWORK_NAME_ID>

To start up the Edgeware node and connect to the Mainnet, run:

./target/release/edgeware --chain=edgeware --name <INSERT_NAME> --wasm-execution Compiled

To start up the Edgeware node and connect to the Beresheet testnet, run:

./target/release/edgeware --chain=beresheet --name <INSERT_NAME>

Docker

To make it easier run Edgeware node on OSX, we have script that will use right .dockerignore.remotecargo, use binary we have compiled in /target/release, build image and then run it. You can read more about Remote Cargo, what we are doing to use this script.

./build_and_run_devnet.sh

It will on background create symlink from .dockerignore.remotecargo to .dockerignore

If you previously build image cwl/edgeware, you can use docker-compose as well

docker-compose up edgeware

You will have exposed ports 9933,9944 and 30333.

edgeware-node's People

Contributors

drewstone avatar jnaviask avatar raykyri avatar apopiak avatar andresilva avatar dillchen avatar yangwao avatar rchen8 avatar thomivy avatar carumusan avatar lcgogo avatar remzrn avatar harukama avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.