Skip to content

Feature/btc address#20

Merged
ngodi merged 6 commits into
devfrom
feature/btc-address
May 31, 2025
Merged

Feature/btc address#20
ngodi merged 6 commits into
devfrom
feature/btc-address

Conversation

@AthenaCodesAll
Copy link
Copy Markdown
Contributor

feature/btc-address Branch Description

This feature branch implements full Bitcoin address management functionality for the BitPal Wallet API. It introduces core capabilities for generating, validating, importing, and retrieving Bitcoin addresses, along with comprehensive test coverage.

Key Features:

  • Address Generation
    Supports single and bulk Bitcoin address generation using BIP32 with bitcoinjs-lib.

  • Address Validation
    Middleware to validate Bitcoin addresses (P2PKH, P2SH, Bech32).

  • Address Import
    Allows users to import existing Bitcoin addresses securely.

  • Address Retrieval
    Endpoints to fetch all addresses or a specific one by ID.

  • QR Code Support
    Generates QR codes for addresses using the qrcode library.

Testing

  • Unit and integration tests written with Jest.
  • Tests cover controllers, services, and validation middleware.

Files Added:

  • src/controllers/btcAddressController.js
  • src/services/btcAddressService.js
  • src/routes/btcAddressRoutes.js
  • src/models/btcAddressModel.js
  • src/middleware/btcValidationMiddleware.js
  • __tests__/btcAddress.test.js

@ngodi ngodi merged commit ee5f9e1 into dev May 31, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants