2.7 KiB
2.7 KiB
Changelog
All notable changes to this project will be documented in this file.
[0.1.0] - 2024-01-01
Added
Chain Package (@dbis-thirdweb/chain)
- Chain 138 canonical definition (ChainID 138, CAIP-2: eip155:138)
- RPC endpoint configuration
- Native currency metadata
- Type-safe chain exports
Wallets Package (@dbis-thirdweb/wallets)
- Wallet configuration defaults for Chain 138
- Gas strategy configuration
- RPC failover support
- Chain switching utilities (
switchToChain138,ensureChain138) - Automatic chain addition if missing
x402 Package (@dbis-thirdweb/x402)
- Payment request creation and validation
- Pay-to-access flow implementation
- Replay protection via request ID tracking
- Receipt verification on-chain
- Expiration handling
Bridge Package (@dbis-thirdweb/bridge)
- Canonical chain mapping for Chain 138
- Supported routes configuration
- Token lists (native, wrapped, stablecoins)
- Quote generation with slippage protection
- Bridge execution helpers
- Status tracking and finality checks
Tokens Package (@dbis-thirdweb/tokens)
- ERC20 token deployment, minting, transfers
- ERC721 NFT collection deployment and management
- ERC1155 edition deployment and batch operations
- Metadata hosting strategy (IPFS/thirdweb storage)
- Token factory utilities
AI Package (@dbis-thirdweb/ai)
- Chain-aware prompt templates with Chain 138 guardrails
- Read action templates (balance, block height, token info)
- Write action templates (transfers, contract interactions)
- Chain ID routing validation
- Error handling for unsupported operations
HTTP API Package (@dbis-thirdweb/http-api)
- Standardized HTTP API client wrapper
- Retry logic with exponential backoff
- Configurable timeouts
- Chain 138 base URL configuration
- Type-safe request/response interfaces
Smoke Tests (apps/smoke-tests)
- End-to-end test suite for all 6 offerings
- Wallet connection and transaction tests
- x402 payment flow tests
- Bridge quote and execution tests
- Token deployment and transfer tests
- AI read/write operation tests
- HTTP API client tests
- Unified test runner with Vitest
Infrastructure
- pnpm monorepo workspace setup
- TypeScript 5.x configuration
- ESLint and Prettier configuration
- tsup build system for all packages
- Comprehensive documentation
Dependencies
- @thirdweb-dev/sdk: ^4.0.0
- @thirdweb-dev/chains: ^0.1.0
- ethers: ^5.7.0
- vitest: ^1.0.0 (for testing)
Future Enhancements
- Additional bridge providers integration
- Enhanced metadata hosting options
- More comprehensive test coverage
- Performance optimizations
- Additional token standards support
- Extended AI prompt templates