@leapswap/wallet-management
v0.1.2
Published
LeapSwap Wallet Management solution.
Maintainers
Readme
@leapswap/wallet-management
Multi-chain wallet helpers for LeapSwap: default connectors and config for EVM (wagmi), Solana, and Bitcoin (Bigmi).@leapswap/widget uses these defaults when no outer wallet providers are detected. You can also assemble wallets yourself in the host app.
Install
npm install @leapswap/wallet-management
# or
pnpm add @leapswap/wallet-managementInstall peers as needed: react, wagmi, @bigmi/react, @solana/wallet-adapter-react, etc. (see package.json).
Usage
import {
createDefaultWagmiConfig,
createDefaultBigmiConfig,
} from '@leapswap/wallet-management'If the host already provides WagmiProvider / Solana / Bigmi, the Widget reuses that state and you do not need another default provider layer from this package.
Docs
- Repository: leap-fi/LeapSwap
- Overview: README
- Examples:
examples/openocean,examples/kyberswap
License
MIT
