# 1155-to-20

> ERC 1155 to ERC 20 converter

Latest version **1.0.2** (published 2020-10-15) · LGPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install 1155-to-20
pnpm add 1155-to-20
yarn add 1155-to-20
bun add 1155-to-20
```

## 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.0.2 |
| Published | 2020-10-15 |
| First published | 2020-09-20 |
| Weekly downloads | 0 |
| License | LGPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.4 MB |
| Known vulnerabilities | 0 (+4 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 48 |
| Maintainers | alanlu1023 |
| Keywords | ethereum, smart, contract, token, adapter, erc-1155, erc-20, converter |

## Links

- npm: https://www.npmjs.com/package/1155-to-20
- Repository: https://github.com/gnosis/1155-to-20
- Homepage: https://github.com/gnosis/1155-to-20#readme
- Issues: https://github.com/gnosis/1155-to-20/issues
- npm.io page: https://npm.io/package/1155-to-20

## Dependencies (1)

- [@openzeppelin/contracts](https://npm.io/package/@openzeppelin/contracts.md) ^3.1.0

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2020-10-15
- 1.0.1 — 2020-10-05
- 1.0.0 — 2020-09-20

## README

# 1155-to-20
ERC 1155 to ERC 20 converter

## Deploying this to a network

1. Copy `.env.example` to `.env`.
2. Set SEED_PHRASE, GAS_PRICE, INFURA_PROJECT_ID, and ETHERSCAN_API accordingly in `.env`
3. `npx truffle migrate --network <network>`
4. Verify on Etherscan via `npx truffle run verify Wrapped1155Factory Wrapped1155 --license LGPL-3.0-or-later --network <network>`

Make sure the network you are referring to has been described in the `truffle-config.js`.

The migration will use a SingletonFactory described by EIP 2470 to deterministically deploy a Wrapped1155Factory at a specific location on chain. If the SingletonFactory already exists on the chain, that deployment will be skipped. Likewise, if the Wrapped1155Factory already exists on the chain, the deployment will be skipped.

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