# netlify-cms-widget-crypto-address

> Allow selection of type and validation of crypto address for NetlifyCMS

Latest version **0.1.0** (published 2021-11-24) · GPLV3 license · 0 weekly downloads

## Install

```sh
npm install netlify-cms-widget-crypto-address
pnpm add netlify-cms-widget-crypto-address
yarn add netlify-cms-widget-crypto-address
bun add netlify-cms-widget-crypto-address
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2021-11-24 |
| First published | 2021-11-24 |
| Weekly downloads | 0 |
| License | GPLV3 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.5 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | OPPandaDeFi |
| Maintainers | oppanda |

## Links

- npm: https://www.npmjs.com/package/netlify-cms-widget-crypto-address
- Repository: https://github.com/OPPandaDeFi/netlify-cms-widget-crypto-address
- Homepage: https://github.com/OPPandaDeFi/netlify-cms-widget-crypto-address#readme
- Issues: https://github.com/OPPandaDeFi/netlify-cms-widget-crypto-address/issues
- npm.io page: https://npm.io/package/netlify-cms-widget-crypto-address

## Dependencies (1)

- [prop-types](https://npm.io/package/prop-types.md) ^15.6.1

## Recent versions

- 0.1.0 (latest) — 2021-11-24

## README

# netlify-cms-widget-crypto-address

Netlify CMS plugin to support crypto addresses

Widgets are inputs for the Netlify CMS editor interface. It's a React component that receives user input and outputs a serialized value.

NetlifyCMS offers the ability to add referential links between collections. It unfortunately does not provide a key widget to safely link between items.

## Install

As an npm package:

1. Install the widget:

```
npm i netlify-cms-widget-crypto-address
```

2. Import the UUID widget in the netlifyCMS file:

```
import {CryptoAddressControl, CryptoAddressPreview} from 'netlify-cms-widget-crypto-address';
```

3. Register the widget ready for use:

```
CMS.registerWidget('crypto-address', CryptoAddressControl, CryptoAddressPreview)

```

Via `script` tag:

```html
<script src="https://unpkg.com/netlify-cms-widget-crypto-address@0.0.1/dist/main.js"></script>
<script type="text/javascript">
  CMS.registerWidget(
    "crypto-address",
    CryptoAddressControl,
    CryptoAddressPreview
  );
</script>
```

## How to use

Inside the YML collections file use the new widget.

```
collections:
  - name: "example"
    label: "Example"
    folder: "/path/to/your/folder"
    create: true
    slug: "{{slug}}"
    fields:
      - {label: "Address", name: "address", widget: "crypto-address"}
```

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