{"id":15150333,"url":"https://github.com/cedarmist/e2eproxy-sapphire","last_synced_at":"2026-01-21T01:01:56.519Z","repository":{"id":176147931,"uuid":"655033838","full_name":"CedarMist/e2eproxy-sapphire","owner":"CedarMist","description":"End-to-End encryption between Client and Sapphire EVM contract using X25519 and Deoxys-II-256-128","archived":false,"fork":false,"pushed_at":"2023-10-31T10:06:16.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T05:49:34.587Z","etag":null,"topics":["end-to-end-encryption","oasis-sapphire","proxy-contract","solidity"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CedarMist.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-17T17:14:35.000Z","updated_at":"2023-06-17T17:39:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"4f1354c9-3bc8-465d-bddf-c42a96e3dae5","html_url":"https://github.com/CedarMist/e2eproxy-sapphire","commit_stats":null,"previous_names":["cedarmist/e2eproxy-sapphire"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CedarMist%2Fe2eproxy-sapphire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CedarMist%2Fe2eproxy-sapphire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CedarMist%2Fe2eproxy-sapphire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CedarMist%2Fe2eproxy-sapphire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CedarMist","download_url":"https://codeload.github.com/CedarMist/e2eproxy-sapphire/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247601483,"owners_count":20964864,"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":["end-to-end-encryption","oasis-sapphire","proxy-contract","solidity"],"created_at":"2024-09-26T14:02:13.303Z","updated_at":"2026-01-21T01:01:56.402Z","avatar_url":"https://github.com/CedarMist.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# End-to-End encrypted proxy contract example\n\nThis repo provides an example of how a contract can relay encrypted transactions on Oasis Sapphire, so the relayer cannot see which contract is being invoked or what the parameters are.\n\nUsing the [@oasis-protocol/sapphire-contracts](https://www.npmjs.com/package/@oasisprotocol/sapphire-contracts) library The E2EProxy contract generates a long-term X25519 keypair which allows users to submit a Deoxys-II encrypted payload (with forward secrecy) containing the contract address to invoke and the calldata to pass.\n\nWhile [@oasis-protocol/sapphire-hardhat](https://www.npmjs.com/package/@oasisprotocol/sapphire-hardhat) package makes testing easy with Hardhat, you also need to run a local [sapphire-dev](https://github.com/oasisprotocol/oasis-web3-gateway/pkgs/container/sapphire-dev) instance which supports the necessary EVM precompiles.\n\nFor your convenience there is a `Makefile` which uses Docker to keep everything neatly contained:\n\n```\nmake sapphire-dev \u0026  # This will take a few minutes\nmake pnpm-install\nmake hardhat-compile\nmake hardhat-test\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedarmist%2Fe2eproxy-sapphire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcedarmist%2Fe2eproxy-sapphire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedarmist%2Fe2eproxy-sapphire/lists"}