Weekly Dev Update #102

THORChain Weekly Dev Update for Week 102, 2–8 August; 5 Pronged Recovery Plan Update, Timeline, SCCN Update, Community Updates

Weekly Dev Update #102
New Image for Dev 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.

Halborn Public Schedule

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

https://thorwallet.org/

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

https://www.runeyield.info/

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

https://thorchain.network/

Bridges

How to bridge to THORChain? This is a serious undertaking, a dev should be sponsored for 6–12 months:

  1. Read https://gitlab.com/thorchain/thornode/-/blob/develop/docs/newchain.md and https://docs.thorchain.org/chain-clients/overview
  2. Implement the Chain Client https://gitlab.com/thorchain/thornode/-/tree/develop/bifrost/pkg/chainclients
  3. Add to Node Launcher https://gitlab.com/thorchain/devops/node-launcher
  4. Add to XChainJs https://github.com/xchainjs/xchainjs-lib
  5. Launch on Mocknet — demo to community
  6. Launch on Testnet, stabilise. Must be run successfully for a few weeks with no issues.
  7. Launch on Mainnet, stabilise
  8. 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

  1. Complete Audits of THORNode code — Asap
  2. Network Restart (send RUNE, Bond, receive Block Rewards) — August
  3. Ragnarok (Shutdown) SCCN — August
  4. BNB Chain online — August
  5. UTXO Chains online — September
  6. ETH Chain online — October

Community

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