{"id":50672950,"url":"https://github.com/oasisprotocol/rofl-paymaster","last_synced_at":"2026-06-08T13:02:30.510Z","repository":{"id":329319429,"uuid":"1055157560","full_name":"oasisprotocol/rofl-paymaster","owner":"oasisprotocol","description":"End-to-end system for redeeming ROSE on Oasis Sapphire when users deposit tokens on other EVM chains.","archived":false,"fork":false,"pushed_at":"2026-02-06T15:47:48.000Z","size":450,"stargazers_count":1,"open_issues_count":9,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-02-06T21:26:49.293Z","etag":null,"topics":["oasis","paymaster","python","rofl","rose","sapphire","solidity","typescript"],"latest_commit_sha":null,"homepage":"https://explorer.oasis.io/mainnet/sapphire/rofl/app/rofl1qralj7kx4fnvlnw720wu9h9k9fm0l8wpssxrumpv","language":"TypeScript","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/oasisprotocol.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-11T21:19:19.000Z","updated_at":"2026-01-21T11:35:16.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/oasisprotocol/rofl-paymaster","commit_stats":null,"previous_names":["oasisprotocol/rofl-paymaster"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oasisprotocol/rofl-paymaster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oasisprotocol%2Frofl-paymaster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oasisprotocol%2Frofl-paymaster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oasisprotocol%2Frofl-paymaster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oasisprotocol%2Frofl-paymaster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oasisprotocol","download_url":"https://codeload.github.com/oasisprotocol/rofl-paymaster/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oasisprotocol%2Frofl-paymaster/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34063159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["oasis","paymaster","python","rofl","rose","sapphire","solidity","typescript"],"created_at":"2026-06-08T13:02:29.730Z","updated_at":"2026-06-08T13:02:30.498Z","avatar_url":"https://github.com/oasisprotocol.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ROFL Paymaster\n\nEnd-to-end system for redeeming ROSE on Oasis Sapphire when users deposit\ntokens on a remote EVM chain. The project combines on-chain contracts, an\noff-chain relayer, and ROFL infrastructure backed by Hashi proofs.\n\n## System Foundations\n\nThis system is built on [Hashi](https://github.com/gnosis/hashi/tree/main), a\ncross-chain message verification protocol, with ROFL integration:\n\n- **Hashi Protocol** - Cross-chain message verification framework\n- **ROFL Adapter** - Part of the [ROFL Header Oracle](https://github.com/oasisprotocol/rofl-header-oracle)\n  that runs in a TEE (Trusted Execution Environment) and securely pushes\n  block headers from remote EVM chains to Sapphire\n- **HashiProver** - Contract (`contracts/contracts/hashi/prover/HashiProver.sol`)\n  that verifies Merkle proofs against the block headers provided by the ROFL\n  adapter\n\n## Components\n\n- `contracts/` – Hardhat workspace for PaymasterVault, CrossChainPaymaster,\n  supporting libraries, and deployment/configuration tasks.\n- `paymaster-relayer/` – Python relayer that listens for deposits, builds Hashi\n  proofs, and submits transactions locally or through ROFL.\n\n## Operational Flows\n\n### Manual relay\n\nDeploy and configure the paymaster contracts, and manage vault deposits from\nthe `contracts/` workspace via hardhat tasks. Operators fetch block headers\n(via the header oracle when available), generate a proof for each deposit, and\nsubmit it to the Sapphire paymaster to release ROSE manually.\n\n### Automated relayer (local)\n\nRun the relayer stack with Docker Compose from the `paymaster-relayer/`\nproject. It watches the source vault, builds proofs automatically, and forwards\nthem to Sapphire while you iterate locally.\n\n### Automated relayer (ROFL)\n\nBuild the relayer container image and deploy it through ROFL. The ROFL deployment\nconsumes the same proof pipeline but benefits from the TEE-backed header oracle\nfor long-lived operation without managing local infrastructure.\n\n## Where to Go Next\n\n- Contract deployment, configuration, and manual operation: see [`contracts/README.md`](contracts/README.md).\n- Relayer setup, ROFL deployment, and local development: see [`paymaster-relayer/README.md`](paymaster-relayer/README.md).\n\nFor repository-wide conventions and linting utilities, use the top-level\n`Makefile` targets.\n\n## License\n\nLicensed under Apache 2.0. Portions derived from the Hashi project remain\nsubject to the original LGPL-3.0 terms—review both licenses before redistribution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foasisprotocol%2Frofl-paymaster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foasisprotocol%2Frofl-paymaster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foasisprotocol%2Frofl-paymaster/lists"}