diff --git a/examples/colab_notebook.ipynb b/examples/colab_notebook.ipynb index 3092179..c4c0dc5 100644 --- a/examples/colab_notebook.ipynb +++ b/examples/colab_notebook.ipynb @@ -11,11 +11,31 @@ "This notebook will guide you on opening and closing positions." ] }, + { + "cell_type": "markdown", + "source": [ + "### 1. Install Nibiru package" + ], + "metadata": { + "collapsed": false + } + }, + { + "cell_type": "code", + "execution_count": null, + "outputs": [], + "source": [ + "!pip install nibiru" + ], + "metadata": { + "collapsed": false + } + }, { "cell_type": "markdown", "metadata": {}, "source": [ - "### 1. Prepare wallet mnemonic key (or private key)\n", + "### 2. Prepare wallet mnemonic key (or private key)\n", "If you don't have a mnemonic key, generate it using some online service or run the code below:" ] }, @@ -35,7 +55,7 @@ { "cell_type": "markdown", "source": [ - "### 2. Get test tokens from the nibiru faucet\n", + "### 3. Get test tokens from the nibiru faucet\n", "Faucet URL: [https://app.nibiru.fi/faucet](https://app.nibiru.fi/faucet)" ], "metadata": { @@ -45,7 +65,7 @@ { "cell_type": "markdown", "source": [ - "### 3. Create nibiru chain client and authenticate using mnemonic\n", + "### 4. Create nibiru chain client and authenticate using mnemonic\n", "The client below uses ITN-2 Nibiru testnet chain.\n", "Use your mnemonic key or private key to authenticate.\n", "If you took money from the faucet, your balances should not be empty." @@ -74,7 +94,7 @@ { "cell_type": "markdown", "source": [ - "### 4. Create a tx to open perp trading position\n", + "### 5. Create a tx to open perp trading position\n", "Position is: LONG (=BUY),\n", "\n", "pair = ubtc:unusd: prefix `u` means `μ` or micro. So `unusd = micro unusd = 1/1000_000 nusd`, same for ubtc.\n",