{"id":17979021,"url":"https://github.com/lykhonis/relayer-frontend","last_synced_at":"2025-04-04T00:40:23.421Z","repository":{"id":141702198,"uuid":"511336487","full_name":"lykhonis/relayer-frontend","owner":"lykhonis","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-25T13:06:07.000Z","size":2462,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-09T12:29:34.366Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"relayer-frontend.vercel.app","language":"TypeScript","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/lykhonis.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":"2022-07-07T00:48:57.000Z","updated_at":"2022-08-26T19:30:04.000Z","dependencies_parsed_at":"2024-04-19T05:30:31.711Z","dependency_job_id":null,"html_url":"https://github.com/lykhonis/relayer-frontend","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/lykhonis%2Frelayer-frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lykhonis%2Frelayer-frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lykhonis%2Frelayer-frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lykhonis%2Frelayer-frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lykhonis","download_url":"https://codeload.github.com/lykhonis/relayer-frontend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247103301,"owners_count":20884023,"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-10-29T17:35:58.440Z","updated_at":"2025-04-04T00:40:23.386Z","avatar_url":"https://github.com/lykhonis.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Relayer Service\n\n## Development\n\n```shell\nNEXT_PUBLIC_NETWORK_RPC_ENDPOINT=https://rpc.l16.lukso.network\n\nRELAYER_ACCOUNT=0x...\n\nNEXT_PUBLIC_CONTRACT_STAKED_TOKEN=0x...\nNEXT_PUBLIC_CONTRACT_REWARD_TOKEN=0x...\nNEXT_PUBLIC_CONTRACT_RELAY_CONTRACTOR=0x...\n\nDATABASE_URL=...\nDATABASE_KEY=...\n```\n\n#### Database\n\n```shell\nsupabase start\n```\n\nReset:\n```shell\nsupabase db reset\n```\n\nGenerate types:\n```shell\nyarn db:generate-types\n```\n\n#### Execute Transaction\n\n```shell\ncurl --header 'Content-Type: application/json' --request POST --data '{\"keyManagerAddress\":\"0x49D10D5AC996eC31fBe8160e7feec81cb34145aA\",\"transaction\":{\"abi\":\"0x7f23690c5ef83ad9559033e6e941db7d7c495acdce616347d28e90c7ce47cbfcfcad3bc5000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000596f357c6aa5a21984a83b7eef4cb0720ac1fcf5a45e9d84c653d97b71bbe89b7a728c386a697066733a2f2f516d624b43744b4d7573376741524470617744687a32506a4e36616f64346b69794e436851726d3451437858454b00000000000000\",\"signature\":\"0x43c958b1729586749169599d7e776f18afc6223c7da21107161477d291d497973b4fc50a724b1b2ab98f3f8cf1d5cdbbbdf3512e4fbfbdc39732229a15beb14a1b\",\"nonce\":1}}' 'http://localhost:3000/api/execute'\n```\n\n#### Check Transaction Status\n\n```shell\ncurl --request GET 'http://localhost:3000/api/task/149c1b23-e85b-4f51-a314-34c2bec71770'\n```\n\n#### Fetch Transactions\n\n```shell\ncurl --request GET 'http://localhost:3000/api/transactions?keyManager=0xBB645D97B0c7D101ca0d73131e521fe89B463BFD'\ncurl --request GET 'http://localhost:3000/api/transactions?profile=0x506Fb98634903CaaC59E2e02b955E13CaC0E3cBF'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flykhonis%2Frelayer-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flykhonis%2Frelayer-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flykhonis%2Frelayer-frontend/lists"}