90% of the World’s data was created in the past year.

We are living in a time of exponential technological advancement. Recursive machine learning & artificial intelligence, distributed systems and decentralized value transfer protocols, everything on the web creating real-time distributed consciousness. Exciting times.

This past year I learned:

  • how to program and build on the force platform
  • solve enterprise problems using SaaS
  • last but definitely not least, more about anything and everything crypto-currency.

This is going into the fourth year I have written on this blog and the stats have increased year after year. I just about hit 32,000 all time.


Hit 14,568 for this year. Not bad.


2013: A Year in Review



Some of the highlights from 2015:

  • Building some of my first Mobile Apps & Demos
  • Moving into my own apartment in SF
  • Presenting in 3 Sessions at Dreamforce
  • Winning the Coindesk Makeathon (& visiting NY for the first time)
  • Going to Texas for my first business trip

Focus in 2016:

  • Get 60K views on the blog
  • Build my own 21 endpoints to my bitcoin mining tutorials.
  • Build a solar powered bitcoin node and solar powered bitcoin miner bundle. (100 W Panel, inverter, controller)
  • Learn React.js Framework
  • Learn Python (Finish Learn Python the Hard Way) and write my own scripts on the 21.co computer
  • Learn Aura (Lightning Framework)
  • Continue to Learn Chinese (Mandarin)
  • Finish the Portuguese Duolingo & move to next one
  • Continue to learn Salesforce APEX Development
  • Use a Myo band during a demo
  • Build out end-to-end Lightning Experience
  • Get it – 185
  • Read The Intelligent Investor
  • Keep a Journal and write in it daily
  • Trade crypto-currencies daily using ShapeShift, Liquid
  • Drink more water

Funny I just looked at the journal and had already written down 2016 goals; they were pretty much the exact same.

I took a career development class in Barcelona a few years back and we had to do a mental exercise. It led me to the sentence:

I felt like a Boss because I was in my Prime

That is definitely where I need to get to. It’s just finding a balance between the craft, the activity knowledge, the learn knowledge; the energy, the effort, the execution. Autosuggestion kicked in, fully engaged, rested, on point, and dialed in.

I kept my blog on wordpress.com instead of wordpress.org. May be making the switch soon, once I have it in different languages I could hit my number.

On my Birthday in June I wrote down a few things:

  • Get Healthy Looking / Toned / Cut-up
  • Capitalize on Bitcoin
  • Read Autobiography of  Yogi
  • Build a Solar Mining Rig
  • Learn AngularJS
  • Continue Chinese Studies
  • Build a Hadoop Cluster onRpi
  • Work smart, delegate, innovate


I have bought some of my first Stocks using Robinhood. I also am currently reading the intelligent investor.


I have bought into Ether and the Ethereum platform. I am looking into other alt-coins but primarily will be investing in Bitcoin.

Taking It to the Next Level

I have a couple Raspberry Pis, a 21 Bitcoin computer, USB & ASIC Miners, Solar Panels, just ordered a BitSeed with 1 TB of storage (5+ years of future txns), I have a Tessel 2  on the way; I want to build the total Blockchain / Bitcoin system setup:

  • 100 W Solar Panel running +1 TerraHash
  • Running a Full-Node on the Bitseed + 1TB
  • Run a Full-Node on the 21 Computer
  • Run Ethereum Frontier on a Raspberry Pi
  • Run Kali Linux on the Other Pi
  • Connect the Tessel to the 21 Inc computer

Taking it to the next level is going back to my Combinatorial Creativity Through Technology. Combining all of these different technologies, JS, distributed consensus protocols.

Then expand this to Solar Farm with underground mining facility…one day. Keep programming in Python on 21 Bitcoin computer. Just writing Scripts, learning the syntax, building the memory.

Lastly My post from 2015

Lightning Network: Packets to Circuits

21.co: The Bitcoin Computer

Managing Digital Scarcity: Enterprise Cryptocurrency Applications

2015 Internet Trends



MYO Armband

Hash and Ledger

How to Setup an AntminerS5

Salesforce Lightning


Happy New Year. Live the Dream.


The Lightning Network: Packets to Circuits

There are three problems that developers see in regards to scaling Bitcoin:

  • Micropayments are not exactly cheap to make
  • the size of blocks/the blockchain over time
  • malleability

The Lightning Network aims to solve these problems by creating hash-locked payment channels facilitating instant off-chain real bitcoin transactions.

Before we can understand what the Lightning network enables, we need to have a baseline understanding of what exactly a hash and payment channel is.


A cryptographic hash function is a way to encrypt data and verify that data has not changed. The SHA256 hash function will take any input and output a 64 character string output. In order to produce a certain hash output you must know the secret input. The Sha256 hash will always produce the same output for a given data input.

domsteil –> SHA256 –> 1773a0ebb54be6bbc0c6be79fae0799046b7ecb089b11460e0070a62c6e319af

Payment Channel

A payment channel is an off blockchain P2P payment where confirmation is done by the parties involved and does not need to be announced to the network.

By combining these two technolgies we can create the hash-locked smart contracts between multiple parties to facilitate a counterparty-risk free transaction layer on top off the Bitcoin protocol.

T+3 an existing method in the financial system was created as a settlement period. The Lightning Network also creates a similar T+time settlement system using a hash-locked smart contract and appending a transaction to the resulting hash output.

Trustless Transaction Example:

Alice, Bob, Carol, and Dave.


Alice wants to pay Dave .01 BTC, but does not have a direct route.

Alice pays Bob, Bob pays Carol, Carol Pays Dave.


Dave has R, a preimage which produces cryptographic hash H within n blocks.

Dave can now get 0.01 BTC if she discloses R to Carol.

Carol discloses R to Bob.

Bob discloses R to Alice.


Pure P2P offchain settlement.

For more information read about the Lightning Network here.


21.co: The Bitcoin Computer

After months of anticipation my 21.co Bitcoin computer finally arrived. I anxiously opened up what felt like Pandora’s box to a new age of the internet. The 21.co Bitcoin Computer is the first of its kind and is the foundation for a new range of applications.

First things first, if you want to run this as a standalone machine (linux) you will need:

  • Keyboard/Mouse
  • HDMI Cord
  • Monitor
  • Wifi Dongle (Included)
  • Powercord (Included)

I plugged in the powercord and the machine is up and running.

I’m feeling nastalgic, reminds me of when I set up my first raspberrypi, USB powered hub, ASIC mining rig. The command line experience is definitely helping with the setup.

I have just logged into the system, I setup my WiFi, and I am ready to begin building!

First Hour with the Bitcoin Computer

Off that bat the first tutorial I want to setup is the Bitcoin Payable proxy to one of my Antminer Tutorials. Since S5 is still getting a lot of hits I will go with that one.

Correction: First things first, run the 21 update command in the command line.

21 update

Daft Punk Pandora in the background definitely adding to the experience I might add.

Over a year ago, I built my first Raspberry Pi Bitcoin Node preconfigured with wifi and the blockchain preloaded to an SD card, bundle it with whatever ASIC you would like. The problem I wanted to solve: Increase the number of Nodes around the world, read here. That was when there were 7,000 nodes, now we are down to 5,000. Hopefully these Bitcoin Computers are the key to strengthening the network and bringing back a decentralized state to the network.

This machine takes that idea to the next level, still running updates…

Again before I setup this proxy server for one of my tutorials, I need to setup my 21.co account and start the miner.

Updates are done I believe the screen went dark.

21 Successfully installed!

Ok now to start the miner:

21 mine

Creates a wallet for my with a 12 word HD wallet.

Ok got that written down.


Set up my Account with 21.co, have my mining payout address, and I am mining, again!

Now to check out this mining dashboard:

21 mine --dashboard

Let’s take a look. Dashboard Overview, Monitor, Log.

Running around 50Gh/s I just made 20000 Satoshis I can now use to buy API calls.


21 mine

Another 20000 Satoshis.

Ok now i’m starting to get it.

(Probably not even at the tip of the iceberg realistically)

Ok so I have 100000 Satoshi now after running 21 mine a few more times.

Time to start testing out some of these apps.


Concept of “buffered pooled mining”.

It basically allows you to quickly mine some satoshis in order to make an API call.

Caution: Before you think wait I can just run 21 mine (command) all day and I’ll be rich! If you run it too many times in a row you will be rate-limited by a difficult hashing problem sent to your chip, so don’t abuse it!

Ok sending out sms with Bitcoin. Only cost 1000 Satoshi.

Search on the web; also just a few satoshis.

Now to do this programmatically:

sudo nano search-client.py


#!/usr/bin/env python3
import json
from two1.commands.config import Config
from two1.lib.wallet import Wallet
from two1.lib.bitrequests import BitTransferRequests

# Set up a bittransfer. The wallet's private key
# is used to sign transactions, confirming that the
# balance is spendable by the given 21 username.
wallet = Wallet()
username = Config().username
requests = BitTransferRequests(wallet, username)

# Determine the price of a given endpoint, in satoshis
url = 'https://market.21.co/search/bing'
info = requests.get_402_info(url=url)

# Buy the endpoint
results = requests.post(url=url, data=dict(query='how to flip bitcoins'))

Setting up my own digital store when someone can pay me in bitcoin for access to tutorials on how to setup bitcoin miners.

This is powerful technology.

It wraps around Bitcoin as a Protocol. Enabling you to create an unlimited range of decentralized applications. I just created another user in the system.

I can now have multiple agents. This is also a great way to test any application you are building, you can have multiple users with different balances and simulate the application behavior.


21.co has released an API documentation library with four primary modules:


I am currently redoing exercises in Learn python the Hard way and building out the examples in the API documentation tutorials.


Consensus 2015 Makeathon

Our Team built a blockchain application on Tierion, the bridge to the blockchain and the only way to embed data into the blockchain at scale and receive a verifiable record of the embedded data. This application was a Claims Data process application for USAA. We successfully were able to create an Android mobile application that collects claims data and embeds the claim data into the bitcoin blockchain. A receipt is then sent to the customer and to USAA creating an auditable, timestamped trail throughout the Claims Process. We then created an integration via Zapier which then adds a new row into a Google Sheet every time a claim is made. The workflow enables Call Center users to work in excel and have data recorded back into the blockchain. For example, if the status of the claim is updated, the approval is then recorded into the blockchain and a receipt is sent to the customer. This provides a verifiable proof which can be resorted to in the case of a dispute, a transfer of insurance coverage providers, removing siloed centralized record bases, and reducing fraudulent claims and ultimately costs to the provider. This type of blockchain application built on Tierion could be the foundation for an unlimited number of industry agnostic blockchain applications eg. mortgage, financial services. I can only imagine what else will be built on this new and exciting platform.
Overall, the Makeathon had brought together a very diverse group of participants, mentors, and attendees from around the world and the Bitcoin / Blockchain community. The makeathon was held at General Assembly’s space in the Flatiron District of Manhattan, a very excellent working environment.

The three biggest themes that I believe were resonating throughout the teams:

1) Reputation is the new currency: How do you establish credit in a third-world country? How do you aggregate a reputation basis? How do you determine who can verify it? Can the blockchain be the answer to microlend, loan, fund, aid, someone you do not know you can trust? Can you embed reputation on the bitcoin blockchain or do you need to use a different tokenized asset? If so how do you distribute this token? Can you thether social network identity to decentralized blockchain identity database?

Whatever the answer, one thing is for certain: International Micro-Credit, Loans, Reputation Services, Identity; using Blockchain technology as the medium of record is being looked at closely.
2) How are you going to embedd data into the Blockchain: The Bitcoin blockchain can only have support a small amount of data being embedded into it each write. In addition each transaction cost you a micropayment but still if you are trying to embed data into the blokchain say for your entire business process, how can you create a scalable model that does not flood or spam the blockchain, is economical, and is effective?

3) Ethereum/Blockchain applications are on the way: half of the teams at the makeathon built on top of ethereum or using tools built on ethereum such as BlockApps.net. It is still very very early in these stages with Ethereum frontier being released only a few weeks ago but the platform was in high use this weekend for decentralized governance applications, aid funds, and a few other distributed consensus applications. Definitely going to be buying some more Ether.
I believe that these themes reflect that we can use the technology to model/predict outcomes, streamline processes across verticals, and given that the rules are in place automate any point in the process based on distributed consensus met/unmet inputs. This could be real-time triple entry accounting ledger, trust and verification that the funds you sent for disaster relief were indeed used properly by the company, that your Submitted Insurance Claim vehicle was indeed a recorded, processed, and approved.
I want to give a shoutout to Coindesk for doing an amazing job with the space, the food, the atmosphere and overall organizing and kicking-off this event from the beginning with the Slack group. I think they have created a great model for a top notch event where new ideas can be developed and shared and people can network about technology they are passionate about. Although I was not able to be on stage today, I was ecstatic for the team to get up there and show off what we built. It was a great experience that I am very thankful to have been selected to and to have been a part of the team that won.
Here were some of the project overrviews from the Makeathon:

