{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "from jigu import Terra\n", "from jigu.key.mnemonic import MnemonicKey\n", "from jigu.core import *\n", "from jigu.core.msg import *\n", "from jigu.core.proposal import *\n", "\n", "terra = Terra(\"columbus-3\", \"https://fcd.terra.dev\")\n", "soju = Terra(\"soju-0013\", \"https://soju-fcd.terra.dev\")\n", "\n", "key = MnemonicKey.generate()\n", "wallet = soju.wallet(key)" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/html": [ "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "
pool_recovery_period 14400
base_pool 250000000000
min_spread 0.02
tobin_tax 0.0025
illiquid_tobin_tax_list\n", "\n", "\n", "\n", "
umnt0.02
" ], "text/plain": [ "" ] }, "execution_count": 2, "metadata": {}, "output_type": "execute_result" } ], "source": [ "terra.market.params()" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'terra1pn89fjrjttrrcs5e0sjgazf7tfywnkpgagtnyg'" ] }, "execution_count": 3, "metadata": {}, "output_type": "execute_result" } ], "source": [ "wallet.address" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.7.6" } }, "nbformat": 4, "nbformat_minor": 4 }