Skip to content

Instantly share code, notes, and snippets.

@faddat
faddat / swagger.yml
Created Oct 22, 2021
V Systems API Swagger definition
View swagger.yml
openapi: 3.0.1
info:
title: VSYS Full Node
description: The Web Interface to the VSYS Full Node API
license:
name: MIT License
url: https://github.com/virtualeconomy/vsys/blob/master/LICENSE
version: 0.3.2
servers:
- url: /
@faddat
faddat / .bash_profile
Last active Jul 30, 2021
bash profile for a validation system
View .bash_profile
# Bash profile for a node with seeds on it, where nodes are run in screen. This will be broken down into systemd units later.
# This has them take snapshots every 1000 blocks, and support 500 incoming peers. They're not seed nodes so that this config can be used well as a sentry.
# RPCs are currently fully exposed. They'll be put behind caddy and rate limited soon (TM).
# Each node is configured for state sync. We will release documentation network-wide on how to launch nodes with state sync to push the use of this technology. We will need some help from others -- failing that we can run sync1.notional.ventures and sync2.notional.ventures.
alias ls='ls --color=auto'
alias ll='ls -l'
alias l='ls -A'
@faddat
faddat / .bash_profile
Last active Jul 30, 2021
profile for a validatron seed/sentry
View .bash_profile
# Bash profile for a node with seeds on it, where nodes are run in screen. This will be broken down into systemd units later.
# This has them take snapshots every 1000 blocks, and support 500 incoming peers. They're not seed nodes so that this config can be used well as a sentry.
# RPCs are currently fully exposed. They'll be put behind caddy and rate limited soon (TM).
# Each node is configured for state sync. We will release documentation network-wide on how to launch nodes with state sync to push the use of this technology. We will need some help from others -- failing that we can run sync1.notional.ventures and sync2.notional.ventures.
alias ls='ls --color=auto'
alias ll='ls -l'
alias l='ls -A'
View keybase.md

Keybase proof

I hereby claim:

  • I am faddat on github.
  • I am faddat (https://keybase.io/faddat) on keybase.
  • I have a public key ASAw9VankMiEwQVCfcSiVxIUT6XPh9nHOXoaGBQed2unQQo

To claim this, I am signing this object:

@faddat
faddat / log
Created May 14, 2021
Gaia on Graviton
View log
ubuntu@ip-172-31-63-80:~/.gaia/config$ gaiad unsafe-reset-all10:52AM INF Removed all blockchain history dir=/home/ubuntu/.gaia/data10:52AM INF Reset private validator file to genesis state keyFile=/home/ubuntu/.gaia/config/priv_validator_key.json stateFile=/home/ubuntu/.gaia/data/priv_validator_state.json
ubuntu@ip-172-31-63-80:~/.gaia/config$ gaiad start --p2p.seeds bf8328b66dceb4987e5cd94430af66045e59899f@public-seed.cosmos.vitwit.com:26656,cfd785a4224c7940e9a10f6c1ab24c343e923bec@164.68.107.188:26656,d72b3011ed46d783e369fdf8ae2055b99a1e5074@173.249.50.25:26656,ba3bacc714817218562f743178228f23678b2873@public-seed-node.cosmoshub.certus.one:26656,3c7cad4154967a294b3ba1cc752e40e8779640ad@84.201.128.115:26656,366ac852255c3ac8de17e11ae9ec814b8c68bddb@51.15.94.196:26656 --x-crisis-skip-assert-invariants
10:52AM INF starting ABCI with Tendermint
10:52AM INF Starting multiAppConn service impl=multiAppConn module=proxy
10:52AM INF Starting localClient service connection=query impl=localClient module=abci-client
10:5
View genesis.json
{
"genesis_time": "2021-05-09T02:52:49.125666065Z",
"chain_id": "infant",
"initial_height": "1",
"consensus_params": {
"block": {
"max_bytes": "22020096",
"max_gas": "-1",
"time_iota_ms": "1000"
},
View gentx-abb168cbfcef1f9756791bff3aa5a954a7f6a859.json
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"jacob","identity":"","website":"","security_contact":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"cosmos1x6znqjx5tv7vvswtlhlyw0qzl3pzkcm44k8j0t","validator_address":"cosmosvaloper1x6znqjx5tv7vvswtlhlyw0qzl3pzkcm4szn8rc","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"OR41ljdke34bGXVrxyJnAXTu0wbKvI6nYNKF0Oz7sIo="},"value":{"denom":"baby","amount":"10000000"}}],"memo":"abb168cbfcef1f9756791bff3aa5a954a7f6a859@10.10.11.26:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"A5xwwk99rxWjPPTmpZin+HB2bhsW+6C+zSryIXYLvuBV"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","gran
View genesis.json
{
"genesis_time": "2021-05-08T11:59:37.083249Z",
"chain_id": "baby-1",
"initial_height": "43562969",
"consensus_params": {
"block": {
"max_bytes": "22020096",
"max_gas": "-1",
"time_iota_ms": "1000"
},
@faddat
faddat / gist:b9370131477c8abd81d65ed8e22174f4
Last active Mar 30, 2021
Helder technique to get seeds and genesis
View gist:b9370131477c8abd81d65ed8e22174f4
curl -s https://liquidity.app.beta.starport.cloud/genesis | jq -r .result.genesis > genesis.json
gaiad start --p2p.persistent_peers 9e4fdb70e611038c92b6875757d7cd48ea51bd3c@liquidity.app.beta.starport.cloud:26656
@faddat
faddat / 3hrmainnet.md
Last active Mar 29, 2021
Starport Demo 2.0
View 3hrmainnet.md

Three hours to mainnet

This is a game for three or more players.

Server

For servers I've really come to love:

  • Hetzner.de
  • Contabo (word of mouth tells me it's good, I am a hetzner man)