{"repo":"lidofinance/reef-knot","free":true,"listed":false,"github":"https://github.com/lidofinance/reef-knot","clone":"git clone https://github.com/lidofinance/reef-knot.git","description":"Web3 Wallets Connection Library","language":"TypeScript","stars":21,"topics":["ui","wallets","web3"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Reef Knot &nbsp; &nbsp; Web3 Wallets Connection Library --- Documentation - How to add a wallet - Migration guide --- Installation Add the reef-knot package Using NPM Using Yarn Wagmi and Viem Reef Knot relies on the wagmi and viem libraries as peer dependencies. To install these libraries, follow the \"Getting Started\" guide in the wagmi documentation. Example Setup For an example of Reef Knot setup and configuration, check out this demo app. Required Imports To set up Reef Knot, you’ll need the following imports: Setting Up Providers 1. Place the inside the Wagmi Context Provider. 2. Place the component inside the . This component manages the Wallet Connection Modal. Configuration Example You can refer to the code of the Reef Knot demo app as a reference for setting up the configuration. Description Reef Knot provides the getDefaultConfig helper function, which acts as a single entry point for configuring both wagmi and Reef Knot: The getDefaultWalletsModalConfig function provides default configuration options for the Wallet Connection Modal, such as: - The wallets to display or pin - Links to the terms of service and privacy policy For more details, refer to the connect-wallet-modal package's README WalletsListEthereum WalletsListEthereum is a default list of wallet adapters. A wallet adapter is a package dedicated to a specific wallet. Each adapter exports an object that specifies the wallet's name, its icon, how the wallet should be detected and connected, additional meta","default_branch":null,"files":null,"tree":[],"storefront":"/r/lidofinance","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lidofinance/reef-knot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}