[PR #11] [MERGED] feat(bsc): Support for BNB Chain (ex Binance Smart Chain) 🚀 #19

Closed
opened 2026-03-03 18:51:38 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/oxygenpay/oxygen/pull/11
Author: @swift1337
Created: 7/22/2023
Status: Merged
Merged: 7/23/2023
Merged by: @swift1337

Base: developHead: feat/bsc


📝 Commits (10+)

  • 6a86de4 Merge pull request #10 from oxygenpay/develop
  • d1f39d5 Update README.md
  • c3527bb Add support for BSC wallets in KMS
  • c93d5ee Add BNB coin. Subscribe to Tatum's notifications
  • a8e4135 Support for incoming BNB payments.
  • b186b07 Fix QR code generation for BNB. Fix tatum webhook parsing
  • 85ef6e7 Support transaction receipts for BSC
  • fa6c2d9 Implement transaction creation for BSC
  • 1914c1e Implement internal transfers for BSC blockchain
  • e86b8f0 Add BNB logo in readme

📊 Changes

56 files changed (+1722 additions, -184 deletions)

View changed files

📝 Makefile (+1 -1)
📝 README.md (+6 -2)
📝 api/proto/kms/kms-v1.yml (+3 -0)
📝 api/proto/kms/v1/wallet.yml (+30 -11)
📝 api/proto/merchant/v1/merchant_address.yml (+2 -2)
📝 internal/db/repository/helpers.go (+9 -0)
📝 internal/kms/api/handler.go (+42 -0)
📝 internal/kms/api/handler_test.go (+83 -0)
📝 internal/kms/app.go (+1 -0)
📝 internal/kms/wallet/service.go (+18 -13)
📝 internal/kms/wallet/wallet.go (+3 -4)
📝 internal/money/money.go (+4 -0)
📝 internal/provider/tatum/provider.go (+2 -3)
📝 internal/provider/tatum/provider_rpc.go (+18 -12)
📝 internal/scheduler/handler.go (+5 -3)
📝 internal/scheduler/handler_test.go (+1 -1)
📝 internal/server/http/internalapi/scheduler.go (+15 -24)
📝 internal/server/http/internalapi/wallet.go (+7 -5)
📝 internal/server/http/merchantapi/address_test.go (+7 -0)
📝 internal/server/http/merchantapi/withdrawal_test.go (+6 -1)

...and 36 more files

📄 Description

This PR adds basic support for BNB chain with BNB coin. USDT and BUSD will come in following PRs

  • KMS: Generate BSC wallets
  • KMS: sign BSC transactions
  • Calculate gas & fees for BSC
  • Broadcast BSC transactions
  • Accept incoming payments for BSC
  • Support internal transfers for BSC
  • Transaction receipts for BSC
  • Support for BSC withdrawals
  • Support for BSC addresses for withdrawals
  • Support BSC explorer links

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/oxygenpay/oxygen/pull/11 **Author:** [@swift1337](https://github.com/swift1337) **Created:** 7/22/2023 **Status:** ✅ Merged **Merged:** 7/23/2023 **Merged by:** [@swift1337](https://github.com/swift1337) **Base:** `develop` ← **Head:** `feat/bsc` --- ### 📝 Commits (10+) - [`6a86de4`](https://github.com/oxygenpay/oxygen/commit/6a86de42aa1430342a4a1bbe7c04945b0e721a4a) Merge pull request #10 from oxygenpay/develop - [`d1f39d5`](https://github.com/oxygenpay/oxygen/commit/d1f39d53910ee3fc49ab3712daa37ee5ccd4f5d8) Update README.md - [`c3527bb`](https://github.com/oxygenpay/oxygen/commit/c3527bb1be47cc64bec62189d7255f75fcb3ae6e) Add support for BSC wallets in KMS - [`c93d5ee`](https://github.com/oxygenpay/oxygen/commit/c93d5ee7c072fd46f3138da4ef6ef78d9a31c75f) Add BNB coin. Subscribe to Tatum's notifications - [`a8e4135`](https://github.com/oxygenpay/oxygen/commit/a8e4135ac281d64b49ed42ce4da78c7c5b150795) Support for incoming BNB payments. - [`b186b07`](https://github.com/oxygenpay/oxygen/commit/b186b071b7520d8961e2736aa463992f2f65c132) Fix QR code generation for BNB. Fix tatum webhook parsing - [`85ef6e7`](https://github.com/oxygenpay/oxygen/commit/85ef6e793667e19fb74ac0b1050b5744854862b2) Support transaction receipts for BSC - [`fa6c2d9`](https://github.com/oxygenpay/oxygen/commit/fa6c2d9b4e18e0dc2dbb52f1f65e9bf0655439af) Implement transaction creation for BSC - [`1914c1e`](https://github.com/oxygenpay/oxygen/commit/1914c1ee00730463092123671f2131815f3f7faf) Implement internal transfers for BSC blockchain - [`e86b8f0`](https://github.com/oxygenpay/oxygen/commit/e86b8f0f56853d2c6d594f3927642547a6754459) Add BNB logo in readme ### 📊 Changes **56 files changed** (+1722 additions, -184 deletions) <details> <summary>View changed files</summary> 📝 `Makefile` (+1 -1) 📝 `README.md` (+6 -2) 📝 `api/proto/kms/kms-v1.yml` (+3 -0) 📝 `api/proto/kms/v1/wallet.yml` (+30 -11) 📝 `api/proto/merchant/v1/merchant_address.yml` (+2 -2) 📝 `internal/db/repository/helpers.go` (+9 -0) 📝 `internal/kms/api/handler.go` (+42 -0) 📝 `internal/kms/api/handler_test.go` (+83 -0) 📝 `internal/kms/app.go` (+1 -0) 📝 `internal/kms/wallet/service.go` (+18 -13) 📝 `internal/kms/wallet/wallet.go` (+3 -4) 📝 `internal/money/money.go` (+4 -0) 📝 `internal/provider/tatum/provider.go` (+2 -3) 📝 `internal/provider/tatum/provider_rpc.go` (+18 -12) 📝 `internal/scheduler/handler.go` (+5 -3) 📝 `internal/scheduler/handler_test.go` (+1 -1) 📝 `internal/server/http/internalapi/scheduler.go` (+15 -24) 📝 `internal/server/http/internalapi/wallet.go` (+7 -5) 📝 `internal/server/http/merchantapi/address_test.go` (+7 -0) 📝 `internal/server/http/merchantapi/withdrawal_test.go` (+6 -1) _...and 36 more files_ </details> ### 📄 Description This PR adds basic support for BNB chain with BNB coin. USDT and BUSD will come in following PRs - [x] KMS: Generate BSC wallets - [x] KMS: sign BSC transactions - [x] Calculate gas & fees for BSC - [x] Broadcast BSC transactions - [x] Accept incoming payments for BSC - [x] Support internal transfers for BSC - [x] Transaction receipts for BSC - [x] Support for BSC withdrawals - [x] Support for BSC addresses for withdrawals - [x] Support BSC explorer links --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 18:51:38 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/oxygen#19
No description provided.