From a20e63a57ed71ca9e2a1508770022d0c3a6bb2c0 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Sun, 26 Mar 2023 19:07:01 -0600 Subject: [PATCH] instructions for testing, including multiple identifiers --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 72965aa..d692f22 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,8 @@ npm run lint ### Clear data & restart -Clear cache for localhost, then go to http://localhost:8080/start (because it'll regenerate if you start on the `/account` page). +Clear cache for localhost, then go to http://localhost:8080/start +(because it'll generate a new one automatically if you start on the `/account` page). ### Test key contents @@ -30,7 +31,8 @@ See [this page](openssl_signing_console.rst) ### Register new user on test server -New users require registration. This can be done with a claim payload like this by an existing user: +New users require registration. This can be done with a claim payload like this +by an existing user: ``` const vcClaim = { @@ -42,18 +44,23 @@ New users require registration. This can be done with a claim payload like this }; ``` -On the test server, User #0 has rights to register others, so you can start playing one of two ways: +On the test server, User #0 has rights to register others, so you can start +playing one of two ways: - Import the keys for the test User `did:ethr:0x000Ee5654b9742f6Fe18ea970e32b97ee2247B51` by importing this seed phrase: `seminar accuse mystery assist delay law thing deal image undo guard initial shallow wrestle list fragile borrow velvet tomorrow awake explain test offer control` + (Other test users are found [here](https://github.com/trentlarson/endorser-ch/blob/master/test/util.js).) -- Alternatively, register someone else under User #0 on the `/account` page: +- Alternatively, register someone else under User #0 automatically: * In the `src/views/AccountViewView.vue` file, uncomment the lines referring to "testServerRegisterUser". * Visit the `/account` page. +### Create multiple identifiers +Go to /import-account and import a new one. Then switch identifiers on the +bottom of the Your Identity page. ### Create keys with alternate tools