New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@keyringnetwork/web-component

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keyringnetwork/web-component

A simple plug-n-play ReactJS module to add a fully-decentralised KYC/AML solution made by DeFi for DeFi

  • 1.0.2
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Keyring Web Component

A simple plug&play ReactJS module to add a fully-decentralised KYC/AML made by DeFi for DeFi.
View Demo · Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact

About The Project

Simply sign the challenge with your preferred wallet provider and you are ready to chat! If you got an ENS name for your wallet, it will be used on behalf of your wallet address. Chats are ephemeral, not logged or stored anywhere. Due to the decentralised nature of the tool, the content posted by users cannot be subject to moderation. The chat supports all UTF-8 characters and is language-agnostic. For security reasons you cannot use BBCode or HTML code, any spurious tag will be stripped out.

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

In order to build this package you will need NodeJS and Yarn installed on your machine.

Installation and local testing

  1. Clone the repo
    git clone https://github.com/Keyring-Network/keyring-web-component.git
    
  2. Install required packages both in the base and the example folder using the same command
    yarn install
    
  3. Execute the demo app
    yarn start
    

Usage

This plugin works with Ethereum mainnet and Rinkeby testnet only.

To use this package in your (d)app simply:

  1. install it with yarn add @keyring-web-component
  2. import it locally using import Chatbox from "keyring-web-component"
  3. instantiate the component passing the required params <Chatbox provider={injectedProvider} address={address} streamID={STREAM_ID} theme="#backgroundColorHex />

The component needs the following parameters to work:

  • provider: web3 provider (MetaMask, WalletConnect, Web3Modal, ...)
  • address: (the user address in hexadecimal form as a string)
  • theme: the background colour in hex format (default: #0360a5)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the GPL-3.0+ License. See LICENSE for more information.

Contact

Project Link: https://github.com/Keyring-Network/keyring-web-component

FAQs

Package last updated on 03 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc