-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
100 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
# - name: Prepare | ||
# hosts: '{{ target }}' | ||
# become: true | ||
# gather_facts: false | ||
# roles: | ||
# - prepare | ||
|
||
- name: Install node | ||
hosts: '{{ target }}' | ||
gather_facts: false | ||
roles: | ||
# - standard_node_installation | ||
# - initialize_comdex | ||
- launch_node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
## Comdex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,38 @@ | ||
## Terra | ||
|
||
### Testnet | ||
|
||
Create validator | ||
|
||
```bash | ||
terrad tx staking create-validator \ | ||
--amount=5000000uluna \ | ||
--pubkey=$(terrad tendermint show-validator) \ | ||
--moniker 'polkachu.com' \ | ||
--website "https://polkachu.com" \ | ||
--identity "0A6AF02D1557E5B4" \ | ||
--details "Polkachu is the trusted staking service provider for blockchain projects. 100% refund for downtime slash. Contact us at hello@polkachu.com" \ | ||
--chain-id=bombay-12 \ | ||
--from=polkachu \ | ||
--commission-max-change-rate "0.01" \ | ||
--commission-rate "0.02" \ | ||
--commission-max-rate "0.1" \ | ||
--min-self-delegation "1" \ | ||
--fees=3000uluna \ | ||
--from=polkachu | ||
``` | ||
|
||
Set oracle | ||
|
||
```bash | ||
terrad tx oracle set-feeder terra13v9q6pek6cwu4js989d22wl8sdm48j4r9cnrg7 --from=polkachu --chain-id=bombay-12 --fees=3000uluna | ||
``` | ||
|
||
```bash | ||
npm start vote -- \ | ||
--source http://localhost:8532/latest \ | ||
--lcd https://lcd.terra.dev \ | ||
--chain-id columbus-5 \ | ||
--validator terravaloper168epm0dvd6v9kpxjz2x800sad0mq4sm9herwzz \ | ||
--password "<password>" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
network: comdex | ||
folder: '.comdex' | ||
daemon: comdex | ||
chain_id: comdex-1 | ||
node_version: v0.0.4 | ||
repo: https://github.com/comdex-official/comdex.git | ||
genesis: 'https://raw.githubusercontent.com/comdex-official/networks/main/mainnet/comdex-1/genesis.json' | ||
peers: 'f74518ad134630da8d2405570f6a3639954c985f@65.0.173.217:26656,d478882a80674fa10a32da63cc20cae13e3a2a57@43.204.0.243:26656,61d743ea796ad1e1ff838c9e84adb38dfffd1d9d@15.235.9.222:26656,b8468f64788a17dbf34a891d9cd29d54b2b6485d@194.163.178.25:26656,d8b74791ee56f1b345d822f62bd9bc969668d8df@194.163.128.55:36656,81444353d70bab79742b8da447a9564583ed3d6a@164.68.105.248:26656,5b1ceb8110da4e90c38c794d574eb9418a7574d6@43.254.41.56:26656,98b4522a541a69007d87141184f146a8f04be5b9@40.112.90.170:26656,9a59b6dc59903d036dd476de26e8d2b9f1acf466@195.201.195.111:26656' | ||
seeds: 'aef35f45db2d9f5590baa088c27883ac3d5e0b33@3.108.102.92:26656,7ca14a1d156299999eba9c394ca060368022d52f@54.194.178.110:26656,08ab4552a74dd7e211fc79432918d35818a67189@52.69.58.231:26656,449a0f1b7dafc142cf23a1f6166bbbf035edfb10@13.232.85.66:26656,5b27a6d4cf33909c0e5b217789e7455e261941d1@15.222.29.207:26656' | ||
minimum_gas_price: '0.025ucmdx' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
# - name: Initialize Node | ||
# command: '{{ daemon }} init {{ validator_name }} --chain-id {{ chain_id }} -o' | ||
# environment: | ||
# PATH: '{{ path }}' | ||
|
||
# - name: Update minimum gas price on config file | ||
# lineinfile: | ||
# path: '/home/{{ ansible_user }}/{{ folder }}/config/app.toml' | ||
# regexp: 'minimum-gas-prices ' | ||
# line: 'minimum-gas-prices = "{{ minimum_gas_price }}"' | ||
# state: present | ||
|
||
# - name: Update the config.toml file | ||
# lineinfile: | ||
# path: '/home/{{ ansible_user }}/{{ folder }}/config/config.toml' | ||
# regexp: 'persistent_peers = ""' | ||
# line: 'persistent_peers = "{{ peers }}"' | ||
# state: present | ||
|
||
# - name: Download genesis file | ||
# get_url: | ||
# url: '{{ genesis }}' | ||
# dest: '/home/{{ ansible_user }}/{{ folder }}/config/genesis.json' | ||
# mode: '0644' | ||
|
||
- name: Update seeds on the config.toml file | ||
lineinfile: | ||
path: '/home/{{ ansible_user }}/{{ folder }}/config/config.toml' | ||
regexp: 'seeds = ""' | ||
line: 'seeds = "{{ seeds }}"' | ||
state: present |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters