A development sandbox for testing and experimenting with Ethereum and other EVM-compatible blockchain interactions. This project provides a collection of scripts and utilities for common Web3 operations during development, including account management, token interactions, NFT operations, and transaction handling.
Note: This is not a production-ready library, but rather a development environment for testing blockchain interactions and experimenting with different Web3 functionalities.
- Account Management
- Create and import Ethereum accounts
- Manage private keys and wallets
- Token Operations
- Query token balances
- Transfer tokens
- Get token metadata
- NFT Support
- Query NFT balances
- Get NFT metadata
- Transfer NFTs
- Transaction Management
- Send transactions
- Query transaction status
- Gas estimation
- Network Utilities
- Multi-chain support
- Network configuration management
- Provider management
- Node.js (v14 or higher)
- Yarn or npm package manager
- TypeScript knowledge
- A development environment for blockchain testing (e.g., local testnet, testnet RPC endpoints)
- Clone the repository:
git clone https://github.com/yourusername/web3methods.git
cd web3methods
- Install dependencies:
yarn install
# or
npm install
web3methods/
├── abi/ # Smart contract ABIs
├── packages/ # Core functionality modules
│ ├── web3-account.ts
│ ├── web3-balance.ts
│ ├── web3-import.ts
│ ├── web3-nft.ts
│ ├── web3-tokens.ts
│ └── web3-transactions.ts
├── provider/ # Web3 provider configurations
├── types/ # TypeScript type definitions
├── utils/ # Utility functions
└── networks/ # Network configurations
The project provides several scripts for testing different blockchain functionalities:
yarn start-account
yarn start-tokens
yarn start-nft
yarn start-transactions
yarn start-balance
yarn start-network
This sandbox is designed for development and testing purposes. It's recommended to use test networks (like Sepolia, Goerli, or local testnets) when running these scripts.
yarn babel
# Add test commands when implemented
- ethers.js
- web3.js
- axios
- graphql-request
- bip39
- ethereumjs-wallet
- TypeScript
- ESLint
- Babel
- Various TypeScript type definitions
This is primarily a development sandbox, but contributions are welcome for:
- Adding new testing scenarios
- Improving existing test scripts
- Adding support for new blockchain networks
- Enhancing error handling and logging
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the ISC License.
This is a development sandbox and should not be used in production environments. Please report any security issues to the repository maintainers.
For support or questions about using this development sandbox, please open an issue in the GitHub repository.