What is a contract?

The contract in Forge refers to the data structure and processing flow that defines a certain Transaction, and is compiled and deployed to the callable code collection on the chain. Forge chain has more than 20 kinds of built-in contracts.

How do I view the contract?

carried out forge contract:ls You can list the name, address, status, version, etc. of all installed contracts, as follows: