In this repository, we generate "offer files" for Hashgreen DEX testing on testnet10
.
If you already have a 24-word mnemonic key, you can ignore this part.
Do `chia keys generate && chia keys show --show-mnemonic-seed | tail -n1 > ./key` after `chia init` has been done.
You will generate a key at `./key`.
-
MacOS (Intel):
brew install boost cmake gmp node
. -
MacOS (M1):
arch -arm64 brew install boost cmake gmp node brew reinstall python
-
Windows (WSL):
# https://docs.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-wsl curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash nvm install --lts sudo apt -y install npm libatk1.0-0 libatk-bridge2.0-0 libgtk2.0-0 libgtk-3-0 libgbm1
-
Clone the Chia Blockchain repository.
git clone https://github.com/Chia-Network/chia-blockchain.git cd chia-blockchain git checkout afcf881d7267768ecedc4c599941c588d18841d2
-
Install the Chia library.
sh install.sh source activate
-
Configure the Chia library.
If you have an existing key, copy it to
./key
. If not, you will need a key file following Prerequisite: Prepare a Chia wallet key.chia init chia configure --testnet true chia configure --log-level INFO chia configure --upnp false chia keys add -f ./key # or if you have your 24-word mnemonics, do `chia keys add` for the prompt
-
Build the Chia GUI library.
sh install-gui.sh cd chia-blockchain-gui
-
Start the Chia light wallet!
npm run electron &
-
Wait until the wallet is synced and then add the
TMJV
token with its asset idcfa74593a6ad28436815ba1ebc486bf4344e880461c1b2fa550319a9e8479a14
. -
Follow the instructions on GUI to generate offers.