See Argent Account and Argent Multisig for more details.
Please refer to these instructions.
You can skip cloning the Cairo repository, as this will be done automatically through the Makefile.
If you are a developer, we recommend that you install the Cairo extension. You can find it in the vscode Extensions Marketplace by looking for "Cairo 1.0".
Refer to this documentation: https://docs.swmansion.com/scarb/download.html#install-via-asdf
Thanks to the .tool-versions file, you don't need to install a specific scarb version. The correct one will be automatically downloaded and installed.
scarb test
You should have docker installed in your machine then you can start the devnet by running the following command:
scarb run start-devnet
Install all packages:
yarn
Run all integration tests:
scarb run test-ts
Run single integration test file (need to run previous command first):
yarn mocha ./tests/accountEscape.test.ts
You also have access to the linter and a code formatter:
scarb run lint
scarb run format
The fixtures folder contains pre-compiled contracts used for tests (both json and casm).
For compatibility reasons we support legacy interface IDs. But new interface IDs will follow SNIP-5 Tool to calculate interface IDs: https://github.com/ericnordelo/src5-rs
- Bump version if needed (new deployment in mainnet)
- Set up your .env file with the deployer info and run
yarn deploy
to declare the accounts - Verify the contracts if possible
- Deploy to as many environments as possible: mainnet, goerli, sepolia and integration
- Update the contents of the
deployments
folder with the new addresses - Copy relevant build artifacts from
target/release
todeployments/artifacts
- Tag the commit used for the release (include the same name as in the
deployments
folder for easy tracking) - Create release in GitHub if needed
- Make this checklist better if you learned something during the process