{"id":19607109,"url":"https://github.com/jbx-protocol/juice-opengsn","last_synced_at":"2026-05-15T04:31:53.000Z","repository":{"id":99403413,"uuid":"569024693","full_name":"jbx-protocol/juice-opengsn","owner":"jbx-protocol","description":"Extension to allow customizable usage of GSN from a Juicebox project.","archived":false,"fork":false,"pushed_at":"2023-02-12T16:45:47.000Z","size":756,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-21T04:25:50.460Z","etag":null,"topics":["ethereum","juicebox","solidity"],"latest_commit_sha":null,"homepage":"","language":"Solidity","has_issues":true,"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/jbx-protocol.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-21T23:12:40.000Z","updated_at":"2023-01-24T22:43:08.000Z","dependencies_parsed_at":"2023-09-09T07:00:52.542Z","dependency_job_id":null,"html_url":"https://github.com/jbx-protocol/juice-opengsn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jbx-protocol/juice-opengsn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbx-protocol%2Fjuice-opengsn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbx-protocol%2Fjuice-opengsn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbx-protocol%2Fjuice-opengsn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbx-protocol%2Fjuice-opengsn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jbx-protocol","download_url":"https://codeload.github.com/jbx-protocol/juice-opengsn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbx-protocol%2Fjuice-opengsn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33053704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"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":["ethereum","juicebox","solidity"],"created_at":"2024-11-11T10:08:54.642Z","updated_at":"2026-05-15T04:31:52.983Z","avatar_url":"https://github.com/jbx-protocol.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Juicebox OpenGSN (WIP)\nExtension to allow customizable usage of GSN from a Juicebox project\n\n*This uses the OpenGSN V3 contracts which are not available on mainnet yet*\n\n## Why?\nJuicebox projects may want to incentivize users to perform certain actions by paying gas for its users. Some examples of this are:\n- Pay the gas for a user when they pay the project more than 100 DAI\n- Pay the gas for a user when they are voting in governance\n- Pay the gas for a user when they call `distribute`\n\nThis can however also be used to automate on-chain tasks, some examples are:\n- Compounding the yield in an AppleJuice Terminal (WIP)\n- Automatically distribute funds as a new funding cycle begins\n- Queuing new Funding Cycle Configurations according to a schedule (ex. Defifa) \n- Executing (on-chain) governance proposals as they pass\n- DCA treasury funds from one token into another at a set schedule\n- Refilling this contract itself with ETH so it can continue to pay for transactions \n\nThis extension attempts to create a minimal base implementation that can be build upon and configured by projects to their liking.\n\n## Testing\nThis repo contains both forge tests and a E2E test using both forge and hardhat (this combo is needed as OpenGSN uses hardhat). Make sure to run `yarn install` before attempting either of the below tests. \n\n### To run the forge tests\n```\nforge test --fork-url [Gorli-RPC-URL] --via-ir \n```\n\n### To run the E2E test\nCreate a `.secret` file and in it place a mnemonic, this can be an empty wallet it will get funded automatically. Edit `launch-local-testnet.sh` and replace the `sender` address with one from the mnemonic you entered.\n```\nbash launch-local-testnet.sh\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbx-protocol%2Fjuice-opengsn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbx-protocol%2Fjuice-opengsn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbx-protocol%2Fjuice-opengsn/lists"}