Weekly Dev Update #1
THORChain Weekly Dev Update for Week 21–28 June 2019
Overview
BEPSwap Development
The team are working on 4 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
StateChain
- Begin porting over instaswap blockchain and refactor
- Add definition of
PoolUnitsandStakeUnitsto decouple staking from pool balances - Enable staking, swapping and double swapping
- Improvements to Rest interface
Cross-chain Infra
- Connect Binance Chain websocket to observe pool addresses
- Build redundancy into web-socket service to improve reliability
- Follow-up logic to retrieve transaction memo from Binance Chain transaction API
- Transaction signing using Binance Chain Go-SDK
Threshold Signatures
- Implement
2 of 3TSS and benchmark (based on Genarro-Goldfeder) - Implement
8 of 11TSS and benchmark - Optimisations for Multi-party computation (MPC)
- Coordinated networking for MPC
- Deterministic signing order protocol
Front-end Integration
Framework set up:
- React / Redux / Redux-Saga
- Ant Design
- Styled-components
- React-Intl
- Storybook
- Jest / Enzyme for Unit Test
- ESLint / Prettier for Code Linting
- GitLab CI
- Firebase Hosting
OpenSource
The project repositories are currently closed-source to allow the team sufficient time to build a strong base, but will be open-sourced with bug bounties in the next month.
Other Development
RUNEVault was launched based on a suggestion from the community, but due to the level of engagement from the community, the team are now devoting extra resources. Upcoming efforts:
- Wallet Connect
- Leaderboard
- Metrics
- Telegram Bot (@runevaultbot)
RUNEVault is open sourced:
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:
https://eprint.iacr.org/2019/768.pdf
Upcoming
This week has the following activities planned:
- Statechain: integrate and test using Binance Chain addresses.
- Cross-chain infra: deliver a PoC with redundant processes.
- Statechain: test and implement withdrawal logic.
- Frontend: deliver a MVP with core UI components complete
- RUNEVault: improvements as discussed above.
Timelines
The team are working for these milestones. These timelines are indicative, but it is important for the team to work to deliver with high productivity and constant community feedback.
RUNEVault:
- Shipped Mainet
on-time
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