Replies: 2 comments 1 reply
-
What error are you getting @AnaAse |
Beta Was this translation helpful? Give feedback.
0 replies
-
@AnaAse Of course you must have the DeployFundMe.s.sol to call it. forge script script/DeployFundMe.s.sol:DeployFundMe --rpc-url http://127.0.0.1:8545/ --account defaultKey --broadcast For this to work, ensure that you've already imported an account with a mock private key into your keystore. For example: cast wallet import defaultKey --interactive
Enter private key: <0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80>
Enter password: <YOUR-PASSWORD>
`defaultKey` keystore was saved successfully. Address: 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 This allows forge to use the defaultKey account as the sender automatically. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After reaching here and chating with Chat GPT in a conversation that seems to have come to a loop. The following prompt is returning an error:
forge script script/DeployFundMe.s.sol:DeployFundMe --rpc-url http://127.0.0.1:8545 --account defaultKey --sender "adress provided from encripting" --broadcast -vvvv
Im not sure if I missed at some point storing/creating a DeployFundMe.s.sol file. I cannot recall it. I would appreciate some light to this.
And at this point in time, Happy New Year 2025 in Smart Contract learning
Beta Was this translation helpful? Give feedback.
All reactions