From 3dcdccc66da901288aba1b324a9aaebf21ea1428 Mon Sep 17 00:00:00 2001 From: Tim Lind Date: Wed, 27 Apr 2022 09:12:23 +0200 Subject: [PATCH 1/3] Add mainnet uiov to registry --- scripts/ibc/tokenregistration/envs/betanet.sh | 5 +++- .../tokenregistration/generate-ibc-jsons.sh | 18 +++++++++++++ .../tokenregistration/sifchain-1/uiov.json | 26 +++++++++++++++++++ 3 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 scripts/ibc/tokenregistration/sifchain-1/uiov.json diff --git a/scripts/ibc/tokenregistration/envs/betanet.sh b/scripts/ibc/tokenregistration/envs/betanet.sh index 8f53865f8f..4a6c861b20 100755 --- a/scripts/ibc/tokenregistration/envs/betanet.sh +++ b/scripts/ibc/tokenregistration/envs/betanet.sh @@ -58,4 +58,7 @@ SIFCHAIN_ID=sifchain-1 \ BITCANNA_COUNTERPARTY_CHANNEL_ID=channel-2 \ BITSONG_CHAIN_ID=bitsong-2b \ BITSONG_CHANNEL_ID=channel-36 \ - BITSONG_COUNTERPARTY_CHANNEL_ID=channel-6 \ No newline at end of file + BITSONG_COUNTERPARTY_CHANNEL_ID=channel-6 \ + STARNAME_CHAIN_ID=iov-mainnet-ibc \ + STARNAME_CHANNEL_ID=channel-54 \ + STARNAME_COUNTERPARTY_CHANNEL_ID=channel-18 \ No newline at end of file diff --git a/scripts/ibc/tokenregistration/generate-ibc-jsons.sh b/scripts/ibc/tokenregistration/generate-ibc-jsons.sh index fd756bb473..b344e9fda1 100755 --- a/scripts/ibc/tokenregistration/generate-ibc-jsons.sh +++ b/scripts/ibc/tokenregistration/generate-ibc-jsons.sh @@ -404,3 +404,21 @@ sifnoded q tokenregistry generate -o json \ echo "\n\ngenerated entry for $BITCANNA_CHAIN_ID" cat $SIFCHAIN_ID/ubcna.json | jq + +sifnoded q tokenregistry generate -o json \ + --token_base_denom=uiov \ + --token_ibc_counterparty_chain_id=$STARNAME_CHAIN_ID \ + --token_ibc_channel_id=$STARNAME_CHANNEL_ID \ + --token_ibc_counterparty_channel_id=$STARNAME_COUNTERPARTY_CHANNEL_ID \ + --token_ibc_counterparty_denom="" \ + --token_unit_denom="" \ + --token_decimals=6 \ + --token_display_name="Starname" \ + --token_external_symbol="" \ + --token_permission_clp=true \ + --token_permission_ibc_export=true \ + --token_permission_ibc_import=true | jq > $SIFCHAIN_ID/uiov.json + +echo "\n\ngenerated entry for $STARNAME_CHAIN_ID" + +cat $SIFCHAIN_ID/uiov.json | jq diff --git a/scripts/ibc/tokenregistration/sifchain-1/uiov.json b/scripts/ibc/tokenregistration/sifchain-1/uiov.json new file mode 100644 index 0000000000..9a74a17b1d --- /dev/null +++ b/scripts/ibc/tokenregistration/sifchain-1/uiov.json @@ -0,0 +1,26 @@ +{ + "entries": [ + { + "decimals": "6", + "denom": "ibc/F20C4E30E4202C11FE009D6D58B2FF212C99084CB6F767287A51A93EFD960086", + "base_denom": "uiov", + "path": "transfer/channel-54", + "ibc_channel_id": "channel-54", + "ibc_counterparty_channel_id": "channel-18", + "display_name": "Starname", + "display_symbol": "", + "network": "", + "address": "", + "external_symbol": "", + "transfer_limit": "", + "permissions": [ + "CLP", + "IBCEXPORT", + "IBCIMPORT" + ], + "unit_denom": "", + "ibc_counterparty_denom": "", + "ibc_counterparty_chain_id": "iov-mainnet-ibc" + } + ] +} From b5fa4dbfb99e53b22b7f17e79018d103f72e859e Mon Sep 17 00:00:00 2001 From: Tim Lind Date: Fri, 29 Apr 2022 11:27:40 +0200 Subject: [PATCH 2/3] add aevmos --- scripts/ibc/tokenregistration/envs/betanet.sh | 5 +++- .../tokenregistration/generate-ibc-jsons.sh | 18 +++++++++++++ .../tokenregistration/sifchain-1/aevmos.json | 26 +++++++++++++++++++ 3 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 scripts/ibc/tokenregistration/sifchain-1/aevmos.json diff --git a/scripts/ibc/tokenregistration/envs/betanet.sh b/scripts/ibc/tokenregistration/envs/betanet.sh index 4a6c861b20..daf7482368 100755 --- a/scripts/ibc/tokenregistration/envs/betanet.sh +++ b/scripts/ibc/tokenregistration/envs/betanet.sh @@ -61,4 +61,7 @@ SIFCHAIN_ID=sifchain-1 \ BITSONG_COUNTERPARTY_CHANNEL_ID=channel-6 \ STARNAME_CHAIN_ID=iov-mainnet-ibc \ STARNAME_CHANNEL_ID=channel-54 \ - STARNAME_COUNTERPARTY_CHANNEL_ID=channel-18 \ No newline at end of file + STARNAME_COUNTERPARTY_CHANNEL_ID=channel-18 \ + EVMOS_CHAIN_ID=evmos_9001-2 \ + EVMOS_CHANNEL_ID=channel-55 \ + EVMOS_COUNTERPARTY_CHANNEL_ID=channel-7 \ No newline at end of file diff --git a/scripts/ibc/tokenregistration/generate-ibc-jsons.sh b/scripts/ibc/tokenregistration/generate-ibc-jsons.sh index b344e9fda1..1e67c3b94a 100755 --- a/scripts/ibc/tokenregistration/generate-ibc-jsons.sh +++ b/scripts/ibc/tokenregistration/generate-ibc-jsons.sh @@ -422,3 +422,21 @@ sifnoded q tokenregistry generate -o json \ echo "\n\ngenerated entry for $STARNAME_CHAIN_ID" cat $SIFCHAIN_ID/uiov.json | jq + +sifnoded q tokenregistry generate -o json \ + --token_base_denom=aevmos \ + --token_ibc_counterparty_chain_id=$EVMOS_CHAIN_ID \ + --token_ibc_channel_id=$EVMOS_CHANNEL_ID \ + --token_ibc_counterparty_channel_id=$EVMOS_COUNTERPARTY_CHANNEL_ID \ + --token_ibc_counterparty_denom="" \ + --token_unit_denom="" \ + --token_decimals=6 \ + --token_display_name="Evmos" \ + --token_external_symbol="" \ + --token_permission_clp=true \ + --token_permission_ibc_export=true \ + --token_permission_ibc_import=true | jq > $SIFCHAIN_ID/aevmos.json + +echo "\n\ngenerated entry for $EVMOS_CHAIN_ID" + +cat $SIFCHAIN_ID/aevmos.json | jq diff --git a/scripts/ibc/tokenregistration/sifchain-1/aevmos.json b/scripts/ibc/tokenregistration/sifchain-1/aevmos.json new file mode 100644 index 0000000000..c37523692d --- /dev/null +++ b/scripts/ibc/tokenregistration/sifchain-1/aevmos.json @@ -0,0 +1,26 @@ +{ + "entries": [ + { + "decimals": "6", + "denom": "ibc/57BB0CFF9782730595988FD330AA41605B0628E11507BABC1207B830A23493B9", + "base_denom": "aevmos", + "path": "transfer/channel-55", + "ibc_channel_id": "channel-55", + "ibc_counterparty_channel_id": "channel-7", + "display_name": "Evmos", + "display_symbol": "", + "network": "", + "address": "", + "external_symbol": "", + "transfer_limit": "", + "permissions": [ + "CLP", + "IBCEXPORT", + "IBCIMPORT" + ], + "unit_denom": "", + "ibc_counterparty_denom": "", + "ibc_counterparty_chain_id": "evmos_9001-2" + } + ] +} From eed5418950f914b58c7244a846a03de16458310b Mon Sep 17 00:00:00 2001 From: Tim Lind Date: Thu, 5 May 2022 19:11:30 +0200 Subject: [PATCH 3/3] update uscrt channels --- scripts/ibc/tokenregistration/envs/betanet.sh | 4 ++-- scripts/ibc/tokenregistration/sifchain-1/scrt.json | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/ibc/tokenregistration/envs/betanet.sh b/scripts/ibc/tokenregistration/envs/betanet.sh index daf7482368..8eddcaffb4 100755 --- a/scripts/ibc/tokenregistration/envs/betanet.sh +++ b/scripts/ibc/tokenregistration/envs/betanet.sh @@ -42,8 +42,8 @@ SIFCHAIN_ID=sifchain-1 \ BAND_CHANNEL_ID= \ BAND_COUNTERPARTY_CHANNEL_ID= \ SECRET_CHAIN_ID=secret-4 \ - SECRET_CHANNEL_ID=channel-33 \ - SECRET_COUNTERPARTY_CHANNEL_ID=channel-4 \ + SECRET_CHANNEL_ID=channel-65 \ + SECRET_COUNTERPARTY_CHANNEL_ID=channel-15 \ COMDEX_CHAIN_ID=comdex-1 \ COMDEX_CHANNEL_ID=channel-30 \ COMDEX_COUNTERPARTY_CHANNEL_ID=channel-8 diff --git a/scripts/ibc/tokenregistration/sifchain-1/scrt.json b/scripts/ibc/tokenregistration/sifchain-1/scrt.json index 1e967fa448..f528abda1f 100644 --- a/scripts/ibc/tokenregistration/sifchain-1/scrt.json +++ b/scripts/ibc/tokenregistration/sifchain-1/scrt.json @@ -2,11 +2,11 @@ "entries": [ { "decimals": "6", - "denom": "ibc/AB71F94BB809FB05FB4547C471A92C3F9826BA24E660BB4782B5ED61FB9AB867", + "denom": "ibc/345D30E8ED06B47FC538ED131D99D16126F07CD6F8B35DE96AAF4C1E445AF466", "base_denom": "uscrt", - "path": "transfer/channel-33", - "ibc_channel_id": "channel-33", - "ibc_counterparty_channel_id": "channel-4", + "path": "transfer/channel-65", + "ibc_channel_id": "channel-65", + "ibc_counterparty_channel_id": "channel-15", "display_name": "Secret", "display_symbol": "", "network": "",