Weekly Dev Update #95

THORChain Weekly Dev Update for Week 95, 01–16 June; Dynamic Synth Units, MCCN V0.55.0, DragonsDex, SKIPSwap, THORWallet, Community Updates

THORChain
THORChain
10 min readJun 16, 2021

--

The last two weeks updates were rolled into this week due members travelling

Summary

RAISETHECAPS

The caps were raised to 4.5m RUNE and filled. The continual Cap Raises give the protocol, middleware and interfaces more and more time to stabilise. Only when the system is stable throughout can the Caps be lifted. This is still expected to be 6–8 weeks away.

Dynamic Synth Units

THORChain will now track synth units dynamically. This ensures the loss/yield is realised immediately. The derivation for the formula is given below and has been verified by several members of the community.

Updates

THORNODE MCCN UPDATE 0.55.0

This release contains the following fixes
1. [ADD] Dynamic synth units. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1723
2. [FIX] Set a log entry in ETH scanner , in regards to failed transaction to debug level. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1737
3. [ADD] When node operator unbond , if there are still fund in yggdrasil vault , trigger a yggdrasil recall. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1738
4. [Refactor] refactor helper funcs to be versionized. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1739
5. [FIX] Credit isolated BNB.USDT-6D8 asset back to pool using store migration. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1740
6. [FIX] A bug with impermanent loss protection, which result RuneDepositValue & AssetDepositValue didn’t maintain correctly. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1736

release version: https://gitlab.com/thorchain/thornode/-/tags/v0.55.0

Multichain Resources

Chaosnet

Midgard: https://midgard.thorchain.info/v2/doc

THORNode: https://thornode.thorchain.info/thorchain/doc/

RPC: https://rpc.thorchain.info(https://cosmos.network/rpc/v0.37.9)

Seed Service: https://seed.thorchain.info

Testnet

Midgard: https://testnet.midgard.thorchain.info/v2/doc

THORNode: https://testnet.thornode.thorchain.info/thorchain/doc/

RPC: https://testnet.rpc.thorchain.info(https://cosmos.network/rpc/v0.37.9)

Seed Service: https://testnet.seed.thorchain.info

XChainJS

Stability and fixes. If you are interested to help maintain the library, please reach out.

https://xchainjs.org

https://github.com/xchainjs/xchainjs-lib

Community Work

Dragons’ Dex

Weekly Dev Update 1
• Added mnemonic-to-seed in xchaindart.
• Implemented basic onboarding for Android & iOS.

Weekly Dev Update 2
• Started implementing xchain-client & xchain-bitcoin.
• Implemented mnemonic creation, import, and validation.
• Stubbed implementation of assets overview.
• Added toggle view to show or hide coins/tokens from supported assets.

Asgard Web

Weekly Updates (6/7–6/13)
— Deposit sym recovery now can be navigated by URL, users creating new pools can recover pending funds if RUNE tx fails.
— Updated all xchain deps to latest + testing
— Loading mask when switching between deposit assets, which was sometimes showing incorrect RUNE prices due to delay
— Small nav redesign to make more space for additional sections

Weekly Updates (6/7–6/13)
— patched bug for BTC balances
— specific asset swaps can now be navigated by URL. ie ‘/swap/THOR.RUNE/BTC.BTC’ is a RUNE -> BTC swap
— at long last added asym deposits

THORChain.net
— allow 0x txs/addresses to be searched when hitting Midgard
— Added Members tab to Pool
— Added Pools tab to Address

TRX1

https://t.me/thorchain_alert

THORChain Monitoring bot
— Started developing personalized notifications
— New picture: THORChain node diversity (by provider), you can find it under the “Metrics”
Miscellaneous
— Fix: correct % of pool figures in the LP add/withdraw messages
— Fix: packed queue notifications restored
— Improved some texts of the bot dialogues
— A few new configurable options
Runiverse
— Theoretical studies
Miscellaneous
— xchainpy’s issues investigation, submitting a pull request. Wrote some docs (not published yet).

Weekly Dev Report (07/06–13/06)
Runiverse
— Black hole rendering using real-time volumetric ray marching and dynamical environmental maps.
— Shader tuning and optimizations
THORChain Monitoring bot
— Bug fix of Rune price indication being constant
— Prevent the bot from crashing in some special conditions aiothornode
— Updating models and parsers to support THORNode’s API upgrade. Miscellaneous
— Working on a Python interface for THORChain transactions, namely deposits of native Runes.

