https://github.com/marcusmolchany/react-jazzicon
React component for danfinlay/jazzicon
https://github.com/marcusmolchany/react-jazzicon
ethereum jazzicon metamask web3
Last synced: 7 days ago
JSON representation
React component for danfinlay/jazzicon
- Host: GitHub
- URL: https://github.com/marcusmolchany/react-jazzicon
- Owner: marcusmolchany
- License: mit
- Created: 2017-12-14T18:01:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T06:48:07.000Z (about 2 years ago)
- Last Synced: 2024-04-24T19:23:53.762Z (12 months ago)
- Topics: ethereum, jazzicon, metamask, web3
- Language: TypeScript
- Homepage: https://marcusmolchany.github.io/react-jazzicon
- Size: 3.11 MB
- Stars: 42
- Watchers: 4
- Forks: 16
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-jazzicon
[![NPM version][npm-image]][npm-url]
[![License][license-image]][license-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![Downloads][downloads-image]][downloads-url]This is a react component for [Dan Finlay's](https://github.com/danfinlay)
[jazzicon](https://github.com/danfinlay/jazzicon).# usage
```js
import Jazzicon from 'react-jazzicon'export default function App(){
…
return (
)
}
```for Ethereum addresses
```js
import Jazzicon, { jsNumberForAddress } from 'react-jazzicon'export default function App () {
…
return (
)
}
```# setup
```sh
$ git clone https://github.com/marcusmolchany/react-jazzicon
$ cd react-jazzicon
$ yarn # or npm i
```## storybooks
the storybooks github pages are hosted from the `/docs` directory on the `gh-pages` branch.
run the storybooks locally by running the following commands:
```sh
$ yarn # or npm i
$ yarn storybooks # or npm run storybooks
```[npm-image]: https://img.shields.io/npm/v/react-jazzicon.svg?style=for-the-badge&labelColor=161c22
[npm-url]: https://www.npmjs.com/package/react-jazzicon
[license-image]: https://img.shields.io/npm/l/react-jazzicon.svg?style=for-the-badge&labelColor=161c22
[license-url]: /LICENSE
[snyk-image]: https://snyk.io/test/github/marcusmolchany/react-jazzicon/badge.svg?targetFile=package.json
[snyk-url]: https://snyk.io/test/github/marcusmolchany/react-jazzicon?targetFile=package.json
[downloads-image]: https://img.shields.io/npm/dm/react-jazzicon.svg?style=for-the-badge&labelColor=161c22
[downloads-url]: https://www.npmjs.com/package/react-jazzicon