{"id":17290977,"url":"https://github.com/akshay-ap/payfiat","last_synced_at":"2025-04-14T11:43:23.119Z","repository":{"id":44277805,"uuid":"231970623","full_name":"akshay-ap/payfiat","owner":"akshay-ap","description":"Pay for :squid:  Ocean Protocol’s :ocean: data assets in fiat currency :dollar: :euro:","archived":false,"fork":false,"pushed_at":"2023-05-07T16:37:02.000Z","size":2523,"stargazers_count":3,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T14:04:54.139Z","etag":null,"topics":["cryptocurrency","cryptopayments","nodejs","oceanprotocol","paymentprocessing","payments","react"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/akshay-ap.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":"2020-01-05T20:17:04.000Z","updated_at":"2020-07-18T07:17:06.000Z","dependencies_parsed_at":"2024-10-29T13:29:40.049Z","dependency_job_id":null,"html_url":"https://github.com/akshay-ap/payfiat","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"45c888c26f51d265541121f180275040b6285886"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshay-ap%2Fpayfiat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshay-ap%2Fpayfiat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshay-ap%2Fpayfiat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshay-ap%2Fpayfiat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akshay-ap","download_url":"https://codeload.github.com/akshay-ap/payfiat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248875688,"owners_count":21176109,"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":["cryptocurrency","cryptopayments","nodejs","oceanprotocol","paymentprocessing","payments","react"],"created_at":"2024-10-15T10:39:33.775Z","updated_at":"2025-04-14T11:43:23.097Z","avatar_url":"https://github.com/akshay-ap.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# payfiat\n\n\u003e React component to allow users to pay for Ocean Protocol assets in fiat currency\n\n[![NPM](https://img.shields.io/npm/v/payfiat.svg)](https://www.npmjs.com/package/payfiat) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n## Prerequisite\n[PayFiat Server](https://github.com/akshay-ap/payfiat-server) is up and running.\n \n## Install\n\n```bash\nnpm install --save payfiat\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from 'react'\n\nimport {PayFiat} from 'payfiat'\n\nclass Example extends Component {\n  render () {\n    return (\n      \u003cPayFiat \n      oceanAmount={50} \n      currency=\"EUR\" \n      receiverAccount=\"0xB4Ba48998CF672d43b8216D43EE8f16143c9055C\"\n      /\u003e\n    )\n  }\n}\n```\n\u003e **Note** - if `receiverAccount` prop is not provided, then ethereum account address is exported from injected web3 provided like Metamask.\n\n## License\n\nApache 2.0 © [akshay-ap](https://github.com/akshay-ap)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakshay-ap%2Fpayfiat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakshay-ap%2Fpayfiat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakshay-ap%2Fpayfiat/lists"}