项目
在 GitHub 查看
aptos-labs/aptos-wallet-adapter
关于
A monorepo modular wallet adapter for Aptos applications
网站与应用开发可以做什么
- Wallet Adapter: Connect dapps to Aptos wallets with React support
- Cross-Chain Transfers: USDC transfers between Aptos and other chains (Solana, Ethereum, Sui, etc.) via Circle's CCTP
- Derived Wallets: Create Aptos wallets derived from external chain keys (Ethereum, Solana, Sui)
- UI Components: Pre-built wallet selector components for Ant Design and Material-UI
实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Aptos Wallet Adapter
A comprehensive monorepo developed and maintained by Aptos for wallet and dapp builders. Includes wallet adapter SDK, cross-chain functionality, and derived wallet support for seamless multi-chain integration.
NOTE: Vue and Nuxt integration has been moved to a separate community-maintained repository: aptos-wallet-adapter-vue
Features
- Wallet Adapter: Connect dapps to Aptos wallets with React support
- Cross-Chain Transfers: USDC transfers between Aptos and other chains (Solana, Ethereum, Sui, etc.) via Circle's CCTP
- Derived Wallets: Create Aptos wallets derived from external chain keys (Ethereum, Solana, Sui)
- UI Components: Pre-built wallet selector components for Ant Design and Material-UI
- Comprehensive Testing: Full test coverage with Vitest
Getting Started
Example Applications
- Next.js Example - Basic wallet adapter integration
- Next.js Cross-Chain Example - Cross-chain USDC transfers demo
Packages
Core Packages
- @aptos-labs/wallet-adapter-core - Core wallet adapter logic and functionality
- @aptos-labs/wallet-adapter-react - React provider and hooks for wallet integration
UI Components
- @aptos-labs/wallet-adapter-ant-design - Pre-built wallet selector using Ant Design
- @aptos-labs/wallet-adapter-mui-design - Pre-built wallet selector using Material-UI
Cross-Chain Packages
- @aptos-labs/cross-chain-core - SDK for cross-chain USDC transfers via Circle's CCTP
- @aptos-labs/derived-wallet-base - Base functionality for derived wallets
- @aptos-labs/derived-wallet-ethereum - Ethereum/EVM-based derived wallet
- @aptos-labs/derived-wallet-solana - Solana-based derived wallet
- @aptos-labs/derived-wallet-sui - Sui-based derived wallet
Supported Wallets
- Backpack Wallet
- Bitget Wallet
- Cosmostation Wallet
- MSafe
- Nightly
- OKX
- Petra
- Petra Web
- RimoSafe
- Watchee
Develop Locally
Requirements
- Node.js 22.13.0 or higher
- pnpm 11.28.5
- TypeScript 7.0 or higher (native
tsc). Next.js 15 demos also install@typescript/typescript6because Next still needs the TypeScript 6 programmatic API.
Setup
- Clone the repo with
git clone https://github.com/aptos-labs/aptos-wallet-adapter.git - On the root folder, run
pnpm installandpnpm turbo run build - On the root folder, run
pnpm turbo run dev- that would spin up a local server (https://localhost:3000) with the Next.js demo app
Testing
Run tests across all packages:
pnpm test
All packages include comprehensive test coverage using Vitest.
Contributing
Looking how you can contribute? Take a look at our contribution guide
Terms of Use and Privacy Policy
By accessing or using the wallet adapter, you agree to be bound to the Aptos Labs Terms of Use and Privacy Policy.
探索相关项目
加载中…