Weekly Dev Update #3

THORChain Weekly Dev Update for Week 05 Aug –11 Aug 2019

THORChain
THORChain
2 min readAug 12, 2019

--

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

  • Refactor chain to aggregate all pools into one pool, move pool address to be dynamically set by validators.
  • Build refund logic and criteria (incorrect memo or asset)
  • Build admin transaction logic allowing global variables to be set by validators.
  • Build globalSlipLimit and tradeSlipLimit which adds a limit to slip, and refunds users if the trade goes over. This prevents front-running or unexpected trades.

Cross-chain Infra

  • Audit and test the txIn array generation by the Observer.
  • Audit and test the txOut array generation to be sent to Signer.
  • Connect Observer to the Statechain.
  • Skip json formatting so that transactions sent to statechain are already correctly formatted.

Threshold Signatures

  • Refactored code to complete Binance Chain multi-send transactions
  • Benchmark and test for 3 of 4 and 8 of 11.
  • Deploy and test.

Video:

Front-end Integration

  • BEPSwap tutorial page launched to public.
  • Begin work for MVP which will have Wallet, Swap and Stake pages.

BEPSwap interactive tutorial:

Other Development

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

  • THORChainBot was launched with basic news, info and RuneVault Leaderboard metrics.
  • Tip Bot was added, with tipping and withdrawing working.
  • Transaction and tipping history built.

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.

Upcoming

This week has the following activities planned:

  • Statechain: complete integration to handle test cases.
  • Cross-chain infra: complete integration with statechain.
  • Frontend: work to deliver MVP pages.
  • RUNEVault: Add RUNE deposits to the THORChainBot.

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 shipped
  • Telegram Bot shipped

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:

--

--

THORChain
THORChain

The official team for THORChain — the decentralized liquidity network.