{"id":19724800,"url":"https://github.com/bigchaindb/ethereum-integration","last_synced_at":"2025-04-29T23:30:30.241Z","repository":{"id":150847523,"uuid":"147181202","full_name":"bigchaindb/ethereum-integration","owner":"bigchaindb","description":"Implementation of BEP-15.","archived":false,"fork":false,"pushed_at":"2018-09-26T10:10:36.000Z","size":12271,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-05T20:05:30.660Z","etag":null,"topics":["bigchaindb","blockchain","database","ethereum","integration","smart-contracts"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bigchaindb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-03T09:19:50.000Z","updated_at":"2025-01-20T23:39:48.000Z","dependencies_parsed_at":"2023-05-03T06:47:26.015Z","dependency_job_id":null,"html_url":"https://github.com/bigchaindb/ethereum-integration","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigchaindb%2Fethereum-integration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigchaindb%2Fethereum-integration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigchaindb%2Fethereum-integration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigchaindb%2Fethereum-integration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigchaindb","download_url":"https://codeload.github.com/bigchaindb/ethereum-integration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251599666,"owners_count":21615564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bigchaindb","blockchain","database","ethereum","integration","smart-contracts"],"created_at":"2024-11-11T23:27:07.253Z","updated_at":"2025-04-29T23:30:30.230Z","avatar_url":"https://github.com/bigchaindb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BigchainDB - Ethereum Integration\n\nThe code in this repository implements [BEP-15 (Ethereum Integration Tools \u0026 Demo 1)](https://github.com/bigchaindb/BEPs/tree/master/15). For more details on what is being done here, please read the mentioned BEP first.\n\nThis repository contains three proofs of concepts:\n\n## [PoC 1](./poc1) (public Ethereum with Oraclize)\n\nPOC1 tries to showcase an approach, using which we can leverage the decentralized data storage capability of BigchainDB and decentralized logic execution (smart contracts) of ethereum.\n\n### PoC 1 flow\n\nPOC1 queries and fetches the data stored in BigchainDB when a smart contract function is invoked (or a condition is met) using the oraclize service.\n\nOn successfully retrieval of data using oraclize, the smart contract evaluates and executes the logic and performs the requested operation.\n\n### Directory contents\n\n- Data generation functions for BigchainDB in /bdb\n- Payment initiation in Ethereum smart contract using `infura` network in /oracle/src/index.js\n- Ethereum contracts are in /oracle/contracts\n\n## [PoC 2](./poc2) (private Ethereum with custom service)\n\nThis proof of concept creates ERC20 token on Ethereum network and listens for token transfers. All token transfers are replicated on BigchainDB as divisible asset transfers.\n\n### PoC 2 flow\n\n- Ethereum and BigchainDB get ERC20 token and Divisible asset minted\n- Service listens to Ethereum network for our ERC20 token transfers\n- On ERC20 token transfer the divisible asset on BigchainDB is transferred accordingly.\n\n### Directory contents\n\n- ERC20 token contract in /contracts\n- Listener in nodejs that transfers divisible assets in /src/eth.js\n\n## [PoC 3](./poc3) (private Ethereum with Stargate)\n\nThird proof of concept is similar to POC 1 but it uses a slightly complex query and smart contract. It also uses a private Ethereum network and the integration between Ethereum and BigchainDB is done using the `Stargate` tool from Oraclize.\n\n### PoC 3 flow\n\n- Create scans as assets on BigchainDB with timestamp\n- Execute smart contract that uses query-engine to retrieve number of transaction for a particular output (public key).\n- If number of transactions is greater then predefined amount then ether is transferred to the recipient.\n\n### Directory contents\n\n- Query-engine service which can be used to query MongoDB of BigchainDB in /query-engine\n- Ethereum contract on /eth\n\n## More Details\n\nMore details about each of these proofs of concepts can be found in the `README.md` files in their respective directories.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigchaindb%2Fethereum-integration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigchaindb%2Fethereum-integration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigchaindb%2Fethereum-integration/lists"}