GithubHelp home page GithubHelp logo

mattaudesse / conflux-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from conflux-chain/conflux-docker

0.0 1.0 0.0 10.25 MB

Dockerfile 12.05% Shell 4.98% JavaScript 64.87% Makefile 14.79% Slim 3.31%

conflux-docker's Introduction

confluxchain/conflux-rust

Conflux-rust is a Rust implementation of the Conflux protocol. This is Conflux-rust's docker image.

Tags

Current tags

Warning: These tags image's default.toml will config a independent chain with 10 genesis accounts (each with 1000 CFX) and all unlocked, you can use it as local Dapp develop environment. If you want run a mainnet or testnet node, you can use this image's x.x.x-mainnet or x.x.x-testnet tag.

Note: the unlock process maybe need one or two minutes.

How to run

Step 1 pull image from docker hub

$ docker pull confluxchain/conflux-rust

Step 2 run the image

Quick run a local dev node

$ docker run -p 12537:12537 --rm --name cfx-node confluxchain/conflux-rust

Run with your own config file and save data to host machine

You can attach an folder from local machine to container, which folder should contain conflux config files. You can download a zip file from Conflux-rust release page, the unziped folder will include a tethys.toml or testnet.toml then you can use this folder as Conflux-rust run context folder. When conflux client runs up, chain data will also save to this folder。

$ docker run -p 12537:12537 -v /path-to-your-config-folder:/root/run --name cfx-node confluxchain/conflux-rust

This repository's fullnode-configs folder also include mainnet and testnet's config file.

Docs

  1. Official doc - How to install and run conflux-rust
  2. How to run an Independent Chain
  3. Window 10 Conflux Studio docker setup introduction (Chinese doc)

Note

  1. When use docker you can't use jsonrpc_local_tcp_port and jsonrpc_local_http_port, but in dev mode you can access local RPC on jsonrpc_http_port
  2. Local dev node will not connect to testnet or mainnet, it is a independent chain

conflux-docker's People

Contributors

liuis avatar pana avatar resodo avatar

Watchers

 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.