wallet
0.0.18, released 2 years ago by pwa.ir
Crypto wallet package for Bitcoin, Ethereum and Tron written in pure Dart.
WASM-ready
What it does
Provides tools for generating BIP39 mnemonics, handling keys, and creating or validating addresses for Bitcoin, Ethereum, and Tron blockchains in pure Dart.
AI-written summary of version 0.0.18, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to generate or parse cryptocurrency wallet addresses and keys in pure Dart.
- You are working with Bitcoin, Ethereum, or Tron blockchains and need address validation or signature generation.
Skip it when
- You need a comprehensive Web3 provider library with smart contract interaction out of the box.
- You require support for blockchains other than Bitcoin, Ethereum, and Tron.
Strengths
- Written in pure Dart, ensuring cross-platform support including web and mobile.
- Supports multiple popular blockchains like Bitcoin, Ethereum, and Tron.
Weaknesses
- Limited feature set compared to heavy Web3 suites.
- Not documented for complex RPC interactions or full smart contract execution.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 4
import 'package:wallet/wallet.dart' as wallet;
const address = 'TCB9WxaRSMEXiVaVys9DEAXbRc6JNuKpjA';
final isValid = wallet.isValidTronAddress(address);
print(isValid);Alternatives
Packages that do the same job and could replace wallet.
Works with
Packages commonly used together with wallet: ones it builds on, ones built on it, and its own family.
- convertwallet depends on itEncoders and decoders for converting between different data representations.
- pointycastlewallet depends on itA Dart library providing a wide range of cryptographic algorithms and primitives.
- eip55wallet depends on itUtility to convert Web3 and Ethereum addresses to checksum format (EIP55).
- secwallet depends on itStandards for Efficient Cryptography implementation including SECP256K1 and SECP256R1.
- web3dartBuilt on walletA Dart library to connect to Ethereum clients and interact with smart contracts.
- erc20Built on walletInterface for interacting with ERC20 tokens on Ethereum.