We want to add the ability to support multiple astria bridge accounts, and for each of those to have a different denomination. I propose we update the config to config looking something like below around bridge accounts.
Note an additional feature will need to be added to support erc20 accounts so I'll show two shapes, now and the next version:
{
bridge_addresses: {
<tia_bridge_lock_addr>: {
start_height: 1,
asset: {
type: "native",
denom: "ibc/channel0/utia",
host_precision: 6
}
}
}
}
Within this the bridge asset named "native" is a special type that is the native asset with precision of 18. When we add the ability to define erc20 asset bridges it looks like this, with an example of usdc:
{
bridge_addresses: {
<tia_bridge_lock_addr>: {
start_height: 1,
asset: {
type: "native",
denom: "ibc/channel0/utia",
host_precision: 6
}
},
<usdc_bridge_lock_addr>: {
start_height: 1500,
asset: {
type: "erc20",
erc20_addr: 0x<contractaddress>,
host_precision: 6,
contract_precision: 6
}
}
}
}
We want to add the ability to support multiple astria bridge accounts, and for each of those to have a different denomination. I propose we update the config to config looking something like below around bridge accounts.
Note an additional feature will need to be added to support erc20 accounts so I'll show two shapes, now and the next version:
Within this the bridge asset named "native" is a special type that is the native asset with precision of 18. When we add the ability to define erc20 asset bridges it looks like this, with an example of usdc: