Giter Site home page Giter Site logo

eos-client's Introduction

使用 FIBOS 客户端快速做一个 EOS RPC 节点

使用镜像快速下载区块数据

EOS全节点区块数据快速同步服务

注: 节点部署在 AWS EC2 上使用下载体验更佳!

快速安装 FIBOS

curl -s https://fibos.io/download/installer.sh | sh

更新 P2P 节点信息

fibos p2p.js

EOS 的 p2p-peer-address 可以从这里获取: http://eosnetworkmonitor.io/#

同步节点代码

const fibos = require("fibos");
const p2p = require("./p2p.json");

if (!p2p.length) {
	console.warn("p2p-peer-address is empty!\nPlease Run: fibos p2p.js");
	process.exit();
}

fibos.config_dir = "./data";
fibos.data_dir = "./data";
fibos.load("http", {
	"http-server-address": "0.0.0.0:8870",
	"access-control-allow-origin": "*",
	"http-validate-host": false,
	"verbose-http-errors": true
});

fibos.load("net", {
	"p2p-peer-address": p2p
});

fibos.load("producer");
fibos.load("chain", {
	"contracts-console": true
});

fibos.load("chain_api");

fibos.start();

开始同步

fibos index.js

eos-client's People

Contributors

anlebcoder avatar

Watchers

James Cloos avatar  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.