galacticcouncil / galacticcouncil/hydration-node

Allow treasury spends in non-HDX assets

Open
#1,281 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
208
Forks
109
Avg merge
6d 3h
Merged PRs (30d)
3

Description

Currently the only way to spend non-native currencies from treasury is by using the Treasurer track and the Dispatcher pallet. It should be possible to also use other tracks like Spender/Tipper for lower spends. These tracks also require significantly lower decision deposit.

This requires to have a conversion rate between native and non-native asset, either:

- **fixed** (similarly to Polkadot Hub) which is suboptimal as the spend threshold is then volatile/unpredictable or
- **dynamic** based on our router/oracles.

Wrt supported assets, ideally any of those in treasury holding but essential is HOLLAR, eventually native USDT and USDC.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.