Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AMB-319] feat: send/receive bitcoin onchain #82

Merged
merged 7 commits into from
Oct 1, 2024
Merged

Conversation

secondl1ght
Copy link
Member

@secondl1ght secondl1ght commented Sep 27, 2024

NOTE: Branched off #81 so we can review/merge that PR first.

NOTE: The library I am using to validate bitcoin addresses doesn't seem to recognise legacy addresses. I thought this might be OK for now since most people use the bc... format, if we want to support legacy addresses we could relax the validation or try out a different package. This one seems good though and is isolated to a single function whereas some of the others are massive bitcoin JS libraries and may be overkill. One final option would be to try and write our own function to check the string.

NOTE: I asked @bufo24 if send/receive onchain will work between Banco users, I only tested send/receive with an external partner because I wasn't sure if the backend was setup to handle onchain with Banco users or not. We should probably confirm this and test it before merging. I believe there were some changes made recently to allow for lightning swaps between Banco users so the same may be possible for onchain.

image

image

@secondl1ght secondl1ght self-assigned this Sep 27, 2024
@secondl1ght secondl1ght changed the title [AMB-319] Bitcoin-onchain [AMB-319] feat: send/receive bitcoin onchain Sep 27, 2024
Copy link

socket-security bot commented Sep 27, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] None +2 55.4 kB ruigomes

View full report↗︎

Base automatically changed from improve-feedback to main September 27, 2024 22:24
@secondl1ght secondl1ght enabled auto-merge (squash) September 27, 2024 22:38
@secondl1ght secondl1ght merged commit 2777563 into main Oct 1, 2024
4 checks passed
@secondl1ght secondl1ght deleted the bitcoin-onchain branch October 1, 2024 00:37
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.

2 participants