The following requires
EXTRA_CONTRACT_REGISTRAR_ROLE on the account calling registerExtraContract.Adding Extra Contract Registrar Role on SKALE Chain
- via SAFE
- Ethers v6
Registering Contracts on a SKALE Chain
- via SAFE — would be if you give Marionette EXTRA_CONTRACT_REGISTRAR_ROLE on MessageProxyForSchain
- via Ethers v6 — would be if you gave an EOA the role and use Ethers
- via SAFE
- Ethers v6
Registering Contracts on Ethereum
- Go to SAFE App or your preferred frontend for SAFE.
- Press New Transaction and then Transaction Builder
- Input the MessageProxy address for your correct environment into the Contract Address field and select Use Implementation ABI
- Select
registerExtraContractfrom the dropdown list in Contract Method Selector, set the schainName (string) field (e.g elated-tan-skat), and set the extraContract (address) field which is the smart contract on Ethereum
- Click Add transaction, scroll down, and click Create Batch, then click Send Batch. Tenderly simulation is generally available, even on testnet, and is encouraged to be used to see all the changes occuring on the Ethereum side before they occur.
