Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@joinerdavid0213/polkadot-connect) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
polkadot-connect
polkadot-connect is a library designed to facilitate seamless connections between your decentralized applications (DApps) and Polkadot wallets. It provides an easy-to-use interface for integrating wallet functionalities, ensuring a smooth user experience.
Features
- Easy Integration: Quickly connect your DApp to various Polkadot wallets.
- User-Friendly API: Simple methods for handling wallet connections and transactions.
- Supports Multiple Wallets: Compatible with popular Polkadot wallets.
Installation
To install polkadot-connect, you can use npm or yarn:
npm install @joinerdavid0213/polkadot-connector
npm i @joinerdavid0213/polkadot-connectUsage
Here's a quick example of how to use polkadot-connect in your DApp:
import { connectWallet } from 'polkadot-connect'
async function init() {
const wallet = await connectWallet()
console.log('Connected to wallet:', wallet)
}
init()Contact
For questions or support, please open an issue on GitHub or contact us at joinercantillo0813@gmail.com.