To deploy the contracts in Solana's localnet, run solana-test-validator
and then
anchor build --skip-lint
and anchor deploy
.
The scripts can be simply ran as: cargo run --bin script name
Make sure to run initialize_programs
before the rest of the scripts.
Note : The contracts are a very simple dummy version, trying to emit similar events to the actual ones in the devnet. Once the actual contracts have been deployed, it is recommended to switch over to using them.