Skip to content

Instantly share code, notes, and snippets.

View imylomylo's full-sized avatar

Captain Mylo imylomylo

View GitHub Profile
@imylomylo
imylomylo / pbaas-flow.md
Created April 30, 2019 12:03
Verus PBaaS general flow

From Verus discord #pbaas-development

miketout04/14/2019
The general flow is this:
1. The initiator of the PBaaS chain can define a chain and currently defines a billing period for notarization as well as an initial payment for notarization as well as all parameters, schedules, etc. for the chain to run.
2. There is a period, not yet implemented, after that and before the starting block of the chain, where people can fund the chain through a transaction that will do one of two things... a) go to the chain initiation address in exchange for a pre-sale, which can be converted on the chain after it starts, or b) go into a chain reserve (this is the feature I have not spoken much about) and be used as a reserve for a Bancor-style fractional reserve currency, exchangeable on the PBaaS chain itself for Verus and vice versa. Reserve currency support will be added after the test chains are running and where the first step will allow people to offer currency for sale as part of the premine/presale, the reserve su
@imylomylo
imylomylo / pbaas-ann.md
Last active April 30, 2019 11:58
Verus Public Blockchains as a Service ANN

Contents of the first commmunity announcement on Verus' discord. All dates c+p. They are pinned to #pbaas-development in the discord

miketout03/13/2019
@everyone as I've mentioned recently, us devs have been heads down on development lately, with a focus on PBaaS. Since it's really something new, and we are making great progress. It seems like a good time to start discussing how everything will work and what technologies are being used to implement a system that will bring a new dimension to cryptocurrency, an economy of blockchains that can work together, creating incentives for the entire system to become more secure, with each still an independent chain project, or blockchain database for a short-lived application like poll or election.
I will spend a few minutes now to introduce PBaaS and what it will enable, as well as some of the technologies that have been implemented or are in the process of being implemented that will make it work. As I said earlier, I can't promise to be around to discuss
@imylomylo
imylomylo / komodo-in-a-box.management-interface.md
Last active May 3, 2019 18:33
komodo-in-a-box management interface download & run
@imylomylo
imylomylo / komodo-in-a-box.install-komodo.md
Last active June 8, 2019 07:51
komodo-in-a-box install komodo and nanomsg

If installing iguana-in-a-box notary mgmt - Iguana dependency - nanomsg

cd ~
git clone https://github.com/nanomsg/nanomsg
cd nanomsg
mkdir build
cd build
cmake .. -DNN_TESTS=OFF -DNN_ENABLE_DOC=OFF
cmake --build . 
sudo cmake --build . --target install
@imylomylo
imylomylo / komodo-in-a-box.depends.md
Last active May 20, 2019 01:30
komodo-in-a-box apt-get install system dependencies

One command

sudo apt-get update ; sudo apt-get install -y dialog python3 python3-dev python3-pip netcat-openbsd wget curl git sudo coreutils bc haveged pollinate unzip unattended-upgrades cron ntp fail2ban rsyslog build-essential pkg-config git libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip python zlib1g-dev wget bsdmainutils automake libssl-dev libprotobuf-dev protobuf-compiler libqrencode-dev ntp ntpdate jq software-properties-common curl libcurl4-openssl-dev cmake clang libevent-dev libboost-all-dev build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python python-zmq zlib1g-dev wget libcurl4-openssl-dev bsdmainutils automake curl python3 python3-requests libsodium-dev libdb++-dev

These are broken down into Komodo Platform's komodo dependencies, James Lee's komodo dependencies (new pre-alpha features), the convenience packages for the system & komodo-in-a-box dependencies.

Komodo Platform dependencies

sudo apt-get update
@imylomylo
imylomylo / bet.md
Created April 15, 2019 05:15
lightning build fail with bet
cc: error: cli/cli_main.o: No such file or directory
cc: error: cli/lightning-bet.o: No such file or directory
cc: error: common/configdir.o: No such file or directory
cc: error: common/json.o: No such file or directory
cc: error: common/json_escaped.o: No such file or directory
cc: error: common/version.o: No such file or directory
cc: error: ccan-asort.o: No such file or directory
cc: error: ccan-autodata.o: No such file or directory
cc: error: ccan-breakpoint.o: No such file or directory
@imylomylo
imylomylo / kmdice-web.md
Last active March 31, 2019 03:56
CORS anywhere and KMDICE

Start & Sync KMDICE

Using komodo-in-a-box admin interface

Still in beta, the repo is komodo-in-a-box.

Using cli to start komodod

If you don't have a data directory or configuration First syncing the chain with this configuration and creating a data dir for wallet if one doesn't exist, otherwise just skip these commands.

mkdir ~/.komodo/KMDICE
@imylomylo
imylomylo / komodo-notary-testnet-2019.md
Last active March 30, 2019 16:48
komodo notary testnet 2019 using kvm virtualization

Testnet 2019 Install Barebones

This is a barebones install. It does not lock down SSH for key access only or configure the firewall.

This is on ubuntu 18.04

This part is for KVM VPS using make-vps from my repo Using my make-vps repository, clone an existing VPS template, start it and log in

VPSNAME=nntestnet2019 make clone18
virsh start nntestnet2019
```
mylo@cakeshop1:~$ komodod -regtest -ac_name=TTEST -ac_supply=5000 &
[1] 31633
mylo@cakeshop1:~$ Created (/home/mylo/.komodo/TTEST/TTEST.conf)
call komodo_args.(komodod) NOTARY_PUBKEY.()
>>>>>>>>>> TTEST: p2p.12379 rpc.12380 magic.8ca6aa5b 2359732827 5000 coins
initialized TTEST at 1552909428
finished loading blocks TTEST
fAddressIndex.0/0 fSpentIndex.0/0
height.0 slowflag.1 possible.1 cmp.0
@imylomylo
imylomylo / gist:f063396686a4151bf923f4cc7f8a1d8b
Last active March 9, 2019 06:07
Dart server mobile web ubuntu18
sudo apt-get update
sudo apt-get install apt-transport-https
sudo sh -c 'curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
sudo sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
sudo apt-get update
sudo apt-get install dart
echo 'export PATH="$PATH:/usr/lib/dart/bin"' >> ~/.profile
logout