Package: dexa-sdk
Data Exchange Agreements (DEXA) SDKsAbout•Release Status•Contributing•LicensingAboutThis repository hosts the source code for DEXA SDKs and is part of the deliverables for Provenance services with smart data agreement (PS-SDA) project that has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 957338. It implements common functions for DEXA that is used to implement dexa-protocols.Release StatusNot released, work in progress.InstallationRequirements:Python 3.8.9 or higherPlugin InstallationInstall this plugin into the virtual environment:$pipinstalldexa-sdkUsageHyperledger aries agents with DEXA protocols enabled can be created using DEXA SDK. Sample script is given below:Inagent.py, copy the following.fromdexa_sdk.agent.commands.startimportexecuteargs=["-it","http","0.0.0.0","8006","-ot","http","-e","http://localhost:8006/","--label","Data Source","--admin","0.0.0.0","8005","--admin-insecure-mode","--auto-accept-requests","--auto-ping-connection","--auto-respond-credential-proposal","--auto-respond-credential-offer","--auto-respond-credential-request","--auto-store-credential","--auto-respond-presentation-proposal","--auto-respond-presentation-request","--auto-verify-presentation","--genesis-url","https://indy.igrant.io/genesis","--wallet-type","indy","--wallet-name","Data Source","--log-level","info","--wallet-key","Data Source","--webhook-url","http://localhost:8005/webhooks","--public-invites","--plugin","mydata_did","--plugin","dexa_protocol","--eth-node-rpc","<ethereum node rpc endpoint>","--intermediary-eth-private-key","<data intermediary ethereum private key>","--org-eth-private-key","<org ethereum private key>","--contract-address","<contract address>"]execute(args)and run by executingpython agent.py.Using dockerdockerrun-itigrantio/dexa-sdk:0.1.8---ithttp0.0.0.08006-othttp-ehttp://localhost:8006/--labelDataSource--admin0.0.0.08005--admin-insecure-mode--auto-accept-requests--auto-ping-connection--auto-respond-credential-proposal--auto-respond-credential-offer--auto-respond-credential-request--auto-store-credential--auto-respond-presentation-proposal--auto-respond-presentation-request--auto-verify-presentation--genesis-urlhttps://indy.igrant.io/genesis--wallet-typeindy--wallet-nameDataSource--log-levelinfo--wallet-keyDataSource--webhook-urlhttp://localhost:8005/webhooks--public-invites--pluginmydata_did--plugindexa_protocol--eth-node-rpc<ethereumnoderpcendpoint>--intermediary-eth-private-key<dataintermediaryethereumprivatekey>--org-eth-private-key<orgethereumprivatekey>--contract-address<contractaddress>ContributingFeel free to improve the plugin and send us a pull request. If you found any problems, please create an issue in this repo.LicensingCopyright (c) 2022-25 LCubed AB (iGrant.io), SwedenLicensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.You may obtain a copy of the License athttps://www.apache.org/licenses/LICENSE-2.0.Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the LICENSE for the specific language governing permissions and limitations under the License.