Locally for testing we want to AirDrop for each new user about 1000 USD to just for testing so we don’t test with our real money we test with something fake locally.
So any ideas to mock/simulate ckUSDC?
We already have fake Local Internet identity. And we want to do the same with CKUSDc
As you can see, I use the specified_id config field to deploy the local canister with the same ID as the mainnet canister, so that I can skip configuring my app with different canisters IDs depending on the environment.
See also the reference from my project.
Note: you may want to use a more recent release in the future. You can search for them on GitHub
Initialize a local identity that will act as the minter, and get its principal:
dfx identity new minter
MINTER_PRINCIPAL=$(dfx identity --identity minter get-principal)
Write a custom script that initializes the ledger: