Skip to content

5ire is a layer-1 blockchain ecosystem designed with economic and environmental sustainability at its core and is one of India's fastest-growing unicorns, enabled by a community of people worldwide.

License

Notifications You must be signed in to change notification settings

dung5ire/5ireChain

 
 

Repository files navigation

5ireChain Node

5ireChain is an EVM-compatible sustainability-oriented smart contract platform that focuses on developing a sustainable and for-benefit ecosystem based on the United Nations Sustainable Development Goals (UN SDGs) .To enable this, our goal is to build a computing platform that promotes and advocates these activities to achieve the goals.

5ire is a layer-1 blockchain ecosystem designed with economic and environmental sustainability at its core and is one of India's fastest-growing unicorns, enabled by a community of people worldwide.

This repository hosts the Rust implementation of the 5ireChain node, built upon the Polkadot SDK

Roadmap

This is our roadmap

RoadMap

Running 5ireChain node

Rust Setup

Prior to starting a 5ireChain node, you must set up your development environment with the necessary compiler and tools corresponding to your operating system.

https://docs.substrate.io/install/

Connect to 5ireChain Mainnet

Pull Docker Image

docker pull 5irechain/5ire-node:mainnet

Run docker image with full-node role

docker run -d -p 30333:30333 -p 9944:9944 5irechain/5ire-node:mainnet --no-telemetry --base-path /5ire/data/ --chain /5ire/specs/5ire-mainnet-specRaw.json --bootnodes /ip4/44.229.117.8/tcp/30333/p2p/12D3KooWHZ98etYokeswbKfCbUrgU2U2RjEaH1t1HprVGcLcFcnD --pruning archive --rpc-external --rpc-cors all

Run docker image with validator role

docker run -d -p 30333:30333 -p 9944:9944 5irechain/5ire-node:mainnet --no-telemetry --base-path /5ire/data --chain /5ire/specs/5ire-mainnet-specRaw.json --bootnodes /ip4/44.229.117.8/tcp/30333/p2p/12D3KooWHZ98etYokeswbKfCbUrgU2U2RjEaH1t1HprVGcLcFcnD --validator

Connect to 5ireChain Thunder testnet

Pull Docker Image

docker pull 5irechain/5ire-thunder-node:ga

Run docker image with full-node role

docker run -d -p 30333:30333 -p 9944:9944 5irechain/5ire-thunder-node:ga --no-telemetry --base-path /5ire/data/ --chain /5ire/specs/5ire-thunder-SpecRaw.json --bootnodes /ip4/18.220.218.66/tcp/30333/p2p/12D3KooWA33HomkBqsKNqEbaP3ubXCSxHmqDNNPDf2qPzmiS9FsL --pruning archive --rpc-external --rpc-cors all

Run docker image with validator role

docker run -d -p 30333:30333 -p 9944:9944 5irechain/5ire-thunder-node:ga --no-telemetry --base-path /5ire/data --chain /5ire/specs/5ire-thunder-SpecRaw.json --bootnodes /ip4/18.220.218.66/tcp/30333/p2p/12D3KooWA33HomkBqsKNqEbaP3ubXCSxHmqDNNPDf2qPzmiS9FsL --validator

Connect to 5ireChain Local Network

Build

cargo build --release --features firechain-qa 

Run Alice node as A Validator

./target/release/firechain-node \
--base-path /tmp/alice \
--chain qa-local \
--alice \
--port 30333 \
--rpc-port 9944 \
--node-key 0000000000000000000000000000000000000000000000000000000000000001 \
--validator

Run Bob node as A Validator

./target/release/firechain-node \
--base-path /tmp/bob \
--chain qa-local \
--bob \
--port 30334 \
--rpc-port 9945 \
--validator \
--bootnodes /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp

Connect to 5ireChain Dev

Build

cargo build --release --features firechain-qa 

Run a single dev node

./target/release/firechain-node --chain qa-dev --alice

Prefund famous accounts

These addresses are derived from Substrate's famous mnemonic: bottom drive obey lake curtain smoke basket hold race lonely fit walk. 5ireChain is EVM-compatible chain , so these accounts can be used in Metamask, any web3 tools that supports EVM-compatible chains.

# Alith:
- Address: 0xf24FF3a9CF04c71Dbc94D0b566f7A27B94566cac
- PrivKey: 0x5fb92d6e98884f76de468fa3f6278f8807c48bebc13595d45af5bdc4da702133

# Baltathar:
- Address: 0x3Cd0A705a2DC65e5b1E1205896BaA2be8A07c6e0
- PrivKey: 0x8075991ce870b93a8870eca0c0f91913d12f47948ca0fd25b49c6fa7cdbeee8b

# Charleth:
- Address: 0x798d4Ba9baf0064Ec19eB4F0a1a45785ae9D6DFc
- PrivKey: 0x0b6e18cafb6ed99687ec547bd28139cafdd2bffe70e6b688025de6b445aa5c5b

# Dorothy:
- Address: 0x773539d4Ac0e786233D90A233654ccEE26a613D9
- PrivKey: 0x39539ab1876910bbf3a223d84a29e28f1cb4e2e456503e7e91ed39b2e7223d68

# Ethan:
- Address: 0xFf64d3F6efE2317EE2807d223a0Bdc4c0c49dfDB
- PrivKey: 0x7dce9bc8babb68fec1409be38c8e1a52650206a7ed90ff956ae8a6d15eeaaef4

# Faith:
- Address: 0xC0F0f4ab324C46e55D02D0033343B4Be8A55532d
- PrivKey: 0xb9d2ea9a615f3165812e8d44de0d24da9bbd164b65c4f0573e1ce2c8dbd9c8df

Contributions & Code of Conduct

If you wish to contribute, kindly fork the repository, implement your changes, and then submit a pull request. We welcome all pull requests enthusiastically.

In all communications and contributions, this project follows the Contributor Covenant Code of Conduct.

Getting started

  1. Fork and branch: Fork the master branch into your own GitHub account. Create a feature branch for your changes.
  2. Make changes: Implement your changes or additions in your feature branch.
  3. Contribution quality: Ensure that your contributions are:
    • Atomic: Small, self-contained, logical updates are preferred.
    • Well documented: Use clear commit messages. Explain your changes in the pull request description.
    • Tested: Verify your changes do not break existing functionality.

Creating a pull request

  1. Pull request: Once your changes are complete, create a pull request against the master branch of 5ireChain Repository.
  2. Review process: Your pull request will be reviewed by the maintainers. They may request changes or clarifications.
  3. Responsibility: Contributors are expected to maintain their contributions over time and update them as necessary to ensure continued accuracy and relevance.

Best practices

  • Stay informed: Keep up-to-date with the latest developments in 5ireChain.
  • Engage with the community: Participate in discussions and provide feedback on other contributions.
  • Stay consistent: Ensure your contributions are coherent with the rest of the documentation and do not overlap or contradict existing content.

Blockchain Scripts

Scripts are created to use up the process of building and running nodes. For more details please refer to README.md

Contact and support

  • For docs issues (technical or language) open an issue here.
  • For technical issues with the software, either raise an issue here and we will follow up, or email us at support@5ire.org

About

5ire is a layer-1 blockchain ecosystem designed with economic and environmental sustainability at its core and is one of India's fastest-growing unicorns, enabled by a community of people worldwide.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 94.3%
  • TypeScript 3.1%
  • WebAssembly 2.0%
  • Other 0.6%