Rune Balance

http://runebalance.com

Weekly Dev Report (5/29–6/6)
— added testnet subdomain: https://testnet.runebalance.com/
— added node metrics and multi-attempt endpoint
— metrics: https://testnet.runebalance.com/api/nodes
— multi-attempt endpoint: https://testnet.runebalance.com/thorchain
— started work to switch https://testnet.thornode.thorchain.info/thorchain references to https://testnet.runebalance.com/thorchain
— started work to support a multi-attempt endpoint for midgard: https://testnet.runebalance.com/midgard

THORWallet

https://twitter.com/ThorWallet

— — Week 2
— App & Blockchain
— First RUNE transaction broadcast to testnet (using hardcoded values)
— Trying to improve performance with Xchain js and react-native (performance improved by 300ms)
— still needs improvements
— Abstraction Framework for blockchain multi client interaction in place
— React Native permissions for checking biometrics status
— FaceID and TouchID enabled for iOS and for storing seed phrase in future — Code is open source and PR structure and workflows is fully in place
Business / Legal
— Own Token launch planning & brainstorming
— second interaction
— Website launch
— second draft interaction
— ThorNode operations with small amount of RUNEs performed
What is next
— Improving performance for xchainjs on react native
— Complete onboarding and start sending prod txs
— Further App development

— — Week 3
— — App & Blockchain
— Happy path for onboarding and screens designed / implemented
— Biometrics and face id handling with edge cases (when face id is not allowed)
— Multichain clients framework consolidated
— Draft for swap functionality (for testing purposes, not meant in R1.0)
— Performance improvements for multichain client
— Transitions / Modalized for iOS Business / Legal
— Continuing Website integration
— Focus on Tokeconomics / possible private Sale discussions
— Focus on liquidity pools
— Further conceptional thoughts for Affiliate links
What’s next
— Testflight and fastlane pipeline
— Further app development
— Visualization of balances
— API for fetching prices (USD)

THORBelt

https://www.thorbelt.com

Weekly Dev Report (May 31 to June 6)
— Renamed project from “megingjoro” to “thorbelt” after receiving feedback that the old name was a bit hard to pronounce and remember.
— Created an official Twitter account: https://twitter.com/THOR_Belt/status/1401578274313093130
— Added more realiable api use: when midgard’s api is unresponsive / slow, the app now uses thornode’s api wherever possible so that you can still execute trade and follow price during #raisethecaps events or high volatility — Started work on more per panel customization options like columns shown in tables, decimals shown, date format, etc.

Weekly Dev Report (June 7 to June 13)
— Added the ability to toggle columns to show in tables (this means you can have a real thin panel that still shows information legibly, more space for your chart or just plenty of panels, see screenshot)
— Added a link to the explorer for all pool and transaction rows (so you can dig in deeper, troubleshoot)
— Sent in a pull request adding THORBelt to the Thorchain.org homepage
— Started working on the swapping UI so that we are ready to launch it when synths are activated

SKIPSwap

https://skip.exchange

Weekly Updates (5/29–6/6):
— LTC hash missing for sending the asset
— send asset view performance bug fix
— cursor better code performance
— swap view performance improvement
— pool create view cleanup
— deposit cleanup + pending balance loading
— pending tx alert for transactions list
— cross-domain google analytics
— deposit, process view minor UI updates

Weekly dev update (6/7–6/13):
— google analytics events has been added
— skip exchange rebrand
— withdraw slider disable while view is loading the data

Hoodie Weekly Update(5/29–6/6)

-Arb Bot Frontend in progress
-Arb Bot Double Direction Trade in progress(edited)

RUNEYield.info

https://www.runeyield.info

Weekly Update: (31/05–06/06)
— Restructured internal DB for grouping 50:50, rune-only and asset-only LP into the same group.
— Recalculated Fee earn
— Added Typeform link for users to report bugs/missing transactions easily.

Weekly Dev Report (07/06–13/06)
— Fixed LP first deposit date not being displayed correctly.

THORCHAIN.NETWORK

https://thorchain.network

Weekly Update (5/31–6/6) cluster-launcher

node-launcher

thornode

thormon

