Skip to content

Instantly share code, notes, and snippets.

View bensig's full-sized avatar
🚀
libre.org

Ben Sigman bensig

🚀
libre.org
View GitHub Profile
@bensig
bensig / keybase.md
Created May 26, 2018 10:19
keybase proof

Keybase proof

I hereby claim:

  • I am bensig on github.
  • I am bensig (https://keybase.io/bensig) on keybase.
  • I have a public key ASCdnq6xLmnKBuhDp23a8kEv4moB4VpERdQ-NYPnWjAhxQo

To claim this, I am signing this object:

@bensig
bensig / EOS_TEST_CAVE_v0.2.0_result
Last active July 4, 2018 04:20
EOS TEST CAVE - v1.0.8 test on Ubuntu
START TESTING...
╔════════════════════╣ Tests tests/01_wallet ╠═══════════════════════════════╗
Create default wallet [OK]
Create wallet with name [OK]
Create and import EOS Key [OK]
Create EOS Key and import to wallet [OK]
Wallet open default wallet [OK]
Wallet open wallet name [OK]
@bensig
bensig / EOS21 协议
Last active October 12, 2018 07:54
EOS21协议可以实现ETH和EOS跨链代币转移。
# EOS21 协议
将您的ERC20代币传送到EOS。
## 概述
EOS21协议可以实现ETH和EOS跨链代币转移。
- .ETH (ERC20) –\> EOS21 –\> EOS (代币)
@bensig
bensig / verify.txt
Last active December 11, 2018 02:18
Verifying my Blockstack ID is secured with the address 1Eba4EdgQphQef2PhUd7i3z7sdLKKS29mh https://explorer.blockstack.org/address/1Eba4EdgQphQef2PhUd7i3z7sdLKKS29mh
@bensig
bensig / api.yourdomain.io
Last active February 23, 2019 10:23
nginx virtualhost config for separating EOS history API - redirect 416 errors to greymass
upstream nodeos-full-history {
server eos.greymass.com:80;
}
upstream nodeos-full-history-ssl {
server eos.greymass.com:443;
}
upstream nodeos-limited-history {
server node1.yourdomain.io:port;
#hapi
plugin = eosio::http_plugin
filter-on=*
filter-out=eosio:onblock:
history-index-state-db-size-mb = 32768
history-state-db-size-mb = 32768
history-per-account = 100
history-dir = history
history-index-dir = index
@bensig
bensig / nodeos-stop.sh
Created August 5, 2019 22:49
EOS nodeos stop script
#!/bin/bash
NODEOS=/home/ubuntu/src/wax-blockchain/build/programs/nodeos/nodeos
DATADIR=/home/ubuntu/eos/wax/node
GENESIS=/home/ubuntu/eos/wax/genesis.json
if [ -f $DATADIR"/nodeos.pid" ]; then
pid=$(cat $DATADIR"/nodeos.pid")
echo $pid
kill $pid
rm -r $DATADIR"/nodeos.pid"
@bensig
bensig / nodeos-start.sh
Created August 5, 2019 22:48
EOS nodeos start script with variables
#!/bin/bash
NODEOS=~/src/eos/build/programs/nodeos/nodeos
DATADIR=~/node
GENESIS=~/src/eos/genesis.json
CONFIG="config.ini"
$DATADIR/stop.sh || true
TIMESTAMP=$(/bin/date +%s)
$NODEOS --data-dir $DATADIR --config-dir $DATADIR -c $CONFIG "$@" >> $DATADIR/stdout.txt 2>> $DATADIR/eos-$TIMESTAMP.log & echo $! > $DATADIR/nodeos.pid
/usr/bin/unlink $DATADIR/eos.log
/bin/ln -s $DATADIR/eos-$TIMESTAMP.log $DATADIR/eos.log
@bensig
bensig / bashtools.sh
Created February 5, 2020 06:54
Bash tools
PROGNAME=${0##*/}
@bensig
bensig / config.ini
Last active March 23, 2021 06:11
Example config.ini for EOS Block Producer / Validator
# configuration example by bensig
###### producer plugin options - enable if running producer node
plugin = eosio::producer_plugin
## sig provider keys should match the key on your producer-name
signature-provider = <pubkey>=KEY:<privkey>
producer-name = eosio
## additional producer plugin options can be left default
max-transaction-time = 10000