You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scheduled mainnet upgrade to `nibiru-2` is planned for
63
+
The scheduled mainnet upgrade to `nibiru-2` is planned for
59
64
60
65
```
61
66
cd nibiru
62
67
git fetch tags
63
68
git checkout v0.0.1
64
69
```
65
70
66
-
67
-
Testnet
71
+
Testnet
68
72
69
73
One the Nibiru binary has been installed, for further information on joining the testnet, head over to the [testnet repo](https://github.com/NibiruChain/Networks/tree/main/Testnet).
70
74
71
-
Mainnet
75
+
Mainnet
72
76
73
77
One the Nibiru binary has been installed, for further information on joining mainnet, head over to the [mainnet repo](https://github.com/NibiruChain/Networks/tree/main/Mainnet).
74
78
@@ -84,9 +88,9 @@ B. New commands you've made on the `nibid` don't show up. Your `nibid` probably
84
88
85
89
## Contributing
86
90
87
-
The code for `nibid` is located in the `/cmd/nibid` folder.
91
+
The code for `nibid` is located in the `/cmd/nibid` folder.
88
92
89
-
In addition to the commands available within that folder, `nibid` pulls in cli subcommands from the modules e.g. `/x/perps/cli`
93
+
In addition to the commands available within that folder, `nibid` pulls in cli subcommands from the modules e.g. `/x/oracle/cli`
90
94
91
95
After updating the code run
92
96
@@ -98,14 +102,14 @@ make install
98
102
To see all the commands available just add `--help` to the end.
99
103
100
104
Example:
105
+
101
106
```bash
102
107
nibid --help
103
108
nibid query --help
104
109
nibid tx --help
105
-
nibid query perp --help
110
+
nibid query oracle --help
106
111
```
107
112
108
-
109
113
## Troubleshooting
110
114
111
115
### Error when running `make install` on MacOS
@@ -120,4 +124,4 @@ You can fix it by installing `wget` with Homebrew:
If you have questions or concerns, feel free to connect with a developer or community member in the [Nibiru Discord][social-discord]. We also have active communities on [Twitter][social-twitter] and [Telegram][social-telegram].
32
32
33
-
<!-- Markdown versions of the social badges
34
-
[![description][discord-badge]][social-discord]
35
-
[![description][twitter-badge]][social-twitter]
33
+
<!-- Markdown versions of the social badges
34
+
[![description][discord-badge]][social-discord]
35
+
[![description][twitter-badge]][social-twitter]
36
36
[![description][telegram-badge]][social-telegram]
37
37
-->
38
38
@@ -44,33 +44,30 @@ If you have questions or concerns, feel free to connect with a developer or comm
44
44
45
45
## 🧱 — Components of Nibiru
46
46
47
-
-**CosmWasm Smart Contracts**: Rust-based, Wasm smart contracts built enhanced security, performance, and interoperability. See our [CosmWasm sandbox monorepo (cw-nibiru)](https://github.com/NibiruChain/cw-nibiru/tree/main) for the protocol's core smart contracts.
48
-
-**Nibi-Perps**: A perpetual futures exchange where users can take leveraged exposure and trade on a plethora of assets — completely on-chain, completely non-custodially, and with minimal gas fees.
47
+
-**CosmWasm Smart Contracts**: Rust-based, Wasm smart contracts built enhanced security, performance, and interoperability. See our [CosmWasm sandbox monorepo (cw-nibiru)](https://github.com/NibiruChain/cw-nibiru/tree/main) for the protocol's core smart contracts.
49
48
-**Nibi-Oracle**: Nibiru accurately prices assets using a native, system of decentralized oracles, and communicates with other Cosmos layer-1 chains using the Inter-Blockchain Communication (IBC) (opens new window)protocol.
50
49
-**Nibi-Swap**: An automated market maker protocol for multichain assets. This application gives users access to swaps, pools, and bonded liquidity gauges.
51
50
52
-
| Module | Description |
53
-
| --- | --- |
54
-
|[wasm][code-x-wasm]| Implements the execution environment for [WebAssembly (WASM) smart contracts](https://nibiru.fi/docs/wasm/). |
55
-
|[devgas][code-x-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. |
56
-
|[epochs][code-x-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. |
57
-
|[inflation][code-x-inflation]| Implements the [tokenomics](https://nibiru.fi/docs/learn/tokenomics.html) for Nibiru. |
58
-
|[common][code-x-common]| Holds helper and utility functions to be utilized by other `x/` modules. |
59
-
|[oracle][code-x-oracle]| Handles the posting of an up-to-date and accurate feed of exchange rates from the validators. |
60
-
|[perp][code-x-perp]| Powers the Nibi-Perps exchange. This module enables traders to open long and short leveraged positions and houses all of the PnL calculation and liquidation logic. |
61
-
|[spot][code-x-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. |
|[wasm][code-x-wasm]| Implements the execution environment for [WebAssembly (WASM) smart contracts](https://nibiru.fi/docs/wasm/). |
54
+
|[devgas][code-x-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. |
55
+
|[epochs][code-x-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. |
56
+
|[inflation][code-x-inflation]| Implements the [tokenomics](https://nibiru.fi/docs/learn/tokenomics.html) for Nibiru. |
57
+
|[common][code-x-common]| Holds helper and utility functions to be utilized by other `x/` modules. |
58
+
|[oracle][code-x-oracle]| Handles the posting of an up-to-date and accurate feed of exchange rates from the validators. |
59
+
|[spot][code-x-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][cosmos-sdk-repo] on [Tendermint Core](https://tendermint.com/core/) consensus and communicates with other blockchain chains using the [Inter-Blockchain Communication (IBC)](https://github.com/cosmos/ibc) protocol.
72
69
73
-
----
70
+
---
74
71
75
72
## ⛓️ — Building: `make` commands
76
73
@@ -94,10 +91,12 @@ Usage instructions for the `nibid` CLI are available at [docs.nibiru.fi/dev/cli]
94
91
### Running a Local Node
95
92
96
93
On a fresh clone of the repo, simply run:
94
+
97
95
```bash
98
96
make localnet
99
-
```
100
-
and open another terminal.
97
+
```
98
+
99
+
and open another terminal.
101
100
102
101
### Generate the protobufs
103
102
@@ -131,19 +130,13 @@ Licensed under the [MIT License](./LICENSE.md).
0 commit comments