0

I am begginer so maybe I don’t understand this correctly.

Well, some smart contract exists on Arbiscan (it's not mine). I go to contract option and select write contract, connect to Metamask, then mint directly from contract on website.

How can I do this using Solidity language?

1

2 Answers 2

0

You need to copy the contract's code, paste it on remix, and create and instance of the contract on the same address as it is already deployed to (Also the same chain). Then, you will get the mint() function there and you can mint directly from there.

0

The way you usually interact with contracts that are already deployed is by using the contract's address and its ABI (both are publicly available), then you can make your own frontend/client-application to interact with that contract.

You most probably won't need solidity to interact with an already deployed contract.

This should give you some more idea about the same.

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.