- Start the Local Network:
dfx start
- Deploy the Oracle Canister:
dfx deploy oracle
- Deploy the Deposit Canister:
dfx deploy deposit
- Deploy the VaultManager Canister:
dfx deploy vaultmanager
- Deploy the SynthMinter Canister:
dfx deploy synthMinter
- Deploy the SynBase Canister with Argument:
dfx deploy synbase --argument='(record { name = "Synthetic USD"; symbol = "SynUsd"; decimal = 8; fee = 10; permitted_drift_nanos = 86_400_000_000_000; transaction_window_nanos = 86_400_000_000_000; minting_account = (opt record { owner = principal "<canister id of synthminter deployed above>"; subaccount = null; }); primary_account = (opt record { owner = principal "<enter your principal>"; subaccount = null; }); })'
-
Deploy an icrc-1 Compatible Token to mimic the behaviour of ckbtc.
-
Update the Canister Addresses in the Codes:
- Mainly in
vaultmanagercode andoracle.
- Mainly in
-
Update the Canister Address of SynthMinter in VaultManager.
-
Update the Canister Address of Oracle in VaultManager.
-
Update the Canister Address of SynBase in SynthMinter.