{"id":20226260,"url":"https://github.com/zilpay/data-rs","last_synced_at":"2025-06-29T09:33:05.068Z","repository":{"id":161656577,"uuid":"630898326","full_name":"zilpay/data-rs","owner":"zilpay","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-27T09:37:14.000Z","size":236,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-27T10:21:26.335Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/zilpay.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}},"created_at":"2023-04-21T12:14:24.000Z","updated_at":"2025-06-27T09:37:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"76a889fc-c39c-4142-b4f6-f4efae4f24de","html_url":"https://github.com/zilpay/data-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zilpay/data-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zilpay%2Fdata-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zilpay%2Fdata-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zilpay%2Fdata-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zilpay%2Fdata-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zilpay","download_url":"https://codeload.github.com/zilpay/data-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zilpay%2Fdata-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262569990,"owners_count":23330322,"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-11-14T07:16:58.952Z","updated_at":"2025-06-29T09:33:05.048Z","avatar_url":"https://github.com/zilpay.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Rust Server for ZilPay Wallet Tokens Metadata Storage and Configuration\n\nThis is a high-performance, multi-threaded server implemented in Rust. It is designed to store and configure metadata tokens for ZilPay wallet.\nRunning the Server\n\nTo run the server in development mode, use the following command:\n\n```bash\ncargo run\n```\n\nTo build the server for production, use the following command:\n\n```bash\ncargo build --release\n```\nThe following environment variable is required to run the server:\n\n * ACCESS_TOKEN: The access token to authenticate requests to the token updates endpoint.\n * DB_PATH: The path of the database filesystem.\n * PORT: The http server port. \n\nConfiguration Files\n\nThe following configuration files are required to run the server:\n\n   * CURRENCIES_KEY: The key to store the currencies database.\n   * CURRENCIES_DATABASE: The directory to store the currencies database.\n   * DEX_KEY: The key to store the liquidity pool data.\n   * DEX_DATABASE: The directory to store the liquidity pool data.\n   * META_KEY: The key to store the token metadata.\n   * META_DATABASE: The directory to store the token metadata database.\n\nUsage\n\n### API Endpoints\n\nThe server provides the following API endpoints:\n\n    GET /api/v1/rates: Returns the list of currencies.\n    GET /api/v1/token/zlp: Returns the metadata for the ZLP token.\n    PUT /api/v1/token/:base16: Updates the metadata by token address.\n    GET /api/v1/dex: Returns the metadata for the ZLP token, the list of currencies, and the liquidity pool data.\n\nMake sure to authenticate your requests using the ACCESS_TOKEN environment variable.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzilpay%2Fdata-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzilpay%2Fdata-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzilpay%2Fdata-rs/lists"}