Weekly Dev Update #2

THORChain Weekly Dev Update for Week 29 June–04 Aug 2019

Weekly Dev Update #2

Overview

BEPSwap Development

The team are working on 5 parallel streams of effort to deliver BEPSwap, which remains the primary focus.

  1. Cosmos-powered SDK StateChain
  2. Cross-chain infrastructure
  3. Threshold Signature Scheme implementation
  4. Front-end Integration for BEPSwap
  5. Other development activities

StateChain

  • Upgrade to latest Cosmos-SDK
  • Implement XYK Swap function as swap.go module
  • Added the staker functionality, including ability to withdraw
  • Add service to insert the completed Binance Chain tx hash to provide an audit trail.
  • Added ability to send state-change transactions directly as a message, instead of via cli

Cross-chain Infra

  • Built basic building blocks for a complete cross-chain service
  • Improved redundancy of web-socket connection
  • Improved ability to sign transactions and broadcast to Binance Chain
  • Built an internal PoC to test infrastructure
The first CLP-based swap of tokens from the PoC.

Threshold Signatures

  • Deployed TSS scheme to construct and sign Binance Chain transactions
  • Fix bug in Binance Chain Go-library for incorrect address generation.
A completed and verified Binance Chain TSS signature

Front-end Integration

  • Framework set up for the upcoming BEPSwap tutorial page.
  • Staging environment deployed.
  • Internally tested
BEPSwap Tutorial will be deployed this week.

Other Development

RUNEVault continues to be improved since it is serving as a vital testing ground for BEPSwap. This week the following was deployed:

  • Wallet Connect
  • Leaderboard
  • Metrics
RUNEVault Leaderboard

Known issues:

  • Wallet Connect for Android not available
  • Occasional keystore file error (fix is to refresh the page and try again)

THORChain

THORChain’s bridging infrastructure is heavily dependant on the success of the TSS implementation on BEPSwap, so BEPSwap will deliver invaluable learning experience for the team. ASGARDEX will borrow heavily from the UX feedback from BEPSwap as well, so it is important to focus heavily on a successful launch of BEPSwap.

Ongoing research is being done about how to speed up and secure the TSS implementation, such as this recent paper which describes a secure MPC protocol to perform a full-threshold n-party computation over a subgroup of an elliptic curve group:

Upcoming

This week has the following activities planned:

  • Statechain: refactor to change how transactions are batched (will reduce load on TSS signing).
  • Cross-chain infra: more work to build out a redundant service.
  • Frontend: ship the BEPSwap tutorial.
  • RUNEVault: deploy a telegram bot.

Timelines

The team are working for these milestones. These timelines are indicative, but it is important for the team to deliver with high productivity and constant community feedback.

RUNEVault:

  • Shipped Mainet on-time
  • Telegram Bot Week 3

BEPSwap:

  • Testnet August 2019 on-time
  • Mainnet September 2019 on-time

THORChain:

  • Testnet Q1 2020 on-time
  • Mainnet Q2-Q3 2020on-time

Community

To keep up to date, please monitor community channels, particularly Telegram and Twitter: