Skip to content

Instantly share code, notes, and snippets.

@davepuchyr
davepuchyr / big-dipper-genesis-galaxynet.json
Last active August 13, 2020 14:12
A massaged version of the galaxynet genesis file that does not include any "."s in keys
This file has been truncated, but you can view the full file.
{
"app_hash": "",
"app_state": {
"auth": {
"accounts": [
{
"//alias": "cond:gov/rule/0000000000000002",
"//id": "reward fund",
"//iov1": "iov1k0dp2fmdunscuwjjusqtk6mttx5ufk3zpwj90n",
"type": "cosmos-sdk/Account",
@davepuchyr
davepuchyr / upgrade-v0.9.1.sh
Created August 12, 2020 12:13
Upgrade galalxynet from v0.9.0 to v0.9.1
#!/bin/bash
sudo su
systemctl stop starname.service
# update the tarball version
sed --in-place 's/0.9.0/0.9.1/g' /etc/systemd/system/starname.env
set -o allexport ; source /etc/systemd/system/starname.env ; set +o allexport # pick-up env vars
@davepuchyr
davepuchyr / genesis.json
Last active August 25, 2020 09:24
Genesis file for iov-mainnet-2
This file has been truncated, but you can view the full file.
{
"app_hash": "",
"app_state": {
"auth": {
"accounts": [
{
"//note": "star1qw953jeja8fzs7szug7mu5j75alt3axk4wst2w owes star1wfx4pqx9cupfussqynhyl6luterk4qm2hu5695 0.85 IOV",
"type": "cosmos-sdk/Account",
"value": {
"account_number": "0",
@davepuchyr
davepuchyr / upgrade-v0.9.0.sh
Created July 23, 2020 09:31
Upgrade galalxynet from v0.4.5 to v0.9.0
#!/bin/bash
sudo su
systemctl stop starname.service
# update the tarball version
sed --in-place 's/0.4.5/0.9.0/g' /etc/systemd/system/starname.env
set -o allexport ; source /etc/systemd/system/starname.env ; set +o allexport # pick-up env vars
@davepuchyr
davepuchyr / genesis.json
Last active August 20, 2020 16:40
Genesis file for galaxynet
This file has been truncated, but you can view the full file.
{
"app_hash": "",
"app_state": {
"auth": {
"accounts": [
{
"//alias": "cond:gov/rule/0000000000000002",
"//id": "reward fund",
"//iov1": "iov1k0dp2fmdunscuwjjusqtk6mttx5ufk3zpwj90n",
"type": "cosmos-sdk/Account",
@davepuchyr
davepuchyr / holdings.csv
Last active August 25, 2020 09:01
IOV token holders
iov1address tokens star1address iovnames
iov1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqvnwh0u 66923075.5
iov1tt3vtpukkzk53ll8vqh2cv6nfzxgtx3t52qxwq 13015243.5
iov1myq53ry9pa6awl88m0xgp224q0dgwjdvz2dcsw 10958870.5
iov1ppzrq5gwqlcsnwdvlz7x9mu98fntmp65m9a3mz 9430157
iov1fgra4lfqzkvde47djsxpllehrku9w35hdfc7fz 6394589.45003 star180s323zw79duje02tqwt0pzz7tmtf5t3n7gqdr stakewith.us*iov
iov1rq4qaah9gvt8fturejjvgl4rnqk5j8u090pwws 6054248 star1wac86lpex7llwgqnlzjyyr5y5r8wm0xe96txw0 wolf*iov
iov1c92f357ke6lzk2hkjl450mh7r8wkhdmt5mg4n6 3750001 star1agzl9583cs0qejtqc29dj6yh2ce75x73wg9fa2 gilles*iov
iov1daejm7azjcehl2f6htdj2ashzmec4ms0l26jzg 3750000 star1whzpy5m2mhdnsu8nkp27ngduzqsuc2290ldc2s liberte*iov
iov1lv7u9xrjp475w2a0nzvd28kn27z3c22vwh8zfs 3441157 star1y8pgtvgufyxsmdlwa6yws6nmj36pmchv5hnhpf oghkhood*iov
@davepuchyr
davepuchyr / dump.json
Last active August 25, 2020 12:34
State dump of the iov1 mainnet
{
"cash": [
{
"address": "iov1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqvnwh0u",
"coins": [
{
"fractional": 500000000,
"ticker": "IOV",
"whole": 66923075
}
@davepuchyr
davepuchyr / premium.csv
Last active October 16, 2020 21:59
Premium Starnames and their owners
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 3 columns, instead of 4. in line 1.
iov102xqrlvln5pkjp95wdsaxytudpkv9mug8u20aq,,donaldtrump
iov126xhn9n5pcf8jhl7fw8atr8g2zjred73qmrphw,,ventonorte,brunocaiado
iov127r6ct2mmzr0x7qvju6sna3j8k4hdvkdm2q0c9,,foundation
iov12gd6weg7py6vs7ujn22h82422arek8cxzhe85p,star1usl4zpltjesrp5rqae3fdjdyj5dyymakmhq6mt,adrian,adrianirimia,adult,army,baby,betting,boutique,buidl,cannabis,careers,charity,cheap,church,clinic,clothing,club,codes,company,cryptowallet,deals,delegator,dental,dentist,design,diamonds,discount,doctor,dutchauction,equipment,expert,family,fashion,financial,fitness,forsale,gifts,gmbh,green,hardware,help,hodl,horse,horseracing,jewelry,kiteboarding,kitesurfing,legal,lgbt,loan,menu,moonlet,moonletwallet,movie,mywallet,operator,party,private,racing,receive,review,sale,security,send,sexy,singles,solar,sportsbetting,stake,store,surf,taxi,team,tech,technology,today,trade,training,validator,ventures,voting,watch,wedding,wiki,work,world
iov12pje5xtwsqqj36amx7pt07fneg2t62kmc02fc3,star1j9j3c9ejk2crnmmxdnxc7q8ctg2pev07tt954u,olivier
iov12vnzj4mgv2pt5vkr570
sudo su
# update /etc/systemd/system/iovns.env with the latest artifacts...
sed --in-place 's!IMAGE_IOVNS=.*!IMAGE_IOVNS=https://github.com/iov-one/weave/releases/download/v1.0.4/bnsd-1.0.4-linux-amd64.tar.gz!' /etc/systemd/system/iovns.env
sed --in-place 's!IMAGE_TM=.*!IMAGE_TM=https://github.com/iov-one/tendermint-build/releases/download/v0.31.12-iov1/tendermint-0.31.12-linux-amd64.tar.gz!' /etc/systemd/system/iovns.env
# ...pick-up env vars...
set -o allexport ; source /etc/systemd/system/iovns.env ; set +o allexport # pick-up env vars
# ...remove outdated binaries...
@davepuchyr
davepuchyr / mainnet.sh
Last active April 12, 2020 11:05
Quick and dirty script for adding a node to the IOV Name Service mainnet
# this script distills the following documents by eliminating systemd from the mix:
# https://docs.iov.one/docs/iov-name-service/validator/testnet
# https://docs.iov.one/docs/iov-name-service/validator/mainnet
# setup variables
export DIR_IOVNS=/tmp/iovns
export IMAGE_IOVNS=https://github.com/iov-one/weave/releases/download/v1.0.4/bnsd-1.0.4-linux-amd64.tar.gz
export IMAGE_IOVNS_OPTS=""
export IMAGE_TM=https://github.com/iov-one/tendermint-build/releases/download/v0.31.12-iov1/tendermint-0.31.12-linux-amd64.tar.gz
export IMAGE_TM_OPTS="\