Skip to content

cast tool ERROR for calling a function #3250

Answered by EngrPips
omkar454 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @omkar454, Read this page of the Foundry docs https://book.getfoundry.sh/reference/cast/cast-send . Basically, you should use --account instead of the --interactive flag. Using the --account flag, you need to pass an account you have previously created with Foundry Keystore by encrypting your private key, and it will prompt you for the account password, and boom, it will run your transaction.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@chainflash
Comment options

@omkar454
Comment options

@EngrPips
Comment options

Answer selected by omkar454
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants