Skip to content

Instantly share code, notes, and snippets.

@Turupawn
Created November 17, 2025 01:09
Show Gist options
  • Select an option

  • Save Turupawn/0c20c8ea569dd9841c36423c7c9e68e8 to your computer and use it in GitHub Desktop.

Select an option

Save Turupawn/0c20c8ea569dd9841c36423c7c9e68e8 to your computer and use it in GitHub Desktop.
$ forge init hello
$ cd hello
$ forge build
$ forge script CounterScript --rpc-url https://testnet.riselabs.xyz --broadcast --private-key 0x123123 --via-ir
$ forge verify-contract --rpc-url https://testnet.riselabs.xyz --verifier blockscout --verifier-url https://explorer.testnet.riselabs.xyz/api/ --via-ir 0x2F47eFFda91FEF070Df725704F8546DF3F3356De src/Counter.sol:Counter
Start verifying contract `0x2F47eFFda91FEF070Df725704F8546DF3F3356De` deployed on 11155931
Submitting verification for [src/Counter.sol:Counter] 0x2F47eFFda91FEF070Df725704F8546DF3F3356De.
Submitted contract for verification:
Response: `OK`
GUID: `2f47effda91fef070df725704f8546df3f3356de691a72e8`
URL: https://explorer.testnet.riselabs.xyz/address/0x2f47effda91fef070df725704f8546df3f3356de
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment