1.0.10 • Published 1 year ago

leumas-metamask-quickpay v1.0.10

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago
npm install leumas-metamask-pay

Example

import React from 'react';
import PayWithMetaMaskButton from 'leumas-metamask-pay';

const YourComponent = () => {
  const handlePaymentSuccess = () => {
    console.log('Payment Successful!');
  };

  return (
    <div>
      <h1>Buy our product</h1>
      <PayWithMetaMaskButton 
        amount={50} 
        recipientAddress="0xYourRecipientAddress" 
        onPaymentSuccess={handlePaymentSuccess} 
      />
    </div>
  );
};

export default YourComponent;
1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago