Coder Social home page Coder Social logo

lgtm-migrator / dexa-smartcontracts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from decentralised-dataexchange/dexa-smartcontracts

0.0 0.0 0.0 216 KB

This repository hosts the source code for DEXA smartcontracts 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.

License: Apache License 2.0

Python 32.37% Solidity 67.63%

dexa-smartcontracts's Introduction

Data Exchange Agreements (DEXA) Smart Contracts

AboutRelease StatusContributingLicensing

About

This repository hosts the source code for DEXA smartcontracts 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 DEXA smart contracts that can be deployed to locally or to cloud infrastructure with an Ethereum blockchain configured.

Release Status

Not released, work in progress.

Contract Deployments

Network Name name chainId hexChainId Registry Address
Goerli rinkeby 5 0x5 0xFCeE40992B9Bff888d2Faa0691878AD8D7567BA7
Mumbai mumbai 80001 0x13881 0xFCeE40992B9Bff888d2Faa0691878AD8D7567BA7

Compile and deploy the contract

Follow the instructions as given below:

  1. Run git clone [email protected]:decentralised-dataexchange/dexa-smartcontracts.git to clone the repository.
  2. cd in to the cloned folder.
  3. Run poetry shell to setup a python virtual environment.
  4. Run poetry install to install the dependencies.
  5. Configure the following environment variables.
    1. ETH_NODE_RPC - Blockchain node RPC endpoint
    2. ETH_PRIVATE_KEY - Private key associated with the contract creator account address
    3. ETH_ACCOUNT_ADDRESS - Contract creator account address
  6. python scripts/compile_and_deploy.py to compile and deploy.
  7. If the script successfully executes, contract address is displayed in the terminal.

Contributing

Feel free to improve the plugin and send us a pull request. If you found any problems, please create an issue in this repo.

Licensing

Copyright (c) 2022-25 LCubed AB (iGrant.io), Sweden

Licensed 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 at https://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.

dexa-smartcontracts's People

Contributors

georgepadayatti avatar lalc avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.