# crypto-transfer-qr

> This is a program for generate QR of crypto address with transfer amount.

Latest version **1.1.5** (published 2021-08-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install crypto-transfer-qr
pnpm add crypto-transfer-qr
yarn add crypto-transfer-qr
bun add crypto-transfer-qr
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.5 |
| Published | 2021-08-20 |
| First published | 2021-08-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 7.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Hayato Omori |
| Maintainers | hayato_omori |
| Keywords | crypto, transfer, qr |

## Links

- npm: https://www.npmjs.com/package/crypto-transfer-qr
- Repository: https://github.com/hayatoVTA/crypto-transfer-qr
- Homepage: https://github.com/hayatoVTA/crypto-transfer-qr#readme
- Issues: https://github.com/hayatoVTA/crypto-transfer-qr/issues
- npm.io page: https://npm.io/package/crypto-transfer-qr

## Dependencies (1)

- [qrcode.react](https://npm.io/package/qrcode.react.md) ^1.0.1

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 1.1.5 (latest) — 2021-08-20
- 1.1.4 — 2021-08-20
- 1.1.3 — 2021-08-19
- 1.1.2 — 2021-08-19
- 1.1.1 — 2021-08-19
- 1.1.0 — 2021-08-19
- 1.0.3 — 2021-08-19
- 1.0.2 — 2021-08-19
- 1.0.1 — 2021-08-19
- 1.0.0 — 2021-08-19

## README

# Crypto-Transfer-QR

This is a program for generate QR of crypto address with transfer amount.

<!-- [![Build Status](https://travis-ci.org/hayatoVTA/crypto-transfer-qr.svg?branch=main)](https://travis-ci.org/hayatoVTA/crypto-transfer-qr)
[![GitHub license](https://img.shields.io/github/license/hayatoVTA/rpncc.svg)](https://github.com/hayatoVTA/crypto-transfer-qr) -->
[![npm](https://img.shields.io/npm/v/crypto-transfer-qr.svg)](https://npmjs.com/package/crypto-transfer-qr)
![npm](https://img.shields.io/npm/dt/crypto-transfer-qr)
![NPM](https://img.shields.io/npm/l/crypto-transfer-qr)

## Donation

Support the This Software Foundation!

ETH: 0xF1c51266886c539Bd3e613ff17DBBDF653ae151e

## Install

```bash
$ npm i crypto-transfer-qr
```

And install dependency packages.

```bash
$ npm i qrcode.react
```

## Example

A simple program to Generate Crypto Transfer QRCode.
(The default value is to send 1000 JPYC on the Matic(Polygon) Mainnet into "0xF1c51266886c539Bd3e613ff17DBBDF653ae151e")

```javascript
// import this package
import CryptoTransferQR from "crypto-transfer-qr";

const App = () => {
  return <CryptoTransferQR />;
};

export default App;
```

## Property

Set the options as follows.

:warning: When adding an option, an error will occur if even one is missing.

This program is to send 100 USDC on the Ethereum Mainnet into "0xF1c51266886c539Bd3e613ff17DBBDF653ae151e"

```javascript
<CryptoTransferQR 
  contract="0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
  chain="1"
  to="0xF1c51266886c539Bd3e613ff17DBBDF653ae151e"
  amount={100}
  decimals="6"
/>
```

property      | type                 | default value
----------|----------------------|--------------
`contract`   | `string`             | `0x6ae7dfc73e0dde2aa99ac063dcf7e8a63265108c`
`chain`   | `string`             | `1`
`to`   | `string`             | `0xF1c51266886c539Bd3e613ff17DBBDF653ae151e`
`decimals`   | `string`             | `18`
`amount`   | `number`             | `1000`
`renderAs`| `string` (`'canvas' 'svg'`) | `'canvas'`
`size`    | `number`             | `200`
`bgColor` | `string` (CSS color) | `"#FFFFFF"`
`fgColor` | `string` (CSS color) | `"#000000"`
`level`   | `string` (`'L' 'M' 'Q' 'H'`)            | `'L'`
`includeMargin` | `boolean`      | `false`

## More

|  Network Name  |  Chain Id  |
| ---- | ---- |
|  Ethereum Mainnet  |  1 |
|  Binance Smart Chain Mainnet  |  56  |
|  Matic(Polygon) Mainnet  |  137  |
|  xDAI Chain  |  100  |

reference: <a href="https://chainlist.org/" target="_blank">https://chainlist.org/</a>

## Info

Inspired by https://github.com/Nuko973663/jpycpayqr/

## License

This software is released under the MIT License, see LICENSE.txt.

---
_Source: https://npm.io/package/crypto-transfer-qr · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
