Weekly Dev Update #12

THORChain Weekly Dev Update for Week 08–14 Oct 2019

Weekly Dev Update #12

**TRADING PAGE TO BE SHIPPED THIS WEEK**

Users will be able to interact with the new arbitrage screen which allows traders to quickly view and capture arbitrage opportunities between BEPSwap and Binance DEX.

Assets can be acquired via the new @bepswapbot which is a faucet on Telegram.

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

The tech spike into Validator Churn was continued into the week with more churn mechanisms built into the chain. The end goal is to ensure that standby nodes can enter the active validator set, and the oldest existing validator to be removed. At the same time, all existing pool assets must be moved over.

Cross-Chain Infrastructure

A full transaction testing suite was built to allow all transaction types to be tested prior to a new statechain being deployed. Currently over 30 edge case are tested and logged. Test transactions are sent on Binance Chain, to be observed, processed and signed.

The testing suite can be found here:

https://gitlab.com/thorchain/bepswap/smoke-tests

FrontEnd

A significant amount of work was put into building out the trading page, as well as the “one-click” arbitrage logic.

The frontend scans both the pool, as well as the DEX order books, before calculating the trade opportunity.

The following rules of thumb were contrived, and found to have a 98% accuracy:

Rule-of-Thumb to arbitrage the RUNE pool
Rule-of-Thumb to arbitrage the Token pools
Completed Trade Page

Threshold Signature Scheme implementation

Work continues to build out an all-in-one TSS to ensure that it can handle a number of edge cases for the statechain. It is scheduled to be integrated into the Statechain from next week.


Whats Next?

To ship mainnet, the team are aiming for this:

Frontend:

Feature complete swapping, staking, trading.

Chain Service:

Feature complete public RESTFul API with potentially a stable GraphQL service.

Statechain:

Feature complete with 3 of 4 of 5 weekly rotation, with ability to upgrade client software and potentially KVStore with no hard forks or coordination, including TSS.


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.

Other Development:

  • RUNEVault: July 2019 shipped
  • Telegram Bot: August 2019 shipped
  • Bep2Bot: August 2019 shipped

BEPSwap:

  • Testnet: August 2019 shipped
  • Community Testing: shipped
  • Mainnet: Q4 2019 on-time

THORChain:

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

Community

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