Create a keystore
# 1 encrypt private key:
cast wallet import test_wallet --interactive
# 2. insert private key
# 3. set password
Create a .env
file with the following format:
SENDER=0x123456789abcdef... # address associated with the encrypted private key in keystore
ARBITRUM_SEPOLIA_RPC_URL=https://arb-sepolia.g.alchemy.com/v2/your-api-key
ARBISCAN_API_KEY=GWRGWGW121142...
You can get your keys in:
make build
make test
make format
make deploy_funding ARGS="-d --network arbitrumSepolia"
Grab the address of the deployed contract and store it in script/FundMe.s.sol
line 8.
make fund ARGS="-i --network arbitrumSepolia"
make withdraw ARGS="-i --network arbitrumSepolia"