omnipin zodiac
Generate a JSON payload for the Safe transaction builder that configures a Zodiac Roles module with a restricted ENS updater role. The role's key is ENS_DEPLOYER. The role can only execute setContentHash on a specified ENS resolver address.
If OMNIPIN_PK is not specified, a private key will be generated on the spot.
sh
omnipin zodiac --safe 0x0Fd2cA6b1a52a1153dA0B31D02fD53854627D262 0x6aBD167a6a29Fd9aDcf4365Ed46C71c913B7c1B1
# omnipin zodiac --safe 0x0Fd2cA6b1a52a1153dA0B31D02fD53854627D262 0x6aBD167a6a29Fd9aDcf4365Ed46C71c913B7c1B1 --verbose
# ⚠️ `OMNIPIN_PK` environment variable not set.
# 🟢 Generating a Secp256k1 keypair
# 0xeb12099469558be35d53d606e1d5e69d0854c57ef6658e909325c5a0e6493415
# 🟢 Save the private key and do not share it to anyone
# 🟢 Created zodiac.json in current directory
# Open in a browser: https://app.safe.global/apps/open?safe=:0x0Fd2cA6b1a52a1153dA0B31D02fD53854627D262&appUrl=https%3A%2F%2Fapps-portal.safe.global%2Ftx-builder
# Upload zodiac.json in the UIOptions
chain
- Default:
mainnet - Options:
mainnet,sepolia
EVM Chain to use.
safe
Safe wallet address with the installed module. EIP-3770 addresses are supported. Mainnet is used by default.
sh
omnipin ens bafybeibp54tslsez36quqptgzwyda3vo66za3rraujksmsb3d5q247uht4 v1rtl.eth --safe 0x1234567890000000000000000000000000000000rpc-url
Use a custom Ethereum RPC for transactions. By default, Public nodes are used.
resolver-address
Use a custom ENS Resolver address. Public resolvers for mainnet and sepolia are set by default.