♾️ INFINIT CLI Alpha release is now available!
Guides
Artifact

Artifact

Artifact files are compiled outputs of the smart contracts, containing the bytecode and ABI (Application Binary Interface) needed to interact with the contracts. These files are automatically generated and stored in the artifacts folder located in the root directory of your project.

You can access the ABI of any smart contract from the artifacts folder and use it in your project or other tools to interact with the contract.

⚠️
Avoid manually editing artifact files, as changes can lead to errors during contract execution and integration. Always rely on the CLI to regenerate artifacts if updates are required.

To re-compile the smart contracts and regenerate the artifacts, you can use the following command:

bunx infinit project compile