@eluvio/elv-client-js 3.1.66 → 3.1.67

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
@@ -50,12 +50,23 @@ const { ElvClient } = require("elv-client-js/dist/ElvClient-node-min.js");
50
50
 
51
51
  Initializing the client is as simple as pointing it at the appropriate Eluvio configuration URL. This URL will automatically return information about the best Fabric, blockchain and KMS nodes, as well as the Fabric's content space - all the information the client needs to know to communicate with the Fabric.
52
52
 
53
+ For the main net:
54
+
55
+ ```javascript
56
+ const client = await ElvClient.FromConfigurationUrl({
57
+ configUrl: "https://main.net955305.contentfabric.io/config"
58
+ });
59
+ ```
60
+
61
+ For the demo net:
62
+
53
63
  ```javascript
54
64
  const client = await ElvClient.FromConfigurationUrl({
55
- configUrl: "https://main.net955304.contentfabric.io/config"
65
+ configUrl: "https://demov3.net955310.contentfabric.io/config"
56
66
  });
57
67
  ```
58
68
 
69
+
59
70
  <a name="authorization"></a>
60
71
  ## Authorization
61
72
 
@@ -63,7 +74,7 @@ const client = await ElvClient.FromConfigurationUrl({
63
74
 
64
75
  Built on blockchain technology, interaction with the Fabric requires the use of an ethereum private key - representing a user account - in order to verify and authenticate requests, perform encryption, transfer funds, interact with smart contracts, and generally serve as an identity for the user.
65
76
 
66
- To perform the necessary blockchain interactions, the client requires a *signer* containing the user's private key. This is an instance of an [ethers.js](https://github.com/ethers-io/ethers.js/) wallet. ElvClient has a utility class ```ElvWallet``` to make handling this easier.
77
+ To perform the necessary blockchain interactions, the client requires a *signer* containing the user's private key. This is an instance of an [ethers.js](https://github.com/ethers-io/ethers.js/) wallet. ElvClient has a utility class ```ElvWallet``` to make handling this easier. (Note: the new elv-media-wallet takes advantage of new Fabric APIs that manage the signer on behalf of the user. For more info, please contact support@eluv.io)
67
78
 
68
79
  After creating the ElvClient instance, you can generate an ```ElvWallet``` for the client using ```client.GenerateWallet()```. This class provides simple methods to generate signers from various information, as well as storing and retrieving signers by name.
69
80