Skip to content

Instantly share code, notes, and snippets.

@deckb
deckb / rentbw-modeling-input.py
Last active October 5, 2020 12:48
`rentbw` scripts
import argparse
import csv
import datetime as dt
import os
import random
# import pytz
# example
# python3 ./rentbw-modeling-input.py --out-file out.csv --min-pct 0.001 --max-pct 0.01
# run `rentbw-modeling` with out.csv
@deckb
deckb / deploy-msig.sh
Last active July 28, 2020 15:23
How to deploy offline msig 1.8.3-oob and setup testnet
#!/bin/bash
tmp_dir=~/tmp
# example deploy script
if [ "$#" -ne "1" ]; then
echo "usage: deploy-msig.sh <eosio.msig contract dir>"
exit 1
fi
  1. Check account
> cleos get account bob1234512341
# ...
EOS balances:
     liquid:        99975.0000 EOS
     staked:       200000.0000 EOS
     unstaking:         0.0000 EOS
     total:        299975.0000 EOS
@deckb
deckb / deploywrap.abi
Last active October 15, 2018 17:09
Deploying eosio.wrap
{
"version": "eosio::abi/1.0",
"types": [
{
"new_type_name": "account_name",
"type": "name"
},
{
"new_type_name": "permission_name",
"type": "name"
@deckb
deckb / unreg_proposal.md
Last active October 9, 2018 13:21
unreg_proposal
@deckb
deckb / eos_create_vote.md
Last active June 11, 2018 21:55
EOS Create Account and Vote

Intro to using cleos

As of the writing of this tutorial cleos is the only BPC recommended way to create a new account/vote and personally my favorite way to interact with the EOS mainnet.

NOTE I assume you have followed the instructions on how to build the software. https://github.com/EOSIO/eos/wiki/Local-Environment#2-building-eosio

Setup the Wallet

Setting up the wallet is pretty a straight foward process.

Keybase proof

I hereby claim:

  • I am deckb on github.
  • I am d3ck (https://keybase.io/d3ck) on keybase.
  • I have a public key ASDWoxneiA7XBB9ZmpVBy_3AfLUd-OPgcK2h3aRmsWRN4wo

To claim this, I am signing this object: