June Development Update

Loong
Ren Protocol
4 min readJun 25, 2020

--

Since our last development update, RenVM was at long last released to Mainnet, after more than a year of designing, building, testing, and auditing. This is, by far, the greatest achievement of the Ren project to date. With it, begins a new era of cross-chain interoperability, where we can finally begin breaking down the silos between chains. Go here to get your BTC onto Ethereum, if you haven’t already.

RenVM is now in the first epoch of its existence. But, it has already seen an awesome amount of adoption. There are still several days left until the end of the first epoch, and so far, we have already hit $8M USD of locked value, $18M USD of total volume, and a peak of $3.5M USD daily volume. At a low-level, RenVM itself has performed admirably. There has been zero down-time, zero failures to mint, and zero failures to burn.

With such a large milestone in the rear-view mirror, it is now time to look forward to the road ahead. What comes next? What are the goals of the project? There is a lot to talk about here, and there will certainly be more discussions to come, but today, I would like to talk about some of the development that has been happening and give a bit of a taste of what is to come.

Open-sourcing RZL MPC

One of the most important technical goals for the project is getting to a stage where we are comfortable open-sourcing our implementation of the RZL MPC algorithm. While there are many non-technical aspects to this, there are also some technical ones.

Over the last month, our dev team has begun decoupling our MPC implementation from the rest of our codebase, making it easier to iterate, test, and understand. As a part of this, we have been implementing new optimisations (our secp256k1 arithmetic is now up to 90% faster), building multiple versions of some parts of the codebase to gain even more confidence in its correctness, and moving to a new design centered around composable state machines. All of this comes together to make a codebase that is simpler, safer, faster, and easier for everyone to understand.

We have begun engaging with several auditing teams to review these changes, and once they are completed, we will be ready to make the codebase available under the GNU GPL v3 license.

Expanding the Multi-chain

To support new chains, both origin chains (e.g. Bitcoin) and host chains (e.g. Ethereum), RenVM uses an interface known as the multi-chain. Until now, the multi-chain has been focused on Bitcoin-like and Ethereum-like chains. But, since the release of Mainnet, the team has begun expanding and standardising this interface to support more and more chains.

To this end, we have begun prototyping support for cross-chain transactions on new chains, with an initial focus on Substrate. This will not only make it possible for the Polkadot ecosystem to make use of BTC, BCH, and ZEC (like the Ethereum ecosystem now can!), but it will also allow Substrate smart contracts to communicate with Ethereum smart contracts (and vice versa). This will open up a whole new kind of interoperability, one where dApps will be able to span more than one chain.

Improving Airwave P2P

Airwave is the P2P library used by RenVM for inter-node communication. For the last few months, we have been working on v0.4.0 of Airwave, focusing on improving its performance, its feature-set, and its forwards-compatibility.

Gossiping over encrypted, fault tolerant, self-healing connections, has been benchmarked at speeds as fast as 100 nanoseconds/message with zero memory allocations. While these speeds are over local networks, it goes to show how little overhead and resources will be required to run Darknodes in the next release. Overall, these improvements mean more throughput, for less expense, resulting in more profitability for Darknodes. We have also focused on improving its rate-limiting and filtering capabilities, making it safer in malicious settings.

Now, we are final steps of stabilising its API, writing more tests (on both local and globally distributed networks), and documenting it so that it can be used by other projects too.

Governing Changes

This month, we ran our first experiment with engaging the community to discuss the adjustment of the minting and burning fees incurred by the users of RenVM. We received over 500 votes, but more importantly, members from the community jumped at the opportunity to express their views and weigh up the various trade-offs. These were the first, albeit baby steps towards community-driven governance.

Over the coming months, we will continue to encourage the community to get involved in these decision making processes, and will experiment with a variety of different governance implementations and incentives. The community can expect that more decisions will begin to be influenced/made by active members of the community, and the collective of nodes that power RenVM.

It has been an exciting month, with the successful launch of RenVM Mainnet bringing millions of USD worth of new collateral to Ethereum. A huge thank you goes out to all of the community members that supported the Ren project, challenged its designs and offered constructive criticism, and, of course, registered nodes to power RenVM. None of this would have been possible without you!

The next few months will be even more exciting, as RenVM continues to take more steps towards greater adoption, increased throughput, and support for more chains.

— Loong Wang, CTO, Ren

About Ren

Ren is an open protocol that enables the permissionless and private transfer of value between any blockchain.

Website | Docs | Telegram | Announcements | Twitter | Reddit | Github

--

--

Loong
Ren Protocol

Building an open protocol that facilitates the permissionless and private transfer of value between any blockchain | CTO at Ren