-
I can do a swap on the Noble grand testnet... nobled tx swap on grand-1 testnet$ nobled --node 'https://noble-testnet-rpc.polkachu.com:443' tx swap swap 266666uusdc '{"pool_id":0,"denom_to":"uusdn"}' 263999uusdn '--chain-id=grand-1' '--from=trader1' '--keyring-backend=test' --yes '--fees=25000uusdc' '--gas=auto' '--gas-adjustment=1.3' -o json
[16:08:37.958] [0] ✔ (done in 951ms)
{
txhash: '64689B18834BF0C57EA9E6727905011B655FAD2C3AF67E01B4AB9EC9E5DB2595',
url: 'https://www.mintscan.io/noble-testnet/tx/64689B18834BF0C57EA9E6727905011B655FAD2C3AF67E01B4AB9EC9E5DB2595'
} But when I try on my local node (set up using starship) I get When I look at the noble grand-1 testnet, I see pool 0 with USDC/USDN liquidity: nobled query swap pool 0$ nobled query --node https://noble-testnet-rpc.polkachu.com:443 swap pool 0 -o json | jq . {
"pool": {
"address": "noble1nj5skf28jfps7hqwcp484zwj6kt9aejdt3ghxv",
"algorithm": "STABLESWAP",
"pair": "uusdc",
"details": {
"type": "/noble.swap.stableswap.v1.Pool",
"value": {
"protocol_fee_percentage": "50",
"rewards_fee": "2500000",
"initial_a": "800",
"future_a": "800",
"initial_a_time": "1740153360",
"rate_multipliers": [
{
"denom": "uusdc",
"amount": "1000000000000000000"
},
{
"denom": "uusdn",
"amount": "1000000000000000000"
}
],
"total_shares": "10929071011.790794276857608692",
"initial_rewards_time": "2025-02-21T18:01:58.138804404Z"
}
},
"liquidity": [
{
"denom": "uusdc",
"amount": "6389833131"
},
{
"denom": "uusdn",
"amount": "6389132685"
}
],
"protocol_fees": [
{
"denom": "uusdc",
"amount": "3540755"
},
{
"denom": "uusdn",
"amount": "2963426"
}
],
"reward_fees": [
{
"denom": "uusdc",
"amount": "3540753"
},
{
"denom": "uusdn",
"amount": "2963424"
}
]
}
} But I have no pools on my local setup: $ nobled --node=http://localhost:26654 query swap pools
{} |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Part I: Create the Pool using
|
Beta Was this translation helpful? Give feedback.
-
After spending way too much time with an LLM to figure this out, I asked it to summarize with a bit of style... Creating a USDN Whale on Noble (Star Wars Edition) How I stopped worrying and learned to mint a galactic hoard of 🚀 The Successful Strategy (A New Hope)After much experimentation, the working solution to create a USDN whale was to use Starship's native balances:
# USDN whale
- address: noble16fskzhlguwkq35f5hmvnxg6urug46fhmn9frwu
amount: 100000000000000uusdn This configuration directly inserts the balance into the genesis file during Starship's provisioning step. It is clean, declarative, and survives all script overrides. ❌ What Didn't Work (The Phantom Errors)⚡
|
Beta Was this translation helpful? Give feedback.
-
Episode VII: A New Pool — Adding Liquidity to a Noble Swap Pool (USDN)✅ What Worked in This EpisodeTo successfully add liquidity to a
|
Beta Was this translation helpful? Give feedback.
-
The answer is above in 3 parts: |
Beta Was this translation helpful? Give feedback.
The answer is above in 3 parts: