to deploy run > forge create src/YourContract.sol:YourContract --rpc-url https://goerli.infura.io/v3/$YOUR_API_KEY --private-key $YOUR_PRIVATE_KEY
Deployer: 0x6C796210528a45d40e3fF5AD48cb2AF4cC3A3e80 Deployed to: 0xEd33cEc9fE578e675B841D1Ba31CB03Ee96bD1C7 Transaction hash: 0x439a2e7a78b803970580d5482f273aa5ab5385224fbcbff3e4ca1260f53949e4
Contract => https://goerli.etherscan.io/address/0xed33cec9fe578e675b841d1ba31cb03ee96bd1c7#code
Contractv1 = 0xEd33cEc9fE578e675B841D1Ba31CB03Ee96bD1C7
test wih cast call => cast call 0xEd33cEc9fE578e675B841D1Ba31CB03Ee96bD1C7 "random()(uint)" --rpc-url https://goerli.infura.io/v3/$INFURA_API_KEY --private-key PRIVATE_KEY
DEPLOY v2 =>
Deployer: 0x6C796210528a45d40e3fF5AD48cb2AF4cC3A3e80 Deployed to: 0xe8aEcb1C893809Fb624f22Cc22848384f7Ee4dd4 Transaction hash: 0xd7e0c5f89062d7a0dcd9f794f70588b8193a9820527f4df524c3dd43aa2f831d
DEPLOY 3, con account 2
Deployer: 0xEBab422e6e206099Aac736004175F0915A33B533 Deployed to: 0xef8ac5Fe65d0BB2c9b53eF360f26150fD4B6fB7D Transaction hash: 0xa9e166ffc7c125256622cb609622897551e904d0a525b96e22c555a1f563df3c
DEPLOY 4, con account 2
Deployer: 0xEBab422e6e206099Aac736004175F0915A33B533 Deployed to: 0x2224124f42C2363555F6Bc594CD7451381778543 Transaction hash: 0xce2d1867880dc6acaa65e0d67032bc25ff305be73b065df5f5642d96d4729aeb