of course only claim if you are in a legal jurisdiction not geo-blocked blah blah.
git clone https://github.com/archway-network/archway.git
cd archway
git checkout v1.0.1
make install (go install ./...)| # https://x.com/kais_kat/status/1723844153685971400?s=20 | |
| # flake8: noqa | |
| import random | |
| import string | |
| import subprocess | |
| from httpx import get | |
| # rm -rf ~/.noisd/keyring-test |
| #!/bin/bash | |
| LCD_URL="https://juno-api.polkachu.com" | |
| DENOM="ujuno" | |
| # {"pool":{"not_bonded_tokens":"2431244061010","bonded_tokens":"58093075821304"}} | |
| BONDED=$(curl -s $LCD_URL/cosmos/staking/v1beta1/pool | jq -r '.pool.bonded_tokens') && echo $BONDED | |
| # {"inflation":"0.100000000000000000"} | |
| INFLATION=$(curl -s $LCD_URL/cosmos/mint/v1beta1/inflation | jq -r '.inflation') && echo $INFLATION |
| # pip install httpx (or use requests) | |
| from httpx import get | |
| # cosmos.directory | |
| API = "https://juno-api.reece.sh" | |
| ENDPOINT = "cosmos/staking/v1beta1/validators?pagination.limit=1000" | |
| URL = f"{API}/{ENDPOINT}" | |
| get_validators = get(URL).json().get("validators", []) |
| package ibc_test | |
| import ( | |
| "context" | |
| "encoding/json" | |
| "fmt" | |
| "strconv" | |
| "testing" | |
| "github.com/cosmos/cosmos-sdk/crypto/keyring" |
| package ibc | |
| import ( | |
| "context" | |
| "encoding/json" | |
| "strings" | |
| "testing" | |
| "time" | |
| "cosmossdk.io/math" |
| { | |
| "total_ujuno_fees": 46552893454, | |
| "weekly_fees": { | |
| "1": { | |
| "ujuno": 73824570 | |
| }, | |
| "100801": { | |
| "ujuno": 949559253 | |
| }, | |
| "201601": { |
| # Uses https://github.com/Reecepbcups/cosmos-indexer against an archive node to get all MsgAck Txs | |
| CHAIN="juno-1" | |
| BLOCK_START = 5779000 | |
| BLOCK_END = 7200000 | |
| channels = { | |
| "cosmos": "channel-1", | |
| "osmosis": "channel-0", | |
| "evmos": "channel-70", |
| import json | |
| # exports.reece.sh/juno | |
| auth_file = "7980000_auth.json" | |
| bank_file = "7980000_bank.json" | |
| accounts_to_ignore = [ | |
| # They moved funds to new wallet 30 days ago | |
| "juno1ws8d7f234jtnda3ea22hhejzx5qsfu3dl50shx" | |
| ] |