Skip to content

Commit

Permalink
Update get-key-pairs.md (#1839)
Browse files Browse the repository at this point in the history
update `rootEntrophy` to match with my Keypom Generator service
  • Loading branch information
cuongdcdev authored Mar 25, 2024
1 parent 4a1036f commit dab36da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/7.primitives/linkdrop/bos/get-key-pairs.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import TabItem from '@theme/TabItem';
```js
const dropsNumber = "2";
const keysGeneratorUrl = "https://keypom.sctuts.com/keypair/";

asyncFetch(keysGeneratorUrl + dropsNumber + "/rootEntrophy").then((res) => {
const rootEntrophy = "my-password"; //If not provided, the keypair will be completely random. see: https://docs.keypom.xyz/docs/next/keypom-sdk/Core/modules
asyncFetch(keysGeneratorUrl + dropsNumber + "/" + rootEntrophy).then((res) => {
const keyPairs = JSON.parse(res.body);
const pubKeys = [];
const privKeys = [];
Expand All @@ -30,4 +30,4 @@ asyncFetch(keysGeneratorUrl + dropsNumber + "/rootEntrophy").then((res) => {

</TabItem>

</Tabs>
</Tabs>

0 comments on commit dab36da

Please sign in to comment.