Giter VIP home page Giter VIP logo

poli's Introduction

Proof of Low Infringement

PoLI is a proposed consensus mechanism which runs by hashing the uniqueness of a given document. The blockchain's ultimate goal is to make sure all documents contained have as little infringement as possible.

This particular repository, however, instead of implementing an entire blockchain, works on top of the Ethereum blockchain for simplicity puropses.

The Infringement algorithm, the code, smart contract, etc. are open and free to use. Feel free to mention me if you like it xD

Update v1.0.1: Matic integration now supported: Change url from test_url to matic_url to continue working with Matic mainnet. Note: Matic SDK configuration is necessary and it is not as readily supported as Ethereum.

Procedure of implementation

  1. Clone the repo in a local directory:

git clone [add_the_url_here] PoLI

  1. Navigate to ON_CHAIN and copy the contents of token.sol to a new remix file remix.ethereum.org

  2. Setup Remix to Ropsten Testnet and deploy the contract

  3. Copy the contract code to OFF_CHAIN/src/ethacc.py under "PASTE YOUR CONTRACT ADDRESS HERE" comment.

  4. Copy your local Ethereum wallet PubKey to "PASTE YOUR WALLET ADDRESS HERE" in the same document.

  5. Paste two documents and rename them paper1.pdf and paper2.pdf. Remember paper1.pdf will be published to the blockchain whereas the other is for infringement checking.

  6. Run core.py

Author

Shaan Sundar,

Twitter: @notthatsundar

email: [email protected]

poli's People

Contributors

shaansundar avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.