@enclave-so/enclave-sdk
v0.0.1
Published
Enclave is an embedded Web3 wallet for user onboarding. [Demo](https://demo.enclave.so)
Downloads
3
Maintainers
Readme
Enclave
Enclave is an embedded Web3 wallet for user onboarding. Demo
Features
- Integrates with any library (Wagmi, Web3Modal, Ethers, etc.)
- Allows users to sign messages, send transactions, and interact with smart contracts
- Free to use, with no limits or project ID required
- Boost feature to increase user engagement
... and much more.
Overview
npm i @enclave-so/sdk
// 1. Import modules
import { inject, provider } from '@enclave-so/sdk'
// 2. Set up Enclave provider
await inject() // EIP-6963 announce
// 3. Consume an action
const accounts = await provider.request({ method: 'eth_accounts' }) // EIP-1193 provider
console.log(accounts)
// ['0x6B944948B5e70e4421034C4C0744A176b0bf9968']
Documentation
Visit the documentation to learn more about Enclave.
Community
Check out the following places for more Enclave-related content:
- Follow @enclave_so and @danpopenko on Twitter for project updates
- Join the discussions on GitHub
- Share your project/organization that uses Enclave
License
MIT License