Your build artifacts are saved within the ./build
directory, along side the compiled deployed contract artifacts in ./build/contracts
.
What exactly are these artifacts?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
Sign up to join this communityYour build artifacts are saved within the ./build
directory, along side the compiled deployed contract artifacts in ./build/contracts
.
What exactly are these artifacts?
The more comprehensive explanation can be found here: What are Artifacts
In short, truffle artifact is a JSON bundle that contains a lot of useful information related to a contract like the ABI, the contract bytecode, the deployment details, compiler version, etc...
It saves the ABI, application binary interface of the contract and other info related to the contract. Open the contract_name.json in the ./build/contracts you can see all the information about the contract. If you want to deploy the contract again, then you don't have to compile it again, the contract bytecode from the contract_name.json file will be used.
Artifacts are simply the JSON files of the contracts. the meaning of artifact in software is anything that is created so a piece of software can be developed.