@learncard/core 3.0.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -21,14 +21,14 @@ pnpm i @learncard/core
21
21
 
22
22
  ### Instantiation
23
23
 
24
- Instantiate a wallet using `walletFromKey`. This method accepts a unique identifier string that is
25
- up to 64 characters long. If it is less than 64 characters, `walletFromKey` will pad the start of
24
+ Instantiate a wallet using `initLearnCard`. This method accepts a unique identifier string that is
25
+ up to 64 characters long. If it is less than 64 characters, `initLearnCard` will pad the start of
26
26
  the string with 0's until it is 64 characters long.
27
27
 
28
28
  ```js
29
- import { walletFromKey } from "@learncard/core";
29
+ import { initLearnCard } from "@learncard/core";
30
30
 
31
- const wallet = await walletFromKey('unique-identifier-that-is-up-to-and-preferably64-characters-long');
31
+ const wallet = await initLearnCard({ seed: 'a'.repeat(64) });
32
32
  ```
33
33
 
34
34
  ### Issuing/Verifying Credentials and Presentations