This Template is created for EGO projects
-
rust 1.65.0+
-
dfx 0.12.1+
-
didc download binary, export PATH to
didc -
!! Important !! Manually Setup Credentials
- Under
credentialsfolder, you need to add 2 files.seedPhrase.txt: 12 words mnemonic phrases, to create secp256k1 account for local testproduction.pem: pem file with secp256k1 curve encoded, use formainnetdeployment- You can change file names on
ego-config.json
- Modify
ego-config.json, changeproduction_cycles_walletto your cycles wallet.
- Under
-
setup project, see
ego-projects.json, -
Lazy Setup Credentials
pnpm run ego:credentialsWill generate
seedPhrase.txtandproduction.pemfor you. But!! You have to Setup manually on production!!
pnpm installpnpm run ego:runto create and deploypnpm run test ego_exampleto run test file inclients/tests