You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `config` parameter is an instance of the `Config` class.
54
-
See [config.py](https://dev.singularitynet.io/docs/products/DecentralizedAIPlatform/SDK/PythonSDK/Documentation/config/)
55
-
for a reference.
70
+
>Please note that variables in the '.env` file and environment variables must start with "SNET_" and must be uppercase!
56
71
57
72
#### Config parameters description
58
73
59
-
-`private_key`: Your wallet's private key that will be used to pay for calls. Is **required** in config;
74
+
-`private_key`: Your wallet's private key that will be used to sign transactions (and pay for calls). Is **required** in config;
75
+
-`signer_private_key`: Is equal to `private_key`, if not specified. Your wallet's private key that will be used to pay for calls.
60
76
-`eth_rpc_endpoint`: RPC endpoint that is used to access the Ethereum network. Is **required** in config;
61
77
> To get your **Alchemy API Key**, follow [this guide](https://dev.singularitynet.io/docs/products/DecentralizedAIPlatform/Daemon/alchemy-api/).
62
-
63
78
-`wallet_index`: The index of the wallet that will be used to pay for calls;
64
79
-`ipfs_endpoint`: IPFS endpoint that is used to access IPFS;
65
80
-`concurrency`: If set to True, will enable concurrency for the SDK;
66
81
-`force_update`: If set to False, will reuse the existing gRPC stubs (if any) instead of downloading proto and regenerating them every time.
67
-
-`mpe_contract_address`: The address of the Multi-Party Escrow smart contract;
68
-
-`token_contract_address`: The address of the SingularityNET token smart contract;
69
-
-`registry_contract_address`: The address of the Registry smart contract;
70
-
-`signer_private_key`: The private key of the signer. Used to sign the service call. Equals to `private_key` by default.
71
-
72
-
#### List organizations and their services
73
-
74
-
You can use the sdk client instance`s methods get_organization_list() to list all organizations and get_services_list("org_id") to list all services of a given organization.
0 commit comments