-HedgeFund on Ethereum
-Reputation & Credit on distributed ledgers.
-Current reputation database
-Lending – Credit Scores on the Blockchain.
-Microlending using digital currencies and smart contracts.
-Will on the blockchain
-Reputation, Credit, Notorization on the blockchain.
OPReturn Financial Reporting , Accounting, Compliance
-Open Accounting Protocol
-Credit Scores on the blockchain.
-Credit on the Blockchain.
-Data Governance with Identity tokens on Ethereum
-Insurance Claims Data on the Blockchain.
-Resource Allocation on the Blokchain.

For more information on the project check out Coindesk’s article here.

Managing Digital Scarcity: Enterprise Cryptocurrency Applications

The internet has evolved into a real time distributed information protocol in that now we interact daily with a global consciousness, we spark digital wildfires spreading anywhere and everywhere instantly and at a cost next to nothing.Though the cost to reproduce and scale bits is next to nothing, the inability to prove transfer of digital ownership has ultimately pushed the cost to the makers. Why is it that we cannot provide a mechanism that can effectively trade and protect scarce digital assets over the Internet? What if we built content on tech that could prove transfer of ownership? How exactly would people and systems be able interact and trust this type of digital ledger?

Enter Smart Contracts, the Bitcoin Blockchain, the Salesforce Platform, Chain.com blockchain APIs and Hadoop for Big Data Analytics.

High Level overview of the above:

Salesforce is a CRM platform that contains all of your Accounts, Opportunities, and Contacts. This is where your sales users are. Real Commercial business users. Everyday. Live here.

The blockchain is a distributed, decentralized settlement database, a replicated shared ledger, a global transaction network and so on.

Chain.com is infrastructure to build on top of the Blockchain.

Apache Hadoop is a distributed database used for bigdata analytics.

So the idea is I can use Hadoop to analyze the blockchain, essentially tapping into a distributed concensus protocol which provides an augmented layer of security and functionality around the entire global B2B BUY and SELL processes. Then use Chain APIs to bring these analytics into Salesforce where all of our business users are.

We are building three things: the mobile interface to the blockchain on Salesforce, the blockchain analysis on Hadoop, the international platform for settlement.

In Salesforce we can manage our customers and our essential business processes. However, often this database often has trouble maintaining data across orgs. The blockchain may be a solution to this problem.

Accounts – We can manage account information in Salesforce and embedd it into the blockchain thereby updating everyones Account information across the different org. For example we could update an address in one account in an org, send it to the blockchain and then have it update in the other orgs.

Opportunity – We can manage who owns what opportunities and embedd it into the blockchain so that their is a consensus and proof of ownership. We can preprograme milestones within Corporations based on growth, asset numbers, # of associated x and have these embedddd in the blockchain.

Machine Example:

– It is managing it’s opportunities with these Accounts

– We have quotes automatically generate twice a week on Tuesday and Thursday. Once the quote is approved by the gatekeepers the SmartQuote generates a contract and an order. Once the SmartContract is signed by the gatekeeper with the deliverables determining inputs/outputs, expectations, coded IF statements, the order is uploaded and managed in the blockchain creating a record database of users orders all in real time. The financial elements of the contract are managed in the blockchain and transferred in and out of the org.

– We now can run Hadoop analytics from our Configure and Price data and augement insight into our Supply Side logistics in real-time
– Less risk, more automation of trust.

We can code SmartContracts between companies into the Blockchain. Automated Approvals activated through data called from the Blockchain eg. IF value of x(some address) < or > y (some arbitrary amount) then fire approval; – IF value of x(some arbitrary data) < or > y(some arbitrary amount) then activate z (SmartContract)

We can manage the financial elements of the SmartContracts using the Blockchain eg. IF value of x(some address) < or > y (some arbitrary amount) then generate an invoice; IF value of x(some address) < or > y (some arbitrary amount) then pay y to z (Some other address); IF value of x(some arbitrary data) < or > y (some arbitrary amount) then put an order through.Thus creating Real-time Triple Entry Accounting (Party A, Party B, and everyone else with a copy of the chain, people and machines. Your data is computed into the blockchain using a SHA-256 hash function and we can leverage this append only log as a foundation for an unimaginable number of applications.

Realtime fields that are updating within Salesforce based on external data sources. commodity prices, stock prices, currency prices,
Taking external databases such as a blockchain and then porting that data into Salesforce using External Data Source API then in realtime updating salesforce fields based on data in the blockchain. We can then stream the data changes to Lightning Components on the Salesforce1 Mobile Application




The big question:









2 innovations: HD wallet from an Account Level or USER LEVEL  A KEYCHAIN With a ONE TO MANY RELATIONSHIP WITH KEYS

Commercial Use Case

EXHIBIT 1 crypto exchange car

Your car has a public key hard coded into it and YOU have a car key which has the private key, the ONLY key that can authorize the signature to start the car.

LETS SAY via bluetooth you are able to approach and enter the car. THIS CAR can dynamically update its public key via the blockchain. We can transfer title of the asset in one transaction on the blockchain.

THE transaction constitutes a change in ownership on the distributed ledger.

ONE TRANSCTION ************** 2 inputs *************** 2 outputs **************

THIS. Couples the transfer of the car and the transfer of payment with no itermediary.

The exchange is PUBLISHED to the blockchain two inputs simultaneously provide a Counterparty risk free transaction and two new outputs.

**********FARM USE CASE *****************

You’re an avid preserve maker and so you buy a smart contract, committing to buying 5 pounds of strawberries if the price goes below $5 a pound. Since the contract is binding and automatically executed, the farm can use it to forecast their revenue for the season.


The Automation of Trust

All of these cryptographic protocols are built using a distributed settlement system and smart contracts. It is a industry agnostic solution.

Ultimately if crypto takes off, all of these smart contracts will need to be managed. Version control, renewals, sending for signature, but where will this management take place?

will the two parties be able to negotiate contracts on different platforms ie one built in ethereum and one with hedgy?

When negotiating a contract are we negotiating the code that is governing the contract.

Lastly, notes from ideo interview with Adam from chain.com




more design thinking

P2P Network

With one file “THE BLOCKCHAIN”

one replicated, new transaction! new transaction! concenses

Concensus Process

Everyones Ledger Updates

IP For moving money around.

HOW DO YOU MOVE A FILE, some value such that once you move it you no longer have it.

Makes digital things unique.

Digital Scarcity.

We can make something scarce.

A digital scarcity protocol.

Have a unique piece and it no has intrinsic.

Digitally Sign a song and then one could assert wither they have the original.

Peers on the network GOSSIP.

This transaction just hit me, I’m going to tell you guys about it.

GOSSIPING about transactions.

in ten minutes the TRUTH is put in stone.

We append to the last block which then appends to the next block

so as blocks are chained.

transactions are chained.


blockchain are just inputs and outputs
inputs and outputs aggegrated in blocks
the agreed upons state of the network

anyone and everyone who connects to the network (downloads the blockchain) now has a copy

every transaction is public but not linked to an identity or account

the addresses are like disposable receivers
Bunch of amounts and no names.

CHAIN is making it easy to build with Bitcoin.

infrastructure provider
Heroku or AWS, or STRIPE for payments, or TWILIO for telecom infra = CHAIN in the Bitcoin Space

Managing Keys

APPS on top of chain


Send Remittances from Europe to Kenya to the M-PESA

VIRTUAL WORLD – ECONOMIC Activity in the Game

integrate Bitcoin in the game

People building Invoices products

volatility is like spam in email

fluid financial derivatives market

Value getting return for the value that they have helped create.

New way to monetize assets.

We all have wifi hotspots.

How can we meter that?

Blockchain enabled meter from one wifi netowrk to the next.

Tracking usage and then a bill.






2015 Internet Trends

Angular JS

Model: The data shown to the users. The model data are simple javascript objects.

View: This is what the users see when they visit the page, that is after the raw HTML template involving directives and expressions is compiled and linked with correct scope.

Controller: The business logic that drives the application

This framework is known as MVC.

Scope: A context that holds data models and functions. A controller usually sets these models and functions in the scope.

Directives: Something that teaches HTML new syntax. It extends HTML with custom elements and attributes.

Expressions: Expressions are represented by {{}} in the HTML. They are useful for accessing scope models and functions.

Template: HTML with additional markup in the form of directives () and expressions {{}}.

The key to this framework binding the model data to the view unidirectional; that is, syncing from model to view. Angular JS evaluates the expression and replaces it with the calculated value; THIS. the expression is re-evaluated each time any of the data models it depends on changes, THUS updating the DOM.

The UI is separated from business data of the application through a Controller which handles inputs, delegates the tasks to business logic and coordinates with the model and view.

This framework is meant for data driven applications and RESTFUL integrated applications. It drives the UI.