Weekly Dev Update #2
THORChain Weekly Dev Update for Week 29 June–04 Aug 2019
Overview
BEPSwap Development
The team are working on 5 parallel streams of effort to deliver BEPSwap, which remains the primary focus.
- Cosmos-powered SDK StateChain
- Cross-chain infrastructure
- Threshold Signature Scheme implementation
- Front-end Integration for BEPSwap
- Other development activities
StateChain
- Upgrade to latest Cosmos-SDK
- Implement XYK Swap function as
swap.gomodule - Added the
stakerfunctionality, 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

Threshold Signatures
- Deployed TSS scheme to construct and sign Binance Chain transactions
- Fix bug in Binance Chain Go-library for incorrect address generation.

Front-end Integration
- Framework set up for the upcoming BEPSwap tutorial page.
- Staging environment deployed.
- Internally tested

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

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 2020
on-time
Community
To keep up to date, please monitor community channels, particularly Telegram and Twitter:
- Twitter: https://twitter.com/thorchain_org
- Telegram Community: https://t.me/thorchain_org
- Telegram Announcements: https://t.me/thorchain
- Reddit: https://reddit.com/r/thorchain
- Github: https://github.com/thorchain
- Medium: https://medium.com/thorchain