A modern, secure cryptocurrency wallet for the Pactus blockchain.
Pactus Wallet is a cross-platform wallet solution for managing digital assets on the Pactus blockchain. Built with security and usability in mind, it provides a seamless experience for users to create wallets, manage accounts, and perform transactions.
This repository contains the web wallet application (Next.js):
pactus-wallet/
├── public/ # Static assets
├── src/ # Application source code
└── docs/ # Project documentation
The core wallet functionality lives in the
Pactus JS SDK and is consumed as the
@pactus/sdk npm package.
- TypeScript: Statically typed JavaScript for safer code.
- npm: Node.js package manager.
- Jest - For unit and integration testing
- Next.js: React framework with SSR and static generation.
- Tailwind CSS: Utility-first CSS for fast UI development.
- next-themes: Theme and dark mode management for Next.js.
- Pactus JS SDK: Wallet and blockchain operations (
@pactus/sdk). - Trust Wallet Core: Cryptographic library powering the Pactus Web Wallet.
Clone the repository and install the dependencies:
git clone https://github.com/pactus-project/pactus-wallet.git
cd pactus-wallet
npm install# Start the development server
npm run dev
# Or create a production build
npm run buildPactus Wallet supports both Mainnet and Testnet networks, allowing you to choose the appropriate network for your needs.
You can switch between Mainnet and Testnet using a keyboard shortcut:
- Mac:
Cmd + Shift + N - Windows/Linux:
Ctrl + Shift + N
The network preference is automatically saved to your browser's local storage and will persist across sessions.
-
Mainnet: Production network for real transactions
- RPC Endpoints:
bootstrap1-4.pactus.org/jsonrpc - Coin Type: 21888
- Block Explorer: PactusScan
- RPC Endpoints:
-
Testnet: Development and testing network
- RPC Endpoints:
testnet1-4.pactus.org/jsonrpc - Coin Type: 21777
- Block Explorer: PactusScan Testnet
- RPC Endpoints:
When using Testnet, a visual indicator badge is displayed in the sidebar to help you distinguish between networks and prevent accidental transactions on the wrong network.
When creating a new wallet, you can specify the network type:
- Wallets created on Mainnet can only be used with Mainnet
- Wallets created on Testnet can only be used with Testnet
- Each network uses different address derivation paths and coin types
Contributions are most welcome! Whether it's code, documentation, or ideas, every contribution makes a difference. Please read the Contributing guide to get started.
This project is licensed under the MIT License. See the LICENSE file for details.