Skip to content

BandChain blockchain reference implementation

License

Notifications You must be signed in to change notification settings

laterlaugh/chain

This branch is 1 commit ahead of, 28 commits behind bandprotocol/chain:master.

Folders and files

NameName
Last commit message
Last commit date
Feb 19, 2025
Jan 9, 2025
Feb 14, 2025
Dec 2, 2024
Nov 29, 2024
Jan 23, 2025
May 10, 2024
Dec 17, 2024
Jan 22, 2025
Mar 8, 2025
Jan 9, 2025
Jan 11, 2025
Nov 29, 2024
Feb 28, 2025
Jan 23, 2025
Mar 25, 2021
Jul 3, 2023
May 9, 2024
Feb 19, 2025
Aug 30, 2022
Jan 11, 2025
Dec 17, 2024
Jan 31, 2025
Dec 8, 2019
Oct 16, 2024
Jan 9, 2025
May 2, 2024
Nov 11, 2021
Aug 16, 2023
Feb 19, 2025
Feb 19, 2025

Repository files navigation

 

BandChain - Decentralized Data Delivery Network

Documentation »


What is BandChain?

BandChain is a cross-chain data oracle platform that aggregates and connects real-world data and APIs to smart contracts. It is designed to be compatible with most smart contract and blockchain development frameworks. It does the heavy lifting jobs of pulling data from external sources, aggregating them, and packaging them into the format that’s easy to use and verifiable efficiently across multiple blockchains.

Band's flexible oracle design allows developers to query any data including real-world events, sports, weather, random numbers and more. Developers can create custom-made oracles using WebAssembly to connect smart contracts with traditional web APIs within minutes.

Installation

Please refer to this documentation for the most up-to-date installation guide.

Building from source

We recommend the following for running a BandChain Validator:

  • 2 or more CPU cores
  • 8 GB of RAM (16 GB in case on participate in mainnet upgrade)
  • At least 100GB of disk storage

Step 1. Install Golang

Go v1.18+ or higher is required for BandChain.

If you haven't already, install Golang by following the official docs. Make sure that your GOPATH and GOBIN environment variables are properly set up.

Step 2. Get BandChain source code

Use git to retrieve BandChain from the official repo, and checkout the master branch, which contains the latest stable release. That should install the bandd binary.

git clone https://github.com/bandprotocol/chain
cd chain && git checkout v2.5.4
make install

Step 3. Verify your installation

Using bandd version command to verify that your bandd has been built successfully.

name: bandchain
server_name: bandd
version: 2.5.4
commit: e6548bbf4793829bb8e711e5ed89ba4afc710ded
build_tags: netgo,ledger
go: go version go1.19.1 darwin/amd64
build_deps:
...

If you are using Mac ARM architecture (M1, M2) and face the issue of GMP library, you can run this.

brew update && brew install gmp
sudo ln -s /opt/homebrew/lib/libgmp.10.dylib /usr/local/lib/

Useful scripts for development

  • scripts/generate_genesis.sh to create/reset the default genesis file
  • scripts/start_bandd.sh to start the bandd binary
  • scripts/start_yoda.sh to start yoda with reporter(s)

Resources

Community

License & Contributing

BandChain is licensed under the terms of the GPL 3.0 License unless otherwise specified in the LICENSE file at module's root.

We highly encourage participation from the community to help with D3N development. If you are interested in developing with D3N or have suggestions for protocol improvements, please open an issue, submit a pull request, or drop us a line.

About

BandChain blockchain reference implementation

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.9%
  • Other 1.1%