1.2.0 • Published 4 years ago

payfiat v1.2.0

Weekly downloads
6
License
Apache 2.0
Repository
github
Last release
4 years ago

payfiat

React component to allow users to pay for Ocean Protocol assets in fiat currency

NPM JavaScript Style Guide

Install

npm install --save payfiat

Usage

import React, { Component } from 'react'

import {PayFiat} from 'payfiat'

class Example extends Component {
  render () {
    return (
      <PayFiat 
      oceanAmount={50} 
      currency="EUR" 
      receiverAccount="0xB4Ba48998CF672d43b8216D43EE8f16143c9055C"
      />
    )
  }
}

Note - if receiverAccount prop is not provided, then ethereum account address is exported from injected web3 provided like Metamask.

License

Apache 2.0 © akshay-ap

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.0.1

4 years ago