We utilize Foundry to streamline development process.
forge create src/Posts.sol:Posts \
--rpc-url <your_rpc_url> \
--private-key <your_private_key> \
--constructor-args <your_owner_address>
Extract pretty-formatted JSON with the ABI
of the Posts.sol contract.
forge build --silent && jq '.abi' ./out/Posts.sol/Posts.json > ./out/Posts.sol/Posts.abi