{"id":22912276,"url":"https://github.com/strongerprogrammer7/bridge_ton_eth_through_db","last_synced_at":"2025-08-18T10:11:22.217Z","repository":{"id":276252498,"uuid":"743990960","full_name":"StrongerProgrammer7/bridge_ton_eth_through_db","owner":"StrongerProgrammer7","description":"Interaction patients with doctor throught DB MySQL and Smart contract Ethereum and TON. Contracts include only get access doc and annual access. DB include all other. Main goal create bridge ETH - TON","archived":false,"fork":false,"pushed_at":"2024-08-08T14:42:49.000Z","size":28001,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T06:23:43.594Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StrongerProgrammer7.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":"2024-01-16T12:15:31.000Z","updated_at":"2025-01-30T16:36:25.000Z","dependencies_parsed_at":"2025-02-07T06:36:01.797Z","dependency_job_id":null,"html_url":"https://github.com/StrongerProgrammer7/bridge_ton_eth_through_db","commit_stats":null,"previous_names":["strongerprogrammer7/bridge_ton_eth_through_db"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StrongerProgrammer7%2Fbridge_ton_eth_through_db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StrongerProgrammer7%2Fbridge_ton_eth_through_db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StrongerProgrammer7%2Fbridge_ton_eth_through_db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StrongerProgrammer7%2Fbridge_ton_eth_through_db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StrongerProgrammer7","download_url":"https://codeload.github.com/StrongerProgrammer7/bridge_ton_eth_through_db/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246628225,"owners_count":20808106,"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":[],"created_at":"2024-12-14T04:27:38.290Z","updated_at":"2025-04-01T11:16:43.234Z","avatar_url":"https://github.com/StrongerProgrammer7.png","language":"JavaScript","readme":"\u003csub\u003e**This work was done as part of the Course work by Author: Abdyukov Z.M. **\u003c/sub\u003e \n\u003ch3\u003eContent\u003c/h3\u003e\n\n[Brief introduction](https://github.com/StrongerProgrammer7/bridge_ton_eth_through_db?tab=readme-ov-file#-brief-introduction-)\u003cbr\u003e\n[Development tools](https://github.com/StrongerProgrammer7/bridge_ton_eth_through_db?tab=readme-ov-file#development-tools-and-programming-language)\u003cbr\u003e\n[Architecture](https://github.com/StrongerProgrammer7/bridge_ton_eth_through_db?tab=readme-ov-file#architecture)\u003cbr\u003e\n[View Prototype](https://github.com/StrongerProgrammer7/bridge_ton_eth_through_db?tab=readme-ov-file#-view-prototype-) \u003cbr\u003e\n[TODO](https://github.com/StrongerProgrammer7/bridge_ton_eth_through_db?tab=readme-ov-file#-todo-)\n\n\u003cdiv align=\"center\"\u003e\n\u003ch1\u003eBridge TON - ETH through DB\u003c/h1\u003e\n\u003ch2\u003eInteraction Patient between Doctor \u003c/h2\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n\u003ch3 align=\"center\"\u003e Brief introduction \u003c/h3\u003e\n \u003cp\u003eThe main goal of the work is to create a bridge between ETH \u0026 TON smart contracts through a database. This will increase work flexibility by allowing patients and doctors to use different wallets.\u003cbr\u003e\u003cbr\u003e\nThe scientific novelty of the paper is that a new approach to patient-physician interaction through the use of different wallets is proposed.\u003c/p\u003e\n    \u003ch4 align=\"center\"\u003eIt's work continue previous works\u003c/h4\u003e\n    \u003cp align=\"justify\"\u003eOnly front-end and smart contract ETH and used IPFS:\u003cbr/\u003e https://github.com/StrongerProgrammer7/SmartContractPatients\u003c/p\u003e\n    \u003cp align=\"justify\"\u003eFront-end + Back-end. Used MySql for store big data and contract ETH only for access to record patient:\u003cbr/\u003e https://github.com/StrongerProgrammer7/Interaction_with_patients\u003c/p\u003e\n \u003ch4\u003e How it work \u003c/h4\u003e\n \u003cp\u003e\n  In our work, the database server will be used as a bridge to ensure cross-chain interaction between different blockchains. The database stores records of patients, doctors, as well as their wallet addresses and smart contract addresses. \u003cbr/\u003e\n  The wallet address is a unique identifier that is used to send and receive cryptocurrency tokens and log into the application profile acting as a login, and the smart contract address is the address of the contract deployed on the blockchain, which contains the logic of performing actions and managing data.\u003cbr/\u003e\n  The logic of our smart contracts includes storing the addresses of those doctors who have been granted access and contains an access verification operation. If there is no access, the doctor cannot make or change the patient's record.\n \u003c/p\u003e\n\u003c/div\u003e \n\u003cdiv\u003e \n\u003ch3 align=\"center\"\u003eDevelopment tools and Programming Language\u003c/h3\u003e\n\u003cp align=\"justify\"\u003e For Smart Contract, i used Solidity and IDE Remix(Debug contract) for ETH and TACT for TON, also Personal Blockchain Ganache\u003c/p\u003e\n\u003cp align=\"justify\"\u003e\u003cstrong\u003eInside our server, server-ganache is enabled. And the smart contract is deployed inside server-ganahce\u003c/strong\u003e\u003c/p\u003e\n\u003cp align=\"justify\"\u003e For Web-Site, used React(Vite) and NodeJS\u003c/p\u003e\n\u003cp\u003e\u003cb\u003eNode v18.13.0 ,\u003cbr\u003enpm v8.19.3\u003c/b\u003e\u003c/p\u003e\n \u003cp\u003eList instuments: npm, nodejs, react , vite, ton, ganachem blueprint, tact, openZepplinContracts, remixIDE, vscode\u003c/p\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n\u003ch3 align=\"center\"\u003eArchitecture\u003c/h3\u003e\n \u003cp\u003e Scheme Database \u0026 smart-contracts\u003c/p\u003e\n \u003cimg src=\"https://github.com/StrongerProgrammer7/bridge_ton_eth_through_db/assets/71569051/584b4a17-155e-4e3b-8d46-caf06db728fd\" alt=\"scheme db\"/\u003e\n\u003cp\u003eDeployment diagram\u003c/p\u003e\n\u003cimg width=\"450px\" src=\"https://github.com/StrongerProgrammer7/bridge_ton_eth_through_db/assets/71569051/bb18dfb7-22e2-48f2-8e26-51e449947e0e\" alt=\"\" /\u003e\n\u003cp\u003eSequence diagrams\u003c/p\u003e\n\u003cimg width=\"550px\" src=\"https://github.com/StrongerProgrammer7/bridge_ton_eth_through_db/assets/71569051/259058be-7f3b-494a-a310-ffbd8ccdf315\" /\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n \u003ch3 align=\"center\"\u003e View prototype \u003c/h3\u003e\n \u003cp\u003eThe interface has not changed based on previous work. Except that the ability to use the TON wallet and switch between wallets has been added.\u003c/p\u003e\n \u003cp\u003e Choose wallet\u003c/p\u003e\n \u003cimg src=\"https://github.com/StrongerProgrammer7/bridge_ton_eth_through_db/assets/71569051/3bdf48c6-f742-4948-9b73-ca5d861d0857\" /\u003e\n \u003cp\u003e Cost Eth\u003c/p\u003e\n \u003cimg src=\"https://github.com/StrongerProgrammer7/bridge_ton_eth_through_db/assets/71569051/cbbb386f-79f2-4a79-8867-c6a36e710550\" /\u003e\n \u003cp\u003e Cost TON \u003c/p\u003e\n \u003cimg src=\"https://github.com/StrongerProgrammer7/bridge_ton_eth_through_db/assets/71569051/541597b2-51e7-4016-a6f4-8943bdf85d88\" /\u003e\n \u003cp\u003e If not have access\u003c/p\u003e\n \u003cimg src=\"https://github.com/StrongerProgrammer7/bridge_ton_eth_through_db/assets/71569051/bb5037ca-e169-490b-b997-bdb207412fe0\" /\u003e\n\u003c/div\u003e\n\u003cdiv\u003e\n \u003ch3\u003e TODO: \u003c/h3\u003e\n1) addition, notification and reminder system, functionality for making an appointment with a doctor online, the ability to store the results of medical research and analyses in encrypted form,\u003cbr/\u003e\n2) Optimizing the application interface to improve the user experience,\u003cbr/\u003e\n3) further improvement of data security and protection mechanisms, including the implementation of encryption and authentication methods to ensure the confidentiality of patient medical data, \u003cbr/\u003e\n4) considering the possibility of integration with other blockchain platforms besides Eth and Ton to expand the capabilities and flexibility of the application, \u003cbr/\u003e\n5) Ecosystem expansion: Involving partners in the development and expansion of the ecosystem, including medical institutions, insurance companies, pharmaceutical companies and other healthcare participants,\u003cbr/\u003e\n6) providing users with the opportunity to have contracts of both blockchain networks. \u003cbr/\u003e\n7) adaptive front-end for smartphone\n\u003c/div\u003e\n\u003ch4\u003e Author: Abdyukov Z.M. \u003c/h4\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrongerprogrammer7%2Fbridge_ton_eth_through_db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrongerprogrammer7%2Fbridge_ton_eth_through_db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrongerprogrammer7%2Fbridge_ton_eth_through_db/lists"}