Skip to content

Instantly share code, notes, and snippets.

View zramsay's full-sized avatar

Zach zramsay

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zramsay
zramsay / laconic-cns.md
Last active November 10, 2023 17:17
publish laconic records
  1. Install the laconic command-line tool:
npm config set @cerc-io:registry https://git.vdb.to/api/packages/cerc-io/npm/
yarn global add @cerc-io/laconic-registry-cli
  1. Verify installation:
@zramsay
zramsay / sdk.sh
Last active December 13, 2021 13:54
#!/usr/bin/env bash
# XXX: this script is intended to be run from a fresh Digital Ocean droplet
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install -y make
# get and unpack golang
curl -O https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz
#!/usr/bin/env bash
# XXX: this script is meant to be used only on a fresh Ubuntu 16.04 instance
# and has only been tested on Digital Ocean
# get and unpack golang
curl -O https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz
tar -xvf go1.10.linux-amd64.tar.gz
apt install make
root@ubuntu-s-2vcpu-4gb-tor1-01:~/go/src/github.com/wtf# npm install lotion
> utp-native@1.7.3 install /root/go/src/github.com/wtf/node_modules/utp-native
> node-gyp-build
make: Entering directory '/root/go/src/github.com/wtf/node_modules/utp-native/build'
CXX(target) Release/obj.target/libutp/deps/libutp/utp_internal.o
../deps/libutp/utp_internal.cpp: In function ‘size_t utp_process_incoming(UTPSocket*, const byte*, size_t, bool)’:
../deps/libutp/utp_internal.cpp:1970:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (conn->mtu_probe_seq && seq == conn->mtu_probe_seq) {
#!/usr/bin/env bash
# make all the files
tendermint init --home ./tester/node0
tendermint init --home ./tester/node1
tendermint init --home ./tester/node2
tendermint init --home ./tester/node3
file0=./tester/node0/config/genesis.json
file1=./tester/node1/config/genesis.json
#!/usr/bin/env bash
# XXX: this script is meant to be used only on a fresh Ubuntu 16.04 instance
# and has only been tested on Digital Ocean
sudo apt-get update --yes
sudo apt-get upgrade --yes
# get and unpack golang
curl -O https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz
#!/usr/bin/env bash
# XXX: this script is meant to be used only on a fresh Ubuntu 16.04 instance
# and has only been tested on Digital Ocean
# NOTE: you must set this manually now
echo "export DO_API_TOKEN=\"yourToken\"" >> ~/.profile
sudo apt-get update -y
sudo apt-get upgrade -y
{
"app_hash": "",
"app_state": {
"accounts": [
{
"address": "1FEADCDC8CCB22244769B9CC93C1F6D7489FC5AF",
"coins": [
{
"denom": "mycoin",
"amount": 9007199254740992
#!/usr/bin/env bash
# XXX: this script is meant to be used only on a fresh Ubuntu 16.04 instance
# and has only been tested on Digital Ocean
sudo apt-get update
sudo apt-get upgrade -y
# get and unpack golang