cluster-launcher
— Update dependencies on GCP
— Reduce google_container_node_pool name
— Update dependencies on Azure
— Update dependencies on Digital Ocean
— Update dependencies on Linode
— Use EBS CSI driver and high performance SSD volumes on AWS
— Add gp2 ebs type storage and reduce io2 IOPS on AWS
— Update dependencies on AWS
— Add provider IBM Cloud [WIP]
THORmon Frontend
— Update dependencies
— Reduce width of NODE column to emulate a centering effect
— Show fractions in rewards to get more realtime feedback
— Add keyboard controls
— Add help window
— Add RUNE price ticker
— Garbage collect deprecated networks on user machines
— Fix metadata
— Integrate stream status into state management library controls
— Split functionality into more components
— Add dedicated solvency views
— Design tweaks Backend
— Improve staging environment and development flexibility
— Refactoring, stability and performance https://thorchain.network/

Midgard Weekly Update (5/31–6/6)

— v2/actions faster (materialized view until watermark merged with realtime data after)
— Figured out and added README about running private ThorNode for Midgard.
— use different connection pool for db write and serving
— Cancel aggregate background jobs properly on Midgard shutdown
— Dependency cleanup
— Websockets tests reenabled for linux (+refactoring)
— Preparation for synth support of Midgard

Ledger:

— Added support for synths (displays asset name, e.g. BTC/BTC)
- Updated README for easier manual builds if you want to try it
- Latest Build currently with LedgerHQ to initially implement on 'Experimental' (Developer Mode) App List. ETA Unknown.

Decentralfi.io update

— Our dashboards our now running fully MCCN(Default) and SCCN
— API is coming along nicely for liquidity and other goodies

  • We spent some time on the wallets functionality you can now: Manually Add wallets from all compatible chains, edit your wallets, copy address and visit its block explorer. (should push these changes today or tomorrow)
    -Also we have improved navigation between our older dashboards and our lighter new version.
    -Mobile version being worked on, should give a good enough experience until we can work on native apps.
    -We are hoping to finalize the MCCN liquidity dashboard for the next sprint, also working on portfolio view, for your non LP holdings.
    -On a separate note we have added a Quality Assurance member to our team, and an additional developer to support the team and we are still looking to fill two more roles, one more Jr. Dev and a Sr. Dev. We are at 6 full time people starting this week. we are looking forward to developing great products for you to use on THORChain

(http://devapi.decentralfi.io/api/v1/summary/liquidity/address/thor1tgnh3jnc2t8q7nxyg74rvp2h3k9acxdfl7ss7m/)

GrassRootsCrypto

2 videos on the go currently.
— THORChain Synths explained
— Numbers crunched
— updated from THORChain tweet
— Graphics done
— Getting final conformations now
— Update to Blockchain and Token videos to include BSC, for beginners.
— Graphics done
— Script part done

http://yt.be/GrassRootsCrypto

THORChain LP University

https://www.youtube.com/channel/UC1DISL3mSTrasRHN_IzIGZg

Telegram Bot

@thornode_testnet_bot

@thornode_chaosnet_bot

Twitter Bot

https://twitter.com/thor_bot

Delphi Defi Dashboard

Upcoming Release for the Dashboard

https://defi.delphidigital.io/thorchain/chaosnet/network

THORChain Network Explorer

Continual Improvements, now with custom sub-domains for each net:

https://thorchain.net/

https://testnet.thorchain.net/

THORChain Official Block Explorer

https://viewblock.io/thorchain

https://dash.viewblock.io/d/thorchain

RUNEData

View historical yield and simulate future yield in pools:

http://www.runedata.info/

RUNEBalance

View current arbitrage opportunities in the pools. New card-style overviews.

https://www.runebalance.com/#/pools

Trading Leaderboard

View the current leaderboard for traders on THORChain

https://leaderboard.thornode.org/

Bridges

Actively-developed bridges will be reported here going forward. Bridges are commissioned once a team who can implement is identified and work begins.

Complete

  • 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

Cryptonote

  • Haven: MSS complete ongoing by Haven Team
  • Monero: Pending Haven implementation

Custom

  • Cardano — Scoping
  • Polkadot: Ongoing with team
  • Avalanche: Scoped, WIP with team to investigate options
  • Zilliqa: Scoped, rain-checked

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

  • RAISETHECAPS
  • Synths
  • THORChain Name Service
  • DOGECoin
  • BSC

Community

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

--

--

THORChain
THORChain

The official team for THORChain — the decentralized liquidity network.