Weekly Dev Update #94

THORChain Weekly Dev Update for Week 94, 24–31 May; MCCN V0.53.1, MCCN V0.53.2, MCCN V0.54.0, Midgard 2.1.1, DragonsDex debut, Megingjoro debut, DecentralFi updates, GrassRootsCrypot new videos

THORChain
THORChain
8 min readJun 4, 2021

--

Summary

RAISETHECAPS

The caps were raised to 3m 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.

Updates

UTXO consolidation

Fixes include UTXO handling behaviour when accrueing many inbounds. Since TSS has to sign every input, it’s not wise to let them grow uncontained since TSS may have to sign far too many inputs and time out. Instead the Bifrost will now track input count, and automatically consolidate inputs every 15. This keeps the UTXO set small at all times. The consolidation tx is around 2kb, but since it consumes BECH32 SEGWIT, the virtual size is only 1kb. At 10 sat/byte this is around 10k sats consumed every 15 inputs ($2–3). These sats are taken from the BTC pool, but subsidised back with RUNE (2x the value).

A periodic consolidation TX performed to reduce UTXO set size.

Ethereum Composability

In addition, the Ethereum Bifröst will now witness the log addresses and not the to_address of the EoA calling the transaction. This means the Router can now be wrapped by smart contracts. This is the first step for composability, there are still some missing pieces to enable full composability.

Pending Tx

Lastly there were two big holdups on MCCN last week. The root cause was both users and ygg vaults were spending low-fee mass-spend unconfirmed transactions (dust attack transactions). These transactions are huge and drag down the fee spent considerably. This causes the transaction to have a much lower gas rate than needed and get delayed. The team twice had to pay pushtx.BTC.com to bump the pending transactions before making the necessary changes to both YGG and XChainJs to not let it happen again.

THORNODE MCCN UPDATE 0.53.1

This release contains the following fixes
1. [ADD] UTXO based chain consolidate UTXOs automatically consolidate it when unspend UTXO reach 15. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1694 https://gitlab.com/thorchain/thornode/-/merge_requests/1714
2. [BUG] chainclients: ethereum: block scanner: match logs address (not tx to) to smart contract addresses. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1695
3. [ADD] Add BCH legacy address support. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1708
4. [BUG] Consolidate UTXO tx cause asgard BTC broadcast issue. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1717
5. [BUG] ETH block scanner , ignore transaction when fail to get transaction receipt. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1715

THORNODE MCCN UPDATE 0.53.2

Fixes include in this release
1. Check for Pending UTXO for YGG, only spend pending UTXO that is signed by itself or from asgard. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1718

THORNODE MCCN UPDATE 0.54.0

This release contains the following fixes
1. [BUG] Good running nodes accumulated slash points. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1722
2. [BUG] Verify ToAddress is not empty before schedule a tx out item. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1724
3. [ADD] Update confirmation counting logic. PR: https://gitlab.com/thorchain/thornode/-/merge_requests/1721

MIDGARD V2.1.1

This release contains the following fixes:

  • cache stats endpoint
  • cache nodes endpoint
  • parse pending liquidity events

https://gitlab.com/thorchain/midgard/-/releases/2.1.1

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

THORNode

Fixes for the versions listed above.

https://gitlab.com/thorchain/thornode/-/merge_requests?scope=all&state=merged

Midgard

- v2/history/TVL query serving time optimized 30x+
— v2/actions now includes pending add liquidity
— more tests rewritten to block -> json instead of db -> json, to anticipate syncup time speedup rewrite.

https://gitlab.com/thorchain/midgard/-/merge_requests?scope=all&state=merged

XChainJS

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

https://xchainjs.org

Community Work

ShapeShift:

  • native RUNE available to trade on the mobile app and the Platform with SS Native Wallet

Asgardex Web Weekly Update (5/24–5/30)

— small bug fix that was blocking deposits in some scenarios
— rolled in xchain bch dep update
— added guard to prevent BCH deposits if outstanding pending legacy BCH deposit is present
— added feature to allow manual address for swaps Explorer
— Error UI handling on dashboard
— Added % of nodes on latest version to node groups
— Sort pools page by APY & status (ie available / staged)
— Migrate way to fetch stats data from graphql to REST
— Add more stats to the Pool Detail
— Added pool txs section
— Allow users to search Midgard for ethereum with prepending 0x
— Ongoing work to update volume chart

RUNEYield.info Weekly Update: (24/05–30/05)

+ iOS App (Testflight testers: 170)
+ Backend:
— Started working on restructuring the internal database and API. (Current implementation has an issue for users adding 50:50 LP and withdrawing 100% asset/ rune.)

Block42 — Brokkr

— Started integrating Uniswap swap routes
— “Connect Wallet Design” implemented
— Design & started implementation of “Swap successful” screen
— Integration of keplr wallet blocked by a keplr wallet bug
You can follow brokkr updates here:
Twitter: @Brokkrfinance
Telegram channel: https://t.me/brokkrfinance

Dragons’ Dex — Update

• Initialized xchaindart GitHub (based on @xchainjs) as a start for creating a lightweight cross-chain dart library for wallets (including Dragons’ Dex).
• Created the basic UX/UI designs for mobile: https://twitter.com/DragonsDex/status/1397088693555453952/photo/1

THORChain.Network Weekly Update (5/24–5/30)
cluster-launcher

node-launcher

thornode

thormon

thorchain.network

Vahnaheimex Weekly Update (5/24–5/30):

— topbar cap amount live update on chaosnet
— custom swap target address views are implemented
— enabled XDEFI to send asset
— upgrade rune cover fee check loading fix
— breadcrumb bug fixes (asset chain display, swap wrong text)
— Midgard “not responding” topbar error in chaosnet
— single swap success bar view change
— wallet tag in success view now only shows when there is a balance in the wallet
— deposit liquidity TX list bug fix

https://www.vanaheimex.com

THORWallet Update

— Website
— Completion of concept
— Draft of key visuals and elements
— Delivery expectation (4–6 weeks) App & Blockchain
— Discover xchain-js lib
— Integration xchain-js lib (meant to be a node library) within RN ecosystem — Multiclient exposed as single hook and shared among components for xchain lib clients, such BTC, ETH, LTC, BNB
— Create passphrase
— Import passphrase (mainnet account and read balances of prod accounts) — Pin code draft
— Code open source
— PR structures
— Trying to run a thornode on our infrastructure, using the latest commits from develop
Admin / Business / Legal
— ThorNode operations
— Tokeconomics draft
What’s next
— Pipeline automation with linting and tests
— App improvements and new features
— Multichain client further devolopment

TRX1’s Weekly Dev Report (24/05–30/05)

Runiverse
• Event recording tool fished (MCCN and SCCN supported)
• Event playback data provider for playing recorded event streams
• GUI animations fix
THORChain Monitoring bot
• Use can use URL like this https://t.me/thor_infobot?start=bc1qrkd73r9596xneetl47rgq2c0q6nq2lm4f0jryj to share liquidity reports of any address
• USDC is included to stable coin list
• Bug fix for the statistics notification + test
Miscellaneous
• Helping community members to create a new pool.

megingjoro weekly update (may 24 — may 31)

— At the beginning of the week we added the ability to send transactions (transfers & deposits) from the new “Manual Transaction” panel
— Persist / save sort order on tables so that everything looks the same across refreshes
— Allow saving multiple “watched” addresses you can switch between quickly on top of a better handling of the “connected” wallet (only xdefi for now)

https://www.megingjoro.com

Decentralfi.io weekly update

— Finalized dashboards for Multichain, already running. Just Select multichain from the dropdown, will default to it on next update.
— Added go to dashboards on the homepage for easy navigation.
— Our API http://api.decentralfi.io/docs/#/api/listBalanceAddress gets balances on any and all compatible chains, will integrate into our portfoloio view. https://devapi.decentralfi.io/api/v1/balance/address/0x52e07b963ab0f525b15e281b3b42d55e8048f027/
— Launched the meme contest with the winner taking a THORChain collectible.

Network Dashboard
— block rewards decreasing on Singlechain

https://decentralfi.io

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

  • Stability
  • 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.