Skip to content

Instantly share code, notes, and snippets.

@davepuchyr
davepuchyr / genesis.json
Last active December 22, 2021 14:44
Stargatenet Genesis File
This file has been truncated, but you can view the full file.
{
"app_hash": "",
"app_state": {
"auth": {
"accounts": [
{
"@type": "/cosmos.auth.v1beta1.BaseAccount",
"account_number": "1175",
"address": "star1qqrlvl0lq0e6y65gsfh2df8ahrhmjnc7scn020",
"pub_key": {
@davepuchyr
davepuchyr / genesis.json
Last active December 22, 2021 14:18
The `iov-mainnet-ibc` genesis file
This file has been truncated, but you can view the full file.
{
"app_hash": "",
"app_state": {
"auth": {
"accounts": [
{
"@type": "/cosmos.auth.v1beta1.BaseAccount",
"account_number": "1175",
"address": "star1qqrlvl0lq0e6y65gsfh2df8ahrhmjnc7scn020",
"pub_key": {
@davepuchyr
davepuchyr / iov-mainnet-2-halt.sh
Last active June 25, 2021 08:03
Run `iov-mainnet-2-halt.sh` on your `iov-mainnet-2` nodes when https://big-dipper.iov-mainnet-2.iov.one/proposals/7 passes
#!/bin/sh
# become root
sudo su -c bash
# pick-up env vars
set -o allexport ; source /etc/systemd/system/starname.env ; set +o allexport
# inject the halt height into iovnsd.sh
sed --in-place 's/iovnsd start/iovnsd start --halt-height 4294679/' ${DIR_IOVNS}/iovnsd.sh
@davepuchyr
davepuchyr / join-stargatenet.sh
Last active June 18, 2021 13:01
Start an IBC-enabled node for the `stargatenet` testnet
#!/bin/bash
for i in basename chgrp chmod curl grep journalctl jq sed sha256sum systemctl wget ; do [[ $(command -v $i) ]] || { echo "$i is not in PATH; PATH == $PATH; cannot proceed" ; exit -1 ; } ; done # https://unix.stackexchange.com/a/379425
sudo su -c bash # make life easier for the next ~100 lines
cd /etc/systemd/system
export USER_IOV=iov # "iov" is not recommended
export SIGNER=dave*iov # signer for the create-validator tx
@davepuchyr
davepuchyr / validate-stargatenet.sh
Created June 17, 2021 16:05
Create a validator on the `stargatenet` testnet
#!/bin/bash
export USER_IOV=iov # "iov" is not recommended
# become USER_IOV
su - ${USER_IOV}
set -o allexport ; source /etc/systemd/system/starnamed.env ; set +o allexport # pick-up env vars
export PATH=${PATH}:${DIR_STARNAMED}
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${DIR_STARNAMED}
@davepuchyr
davepuchyr / validators.txt
Created December 24, 2020 08:53
Starname (IOV) Network Validators
01node-epyc ChainLayer IRISnet-Bianjie StakeWithUs
AC Validator 🚀 Cosmostation OpenTech Staking staking.blue
Anchor Staking Forbole Simply Staking Staky.io
ATEAM in3s.com Stake Capital syncnode
@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
@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 / unsafe-reset-all.sh
Created August 25, 2020 09:52
Quick start for iov-mainnet-2
#!/bin/bash
sudo su
systemctl stop starname.service
su - ${USER_IOV}
set -o allexport ; source /etc/systemd/system/starname.env ; set +o allexport # pick-up env vars
export PATH=${DIR_IOVNS}:$PATH
@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",