Nibiru Chain: The breakthrough smart contract platform ushering in the next era of money. Nibiru powers an ecosystem of dApps including perps, RWAs, and more.
Nibiru Chain is a breakthrough smart contract platform providing superior throughput, reduced latency, and improved security, all driven by Web Assembly (Wasm) smart contracts.
pkg.go.dev
) For the blockchain implementation .If you have questions or concerns, feel free to connect with a developer or community member in the Nibiru Discord. We also have active communities on Twitter and Telegram.
Module | Description |
---|---|
[wasm][code-x-wasm] | Implements the execution environment for WebAssembly (WASM) smart contracts. |
devgas | The devgas module of Nibiru Chain shares contract execution fees with smart contract developers. This aims to increase the adoption of Nibiru by offering CosmWasm smart contract developers a direct source of income based on usage. |
epochs | The epochs module allows other modules to set hooks to be called to execute code automatically on a period basis. For example, "once a week, starting at UTC-time = x". epochs creates a generalized epoch interface. |
inflation | Implements the tokenomics for Nibiru. |
common | Holds helper and utility functions to be utilized by other x/ modules. |
oracle | Handles the posting of an up-to-date and accurate feed of exchange rates from the validators. |
spot | Responsible for creating, joining, and exiting liquidity pools. It also allows users to swap between two assets in an existing pool. It's a fully functional AMM. |
Nibiru is built with the Cosmos-SDK on Tendermint Core consensus and communicates with other blockchain chains using the Inter-Blockchain Communication (IBC) protocol.
make
commandsInstallation instructions for the nibid
binary can be found in INSTALL.md.
Recommended minimum specs:
To simply access the nibid
CLI, run:
make install
Usage instructions for the nibid
CLI are available at docs.nibiru.fi/dev/cli and the Nibiru Module Reference.
On a fresh clone of the repo, simply run:
make localnet
and open another terminal.
make proto-gen
We use the golangci-lint linter. Install it and run
golangci-lint run
at the root directory. You can also install the VSCode or Goland IDE plugins.
Run the following commands to set up a local network of Docker containers running the chain.
make build-docker-nibidnode
make localnet-start
Licensed under the MIT License.