Weekly Dev Update #102
THORChain Weekly Dev Update for Week 102, 2–8 August; 5 Pronged Recovery Plan Update, Timeline, SCCN Update, Community Updates
Summary
Lessons have been learnt and action has been taken!
THORChain’s 5 Pronged Recovery Plan Update
1) Stop and Audit (Halborn + Trail Of Bits)
2) Red-teams (Halborn + THORSec team)
3) Bounty Program (Immunify)
4) Harden the Protocol (6 new features added)
5) Insure the TVL. Tidal, more coming.
Stop and Audit Update and Timeline
Haborn Trail Of Bits audit continues looking at just about all aspects of THORChain’s codebase.
Timeline
- THORChain code — ongoing
- Binance (early Sept)
- UTXO (late Sept)
- Ethereum (early Oct)
See progress details here and here.

THORSec Announced
Introducing THORSec; an always-on offensive team of competent whitehats, which will be provided by Nine Realms. THORSec is a unique security function funded by the treasury, but distinct from core devs and external auditors.

See more details here.
Bounty Program
Bounty Program in use having a “P1 vulnerability relating to a possible infinite mint of RUNE” responsibly disclosed and patched. Up to $500,000 will be awarded per bug.
Bugs can be submitted at https://bugs.immunefi.com. Nine Realms will assist with triage.
Hardening the THORChain Protocol
Steps taken to make THORChain more resilient to attacks and network uncertainty. Read full details here. Code details below.
Automatic Solvency Checker (ASC)
https://gitlab.com/thorchain/thornode/-/merge_requests/1797
https://gitlab.com/thorchain/thornode/-/issues/1046
Granular Network Pause Controls
https://gitlab.com/thorchain/thornode/-/issues/1054
Node Timeouts
https://gitlab.com/thorchain/thornode/-/merge_requests/1847
Insurance
THORChain is in discussions with insurance providers (Nexus Mutual, Harbour & Tidal) to provide protocol level insurance to protect the TLV.
Last call for SCCN (BEPSWAP) before Ragnarok!
Very soon THORChain will move to Ragnarok Single Chain Chaosnet. The time is now to withdraw any funds. This will allow the code focus more on MCCN.
Updates
No THORNode MCCN updates — on 0.62.1.
SCCN Update — SCCN will be Ragnaroked over the Weekend. Last chance to withdraw before the Ragnarok. The team are in contact with the last remaining operators to step in if something goes wrong. Time to Ragnarok and Roll.
Community Updates
— July 2021 — THORWallet Update —
App & Blockchain
- New features such as Send Assets / Receive Assets / Swap Assets available and tested on both testnet / mainnet.
- Implementation of Slippage formula
- Implementation of Swap Output formula
- Copy to clipboard address
- Address QR Code
- Drawer in main navigator with social icons and build / version number
- Settings with new features such as recovery phrase available
- First TestFlight users onboarded (private beta)
- UI Improvements
- TGT (Thorwallet Governance Token) successfully minted and deployed
- Vesting contract deployed
- Staking contract currently under review
Business:
- close of funding round (2.5m)
- continuing regulatory initiatives (legal setup & tax)
- starting with terms & conditions for app
What’s next
- Swap finalization
- Liquidity Pooling
- Setup Marketing Campaign

RuneYield Update 26/07–01/08
- Prepared to remove SCCN support from RuneYield.
- Prepared to display LP value in USD, BTC, and RUNE.

DevOps Weekly Update (8/2–8/8)
cluster-launcher
- Update dependencies and upgrade Kubernetes to Version 1.21 on Azure
- Update dependencies and upgrade Kubernetes to Version 1.21 on hcloud
THORmon
-Maintenance

Bridges
How to bridge to THORChain? This is a serious undertaking, a dev should be sponsored for 6–12 months:
- Read https://gitlab.com/thorchain/thornode/-/blob/develop/docs/newchain.md and https://docs.thorchain.org/chain-clients/overview
- Implement the Chain Client https://gitlab.com/thorchain/thornode/-/tree/develop/bifrost/pkg/chainclients
- Add to Node Launcher https://gitlab.com/thorchain/devops/node-launcher
- Add to XChainJs https://github.com/xchainjs/xchainjs-lib
- Launch on Mocknet — demo to community
- Launch on Testnet, stabilise. Must be run successfully for a few weeks with no issues.
- Launch on Mainnet, stabilise
- Maintain the chain client, be on deck for hard forks, client updates and more.
Deployed to MCCN
- Bitcoin: Deployed to chaosnet
- Ethereum: Deployed to chaosnet
- BitcoinCash: Deployed to chaosnet
- Litecoin: Deployed to chaosnet
UTXO Chains
- Dogecoin: Complete, will be activated after MCCN
- ZCash: Scoped, rain-checked
- Decred — Ongoing
- Dash — Ongoing
Cryptonote
- Haven: [paused due XHV bandwidth]
- Monero: Pending Haven implementation
Custom
- Cardano — Scoping
- Polkadot: [depends on THORNode ED25519]
- Avalanche: Scoped, WIP with team to investigate options
- Zilliqa: Scoped, rain-checked
- Solana: [depends on THORNode ED25519]
EVM Chains
- Binance Smart Chain: Likely after MCCN
- Ethereum Classic: Rain-checked
- Rootstock: Rain-checked
- Arbitrum: Rain-checked
IBC
A development partner has been found and will begin building IBC bridges.
Pending IBC integration — Cosmos, Terra, Kava, Secret Network, Injective Protocol, Sifchain, Akash Network.
Next Milestones
- Complete Audits of THORNode code — Asap
- Network Restart (send RUNE, Bond, receive Block Rewards) — August
- Ragnarok (Shutdown) SCCN — August
- BNB Chain online — August
- UTXO Chains online — September
- ETH Chain online — October
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
- Gitlab (primary): https://gitlab.com/thorchain
- Github (secondary): https://github.com/thorchain
- Medium: https://medium.com/thorchain