You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 9, 2024. It is now read-only.
Environment
SRC : Avalanche WAGMI subnet
DST : Avalanche C Chain
To-do : Transfer NFT on both chains
Problems
a) We need only erc721Handler, so our 'config.json' is like bellow. But the bridge is not working.
{
"chains": [
{
"name": "WAGMI",
"type": "ethereum",
"id": "0",
"endpoint": "https://subnets.avax.network/wagmi/wagmi-chain-testnet/rpc",
"from": "0x751D11ae5C8863A0E8f10D4D1Df1932Eb3dd7fb5",
"opts": {
"bridge": "0xD683E52662312E33495Cf32B0dFDCC0540a194BE",
"erc721Handler": "0x9498d403A9B114BfaeF2195B64Bdb2f356D92253",
"gasLimit": "1000000",
"maxGasPrice": "50000000000",
"http": "true",
"blockConfirmations":"0"
}
},
{
"name": "Fuji",
"type": "ethereum",
"id": "1",
"endpoint": "https://api.avax-test.network/ext/bc/C/rpc",
"from": "0x751D11ae5C8863A0E8f10D4D1Df1932Eb3dd7fb5",
"opts": {
"bridge": "0x09C4bE97e07083E316694Eb4761c398E5E1E42D9",
"erc721Handler": "0x9dd0Ee285B0bb0B10BC47556cC6A7cA759219835",
"gasLimit": "1000000",
"maxGasPrice": "50000000000",
"http": "true",
"blockConfirmations":"0"
}
}
]
}
b) Is this right to register 'erc721Handler'?
cb-sol-cli --url $SRC_GATEWAY --privateKey $SRC_PK --gasPrice 25000000000 deploy
--bridge --erc721Handler
--relayers $SRC_ADDR
--relayerThreshold 1
--expiry 500
--chainId 0
cb-sol-cli --url $SRC_GATEWAY --privateKey $SRC_PK --gasPrice 25000000000 bridge register-resource
--bridge $SRC_BRIDGE
--handler $SRC_NFT_HANDLER
--resourceId $RESOURCE_ID
--targetContract $SRC_NFT
cb-sol-cli --url $DST_GATEWAY --privateKey $DST_PK --gasPrice 25000000000 deploy
--bridge --erc721 --erc721Handler
--relayers $DST_ADDR
--relayerThreshold 1
--chainId 1
The text was updated successfully, but these errors were encountered: