Pragmatic bootstrapping

In our recent updates I’ve been talking about our metered billing tests and careful work implementing the client-side components of our payment channels.

For those that don’t already know payment channels are a blockchain application that allows two parties to create a pool of funds on the blockchain that can then be freely swapped offline. This is the foundational technology that will allow your Althea router to pay it’s neighbor fractions of a cent at a time.

Sadly payment channels are fairly complicated to setup and it’s clear that working out the logic is going to take a several more weeks. In frustration we looked up how much it would cost if we just sent the money the old fashioned way to the blockchain.

Surprisingly this was a lot more feasible than the last time we checked. Due to the current price of Ethereum it’s viable to send a transaction every 36 cents of usage and pay a 5% fee. That comes out to about once every hour.

This is nearly free compared to credit cards, which usually start at 20c or more as their minimum fee. More than good enough for us to work with for now.

Once that was decided it only took a few days to get my testbench routers to start paying for their bandwidth.

This lets us get onto testing the rest of the system in parallel. Accelerating our timeline by at least a month.

Limitations on channel-less payments

Obviously if the whole world used Althea this wouldn’t be viable, likewise it’s always possible for CryptoKitties to strike and lock up the entire blockchain again.

To remedy this temporarily I’ve added some dynamic fee computation that will keep the fees to 5% by slowing down the payment rate as the network grows more congested.

If fees increase to 10x their current amount routers will adjust to send payments for every $3.60 of bandwidth used and so on.

At a 100x increase in transaction fees this strategy is no longer viable, paying every $36 of bandwidth used simply exposes the user to too much fraud risk.

The risk of fees increasing more than 10x in the time period between now and when channels are ready is pretty small.

What’s left?

Network DAO payments:

We’re doing some final patching on the Network DAO app. I wouldn’t be surprised if we had our first Network DAO up and accepting real money by my next update.

Bandwidth Payments

With channel-less payments I estimate QA will take all of this coming week and into next week. Followed by deploying testnet payments to our Clatskanie network.

Provided that goes well we just need to finish up the free tier and enforcement. These are pretty straightforward features, hopefully we’ll be moving real money no later than the New Year.