Is there a tutorial explaining how to interact with EVM smart contracts using PolkadotJS?.

1 Answer 1


Check this Substrate tutorial: Access EVM accounts

You can go to the point where it checks the account storage, to see how is doing it using polkadotJS UI: query the state accountStorages from evm pallet, specifying the smart contract address and the storage slot for the address (How to calculate the storage slot here: Substrate EVM Utilities).

An JS example of that:

const balance = api.query.evm.accountStorages(smartContractAddress, storageSlot);

If you have a doubt about how to manage the keys, I opened a StackExchange question a while ago: Private key for EVM Frontier that has amazing explanation about it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.