Skip to content

Commit

Permalink
chore(mainnet): dtia asset (#102)
Browse files Browse the repository at this point in the history
## Description
`dtia` asset been added to both `astria` and `flame`. This is a follow
up PR including instructions and information on how to use the new
asset.

## Types of changes
- [x] Edits to existing documentation
- [ ] Changing documentation structure (relocating existing files,
ensure redirects exist)
- [ ] Stylistic changes (provide screenshots above)

---------

Co-authored-by: Sam Bukowski <sam.c.bukowski@gmail.com>
  • Loading branch information
quasystaty1 and sambukowski authored Jan 27, 2025
1 parent b842722 commit 45b3e75
Show file tree
Hide file tree
Showing 14 changed files with 132 additions and 2 deletions.
6 changes: 6 additions & 0 deletions docs/bridging/cli-bridging-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Manual bridging via the command line is available for power users.
| Noble | `channel-104` | `channel-1` |
| Osmosis | `channel-85486` | `channel-2` |
| Stride | `channel-285` | `channel-3` |
| Neutron | `channel-6236` | `channel-4` |

### Testnet - [`dawn-1`](../networks/testnet.md)

Expand Down Expand Up @@ -82,6 +83,10 @@ Build the `strided` cli from source:

<!--@include: ../components/_install-strided.md-->

Build the `neutrond` cli from source:

<!--@include: ../components/_install-neutrond.md-->

## Creating Accounts

You will need an account for all networks you are interacting with.
Expand Down Expand Up @@ -121,6 +126,7 @@ export CELESTIA_ADDRESS="<your-celestia-address>"
export FLAME_ADDRESS="<your-flame-address>"
export NOBLE_ADDRESS="<your-noble-address>"
export STRIDE_ADDRESS="<your-stride-address>"
export NEUTRON_ADDRESS="<your-neutron-address>"
```

### Check **Mainnet** Balances
Expand Down
3 changes: 3 additions & 0 deletions docs/bridging/mainnet-alpha/bridge-to-astria-mainnet-alpha.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export OSMOSIS_KEY_NAME="<name-of-your-osmosis-key>"
export OSMOSIS_ADDRESS="<your-osmosis-address>"
export STRIDE_KEY_NAME="<name-of-your-stride-key>"
export STRIDE_ADDRESS="<your-stride-address>"
export NEUTRON_KEY_NAME="<name-of-your-neutron-key>"
export NEUTRON_ADDRESS="<your-neutron-address>"
```

## Bridge to Astria
Expand All @@ -41,6 +43,7 @@ You can view your transactions by visiting the following:
- `https://www.mintscan.io/noble/address/<your-noble-address>`
- `https://www.mintscan.io/osmosis/address/<your-osmosis-address>`
- `https://www.mintscan.io/stride/address/<your-stride-address>`
- `https://www.mintscan.io/neutron/address/<your-neutron-address>`

You can also go directly to [Mintscan](https://www.mintscan.io/) and search for
the `txhash` that is returned after sending your transaction, but it is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export OSMOSIS_KEY_NAME="<name-of-your-osmosis-key>"
export OSMOSIS_ADDRESS="<your-osmosis-address>"
export STRIDE_KEY_NAME="<name-of-your-stride-key>"
export STRIDE_ADDRESS="<your-stride-address>"
export NEUTRON_KEY_NAME="<name-of-your-neutron-key>"
export NEUTRON_ADDRESS="<your-neutron-address>"
```

## Withdraw from Astria
Expand Down
14 changes: 14 additions & 0 deletions docs/components/_bridge-to-astria-mainnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,20 @@ strided tx ibc-transfer transfer \
--fees=500ustrd
```

```bash [From Neutron]
strided tx ibc-transfer transfer \
transfer \
channel-6236 \
$ASTRIA_ADDRESS \
"100000factory/neutron1ut4c6pv4u6vyu97yw48y8g7mle0cat54848v6m97k977022lzxtsaqsgmq/udtia" \
--chain-id="neutron-1" \
--from=$NEUTRON_KEY_NAME \
--node=https://neutron-rpc.polkachu.com:443 \
--packet-timeout-height "0-0" \
--fees=500untrn \
--gas=310000
```

:::

<!-- <Tabs>
Expand Down
11 changes: 11 additions & 0 deletions docs/components/_bridge-to-flame-via-astria-mainnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,17 @@ astria-cli sequencer bridge-lock astria1dllx9d9karss9ca8le25a4vqhf67a67d5d4l6r \
--asset=transfer/channel-3/stutia
```

```bash [dTIA]
astria-cli sequencer bridge-lock astria15juwcclg07xs38757q257evltequawcejzzs4l \
--amount 10000 \
--destination-chain-address $FLAME_ADDRESS \
--private-key $PRIV_KEY \
--sequencer.chain-id astria \
--sequencer-url https://rpc.astria.org/ \
--fee-asset=transfer/channel-0/utia \
--asset=transfer/channel-4/factory/neutron1ut4c6pv4u6vyu97yw48y8g7mle0cat54848v6m97k977022lzxtsaqsgmq/udtia
```

:::

<!-- <Tabs>
Expand Down
20 changes: 18 additions & 2 deletions docs/components/_bridge-to-flame-via-ibc-mainnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ nobled tx ibc-transfer transfer \
osmosisd tx ibc-transfer transfer \
transfer \
channel-85486 \
$ASTRIA_ADDRESS \
astria1kgxhyhvynhcwwrylkzzx6q3a8rn3tuvasxvuy8 \
1000000uusdc \
--memo="{\"rollupDepositAddress\":\"$FLAME_ADDRESS\"}" \
--from $OSMOSIS_KEY_NAME \
Expand All @@ -46,7 +46,7 @@ osmosisd tx ibc-transfer transfer \
strided tx ibc-transfer transfer \
transfer \
channel-285 \
$ASTRIA_ADDRESS \
astria1dllx9d9karss9ca8le25a4vqhf67a67d5d4l6r \
"100000stutia" \
--memo="{\"rollupDepositAddress\":\"$FLAME_ADDRESS\"}" \
--chain-id="stride-1" \
Expand All @@ -56,11 +56,27 @@ strided tx ibc-transfer transfer \
--fees=500ustrd
```

```bash [From Neutron]
strided tx ibc-transfer transfer \
transfer \
channel-6236 \
astria15juwcclg07xs38757q257evltequawcejzzs4l \
"100000factory/neutron1ut4c6pv4u6vyu97yw48y8g7mle0cat54848v6m97k977022lzxtsaqsgmq/udtia" \
--memo="{\"rollupDepositAddress\":\"$FLAME_ADDRESS\"}" \
--chain-id="neutron-1" \
--from=$NEUTRON_KEY_NAME \
--node=https://neutron-rpc.polkachu.com:443 \
--packet-timeout-height "0-0" \
--fees=500untrn \
--gas=310000
```

:::

<!-- <Tabs>
<TabItem value="From Celestia" label="From Celestia"> </TabItem>
<TabItem value="From Noble" label="From Noble"> </TabItem>
<TabItem value="From Osmosis" label="From Osmosis"> </TabItem>
<TabItem value="From Stride" label="From Stride"> </TabItem>
<TabItem value="From Neutron" label="From Neutron"> </TabItem>
</Tabs> -->
5 changes: 5 additions & 0 deletions docs/components/_check-flame-balances-mainnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,16 @@ cast balance $FLAME_ADDRESS --erc20 0xcbb93e854AA4EF5Db51c3b094F28952eF0dC67bE -
cast balance $FLAME_ADDRESS --erc20 0xdf941D092b10FF07eAb44bD174dEe915c13FECcd --rpc-url https://rpc.flame.astria.org
```

```bash [dTIA]
cast balance $FLAME_ADDRESS --erc20 0x1E3b0f82d049379FEd8C0b67D915Ea925067e5f2 --rpc-url https://rpc.flame.astria.org
```

:::

<!-- <Tabs>
<TabItem value="TIA" label="TIA"> </TabItem>
<TabItem value="USDC" label="USDC"> </TabItem>
<TabItem value="milkTIA" label="milkTIA"> </TabItem>
<TabItem value="stTIA" label="stTIA"> </TabItem>
<TabItem value="dTIA" label="dTIA"> </TabItem>
</Tabs> -->
5 changes: 5 additions & 0 deletions docs/components/_check-mainnet-balances.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ osmosisd query bank balances $OSMOSIS_ADDRESS --node https://osmosis-rpc.polkach
strided query bank balances $STRIDE_ADDRESS --node https://stride-rpc.polkachu.com:443
```

```bash [Neutron]
neutrond query bank balances $NEUTRON_ADDRESS --node https://neutron-rpc.polkachu.com:443
```

```bash [Flame]
cast balance --rpc-url https://rpc.flame.astria.org $FLAME_ADDRESS
```
Expand All @@ -33,5 +37,6 @@ cast balance --rpc-url https://rpc.flame.astria.org $FLAME_ADDRESS
<TabItem value="Celestia" label="Celestia"> </TabItem>
<TabItem value="Noble" label="Noble"> </TabItem>
<TabItem value="Stride" label="Stride"> </TabItem>
<TabItem value="Neutron" label="Neutron"> </TabItem>
<TabItem value="Flame" label="Flame"> </TabItem>
</Tabs> -->
4 changes: 4 additions & 0 deletions docs/components/_create-accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ osmosisd keys add <name-of-your-osmosis-key>
strided keys add <name-of-your-stride-key>
```

```bash [Neutron]
neutrond keys add <name-of-your-neutron-key>
```

```bash [Flame]
cast w new
```
Expand Down
28 changes: 28 additions & 0 deletions docs/components/_install-neutrond.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!-- markdownlint-disable MD041 MD013 -->

::: code-group

```bash [SSH]
git clone git@github.com:neutron-org/neutron.git
cd neutron
git fetch --all
git checkout v5.0.5
make build
cp build/nobled /usr/local/bin/nobled
```

```bash [HTTP]
git clone https://github.com/neutron-org/neutron.git
cd noble
git fetch --all
git checkout v5.0.5
make build
cp build/nobled /usr/local/bin/nobled
```

:::

<!-- <Tabs>
<TabItem value="SSH" label="SSH"> </TabItem>
<TabItem value="HTTP" label="HTTP"> </TabItem>
</Tabs> -->
12 changes: 12 additions & 0 deletions docs/components/_withdraw-from-astria-mainnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,18 @@ astria-cli sequencer ics20-withdrawal \
--fee-asset transfer/channel-0/utia
```

```bash [To Neutron]
astria-cli sequencer ics20-withdrawal \
--amount 1000 \
--destination-chain-address=$NEUTRON_ADDRESS \
--source-channel channel-4 \
--private-key=$PRIV_KEY \
--sequencer-url=https://rpc.astria.org/ \
--sequencer.chain-id astria \
--asset transfer/channel-4/factory/neutron1ut4c6pv4u6vyu97yw48y8g7mle0cat54848v6m97k977022lzxtsaqsgmq/udtia \
--fee-asset transfer/channel-0/utia
```

:::

<!-- <Tabs>
Expand Down
5 changes: 5 additions & 0 deletions docs/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,19 @@ export const siteConfig = {
ibc_astria_to_osmosis: "channel-2",
ibc_stride_to_astria: "channel-285",
ibc_astria_to_stride: "channel-3",
ibc_neutron_to_astria: "channel-6236",
ibc_astria_to_neutron: "channel-4",
sequencer_celestia_address: "astria13vptdafyttpmlwppt0s844efey2cpc0mevy92p",
sequencer_noble_address: "astria1eg8hhey0n4untdvqqdvlyl0e7zx8wfca48kglh",
sequencer_milktia_address: "astria1kgxhyhvynhcwwrylkzzx6q3a8rn3tuvasxvuy8",
sequencer_sttia_address: "astria1dllx9d9karss9ca8le25a4vqhf67a67d5d4l6r",
sequencer_dtia_address: "astria15juwcclg07xs38757q257evltequawcejzzs4l",
flame_tia_address: "0xB086557f9B5F6fAe5081CC5850BE94e62B1dDE57",
flame_usdc_address: "0x3f65144F387f6545bF4B19a1B39C94231E1c849F",
flame_milktia_address: "0xcbb93e854AA4EF5Db51c3b094F28952eF0dC67bE",
flame_sttia_address: "0xdf941D092b10FF07eAb44bD174dEe915c13FECcd",
flame_dtia_address: "0x1E3b0f82d049379FEd8C0b67D915Ea925067e5f2",

},
},
dawn: {
Expand Down
10 changes: 10 additions & 0 deletions docs/flame/flame-mainnet-alpha.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,16 @@ Your settings should be the following:
| Astria Sequencer stTIA Bridge Address | `{{config.flame.mainnet.bridging.sequencer_sttia_address}}` |
| Flame stTIA Withdrawal Address| `{{config.flame.mainnet.bridging.flame_sttia_address}}` |

### Neutron (IBC)

| Property | Value |
|-----|-----|
| Supported Asset | `dTIA` |
| `neutron` -> `astria` | `{{config.flame.mainnet.bridging.ibc_neutron_to_astria}}` |
| `astria` -> `neutron` | `{{config.flame.mainnet.bridging.ibc_astria_to_neutron}}` |
| Astria Sequencer dTIA Bridge Address | `{{config.flame.mainnet.bridging.sequencer_dtia_address}}` |
| Flame dTIA Withdrawal Address| `{{config.flame.mainnet.bridging.flame_dtia_address}}` |

## Uniswap V3

| Name | Address |
Expand Down
9 changes: 9 additions & 0 deletions docs/networks/mainnet-alpha.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ const mainnet_ibc = siteConfig.flame.mainnet.bridging
| `astria` -> `stride` | `{{mainnet_ibc.ibc_astria_to_stride}}` |
| Astria Sequencer stTIA Bridge Address | `{{mainnet_ibc.sequencer_sttia_address}}` |

### Neutron (IBC)

| Property | Value |
|-----|-----|
| Supported Asset | `dTIA` |
| `neutron` -> `astria` | `{{mainnet_ibc.ibc_neutron_to_astria}}` |
| `astria` -> `neutron` | `{{mainnet_ibc.ibc_astria_to_neutron}}` |
| Astria Sequencer stTIA Bridge Address | `{{mainnet_ibc.sequencer_dtia_address}}` |

## Mainnet Service Versions

| Service Name | Version | Source |
Expand Down

0 comments on commit 45b3e75

Please sign in to comment.