Weekly Dev Update #100
THORChain Weekly Dev Update for Week 100, 18–25 July: 2nd ETH Exploit, Chain Halted, Reviewing Information, Bounty Program Update, MCCN…
THORChain Weekly Dev Update for Week 100, 18–25 July: 2nd ETH Exploit, Chain Halted, Reviewing Information, Bounty Program Update, MCCN Updates 0.61.0, 0.62.0, 0.60.1 Midgard Update 2.4.0, Community Updates
Summary
This marks 100 weeks of development updates! Nodes were updated following the first ETH exploit and network resumed trading. Nodes & Midgard updated. A big community development update given. A second ETH exploit was detected and trading was halted. Information has been gathered and is being reviewed to decide the best course of action going forward. Passionate community engagement seen after the exploit.
ETH Exploit, Chain Halted and information gathered
THORChain suffered another ETH based exploit and the protocol was halted again with the intention of it being a longer halt. This promoted a very large community response. Data has been collected regarding the exploit.
- The Data https://www.notion.so/THORChain-Incident-07-16-e08a7be6cf4c4bce95ba2636759709e2#c5f8922b241c47888767012c89a8af1d
- The Proposals going forward https://www.notion.so/Proposals-6eb7f21707f647fe8dbbd5ae5867a044
Information is being reviewed — it take time before the protocol can be fully operational.
On the haltTrading Actions by mimir:
- Originally halted on blockheight #1480200 (https://viewblock.io/thorchain/tx/F43F6B3D34E787132C51A64784E8C32ED6F167DF44E91796C9780D9700E14A98)
- Momentarily re-enabled on #1482145 https://viewblock.io/thorchain/tx/01153E28C6A3B706D8CDD41B259600E02290E50C2FA2713189B6CFE83C29B330
- Halted again #1482401 (25 mins later) https://viewblock.io/thorchain/tx/5D215660B98071913E0037913BE9428410BDA72FA400A01701801FABFD310F4B
On review of the data, this was the incorrect thing to have done, and mimir-admins are reviewing their decision-making processes with respect to this incident. mimir-admin is a temporary measure until mimir-node is enabled.
Bounty Program Update
There is a recognised need for a formal bounty program. The team is working with the community to draft a formal bounty program and will be released soon.
Updates
UPDATE 0.61.0
- [ADD] Chain-specific halt trading. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1807
- [ADD] Purge ETH chain txs on outbound queue. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1818
UPDATE 0.62.0
[bugfix] execute irregular update to v62 . PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1825
UPDATE 0.62.1
Goal of release 0.62.1 is to allow bifrost to sign all ETH outbound transactions again. This release contains the following two changes
- Revert the logic which skip all ETH chain outbound transaction. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1824 2)
- Whitelist smart contract address. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1821
Midgard Update 2.4.0
Midgard version 2.4.0 pushed to Chaosnet https://gitlab.com/thorchain/midgard/-/releases/2.4.0
Community Work
THORChain.com
- Redesign based on community mockup
- Copy editing
- Improved Learning Resources page

Weekly Updates (7/12–7/18)
- Ongoing work to get synths in place for testnet, should be pushed very soon
- Integrate XChain updates + corresponding code updates
- Small bug fix for XDEFI ERC20 approve
- Small bug fix to allow 0 RUNE withdraw tx
- Deposit RUNE before asset on pool creation
SKIPexchange Weekly Update (7/12–7/18):
- xrune coingecko price fix
- update maintenance appLock
- disable withdraw on halted chains & update messages
- Desktop UI updates (July milestone):
— Testing Walletconnect/Metamask
— polishing UI/UX
— Testing Assym deposit/wthidraws
https://app.skip.exchange/swap
Decentralfi.io dev update # 4
-Liquidity Dashboard MCCN: have added total withdrawn, also quickly glance at your % in liquidity, Also see your returns in USD/RUNE or Asset. We also extrapolate to have an idea of your 1Y ROI(will improve with a weighted average to have even more useful data) THORChain.
https://decentralfi.io/liquidity?wallet=thor19adxmek0d50evc8glpraul66g968zajxqkan8a
-Added time filter to see your positions historical performance as well as calculating the relative performance of your LPs in the TF selected.
-Added days in liquidity to each position, for quick info. Will add info with regards to impermanent loss calculation.
-Updated the THORChain info bar with more critical network information, now displaying outbound queue.
-Easily add up to ten wallets to track, with or without liquidity. Also, easy copy and link to native block-explorer we are working in portfolio, and trading functionality.
-Decreased overall size of pool listings on homepage to accommodate for more pools above the fold and added functionality that displays total assets in wallet(excludes liquidity, for now). Also working on hide figures.
-Edit wallet section has been improved(read-only at the moment), new option to remember new wallets.
-Major updates to our mobile interface as well have occurred, for a better smoother interaction. Will continue to improve/optimize all of our interface for mobile, will also work on native apps.
-On the team side, now 7 strong, we have on boarded 3 new people: jr dev, qa, mobile dev, and more time from the current sr dev. Still trying to add 1 more.

Dragons Dex Weekly Update (19 July — 25 July)
- xchain-dart: added a named Constructor for creating read-only Clients without seed phrases.
- xchain-dart: implemented rudimentary implementation of the getBalance() function for the EthereumClient.
- xchain-dart: added various tests for parsing data.
Xchain.net Weekly Update (19 July — 25 July):
- Xchain.net.Throchain client implementation completed
- Added All Models and Submodules Related to Deposit Function
- Deposit Function completed and tested
- Transfer Function implemented , tests are ongoing
- AminoWrapper and Json Conversions implemented
- Xchain.net.Cosmos Functions Related to Xchain.net.Thorchain Implemented
https://github.com/SLjavad/xchain.net
Weekly Update (7/19–7/25)
cluster-launcher
- Testing THORNode VolumeSnapshot feature on multiple providers
- Upgrade Kubernetes to Version 1.21 on Digital Ocean
- Update dependencies on GCP
- Integrate patching of storage classes — GCP
- Add VolumeSnapshotClass on GCP
- Upgrade Kubernetes to Version 1.20 on GCP
- Update dependencies on AWS
- Upgrade Kubernetes to Version 1.21 on AWS
- Add Common Snapshot Controller on AWS
THORmon
Frontend
- Keep entire node_address searchable when truncated
- Refine column sorting
- Make table header clickable and improve CSS
- Fix indicator for nodes churning IN
- Display average block time per second
- Fix dark mode CSS
- Add auto-pause feature when site not visible
- Improve info details in Header and Help Window
- Refactorings
- Adapt stream network to new backend settings
Backend
- Change stream and network configs
- Base URL refactoring
- Kubernetes DNS improvements

TRX1’s Weekly Dev Report (19/07–25/07)
- merged the desktop UI/UX updates
- merged the new xchainjs update
- fixed some pool list issues
- other minor bug fixes
xchainpy weekly update (19/07–25/07)
– secp256k1Crypto was replaced instead of secp256k1 to make using xchainpy_binance on windows and mac simpler
- BaseXchainClient class added to xchainpy_client
- fix some bugs in tests
- generate_mnemonic function (in xchainpy_crypto) updated
RuneYield Update 19/07–25/07
- Prepared database migration (delay due network halt)

ASGARDEX v0.3.9 Released
- Download https://github.com/thorchain/asgardex-electron/releases/tag/v0.3.9
- Changelog https://github.com/thorchain/asgardex-electron/blob/develop/CHANGELOG.md#039-2021-07-14
GrassRoots Crypto Update
Upcoming Videos
- THORFI Synths Part 4
- iRune A Liquidity Pool Example looking at Asym vs Sym, IL and ILP
- Part 1 Overview with Graphics
- Part 2 Deep dive with Spreadsheet
- How to access THORFI Synths — THORSwap — Brokkr Finance
https://www.youtube.com/c/GrassRootsCrypto/
Ledger
ledger-thorchain npm published https://www.npmjs.com/package/@thorchain/ledger-thorchain

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
- Review ETH Exploit Data
- Restart the THORChain Blockchain — UTXO/EVM chains later.
- Ragnarok (Shutdown) SCCN
- Formalise and release the Bounty Program
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