You'll need these installed:
- Node v18, or higher
- Typescript
- Docker Compose (only needed for AU issuance)
npm i
npx ts-node gen-non-transferable-keypair.tsOutput:
Salt (qb64):
AID (Public Key CESR):
Private Key (base64url):
Public Key (base64url):Use this when you need to issue verifiable credentials (AUs) with full KERI infrastructure.
cp .env.example .envmkdir -p storage/keria storage/witness-1 storage/witness-2 reportssudo chown -R 1001:1001 storage/ reports/docker compose up- Leave this running until you're finished entirely with next section.
- When finished, hit Ctrl+C to exit.
At this point, you can run the next section as many times as needed to generate the au that are needed.
- Follow these steps in a different terminal.
npm i./issue-au.sh
Result will appear in console:
$ ./issue-au.sh
Connect to the wallet
passcode=**************
AID=*****************************************
PRIVATE KEY=*****************************************
PUBLIC KEY=*****************************************
AU issued- Uncomment line in .env that are for debugging in IDE
- Use launch config in .vscode/launch.json and run debugger via IDE debug option