Go application used as a web backend with storage for custodial wallet's xpriv keys, utilizing a non-custodial spv-wallet service.
The spv-wallet-web-backend is an HTTP server that serves as the referential backend server for a custodial web wallet for Bitcoin SV (BSV). It integrates and utilizes the spv-wallet component to handle various BSV-related operations, including the creation of transactions and listing incoming and outgoing transactions.
For in-depth information and guidance, please refer to the SPV Wallet Documentation.
For endpoints documentation you can visit swagger which is exposed on port 8180 by default.
http://localhost:8180/swagger/index.html
To easy development process we use https://taskfile.dev/
Task offers many installation methods. Check out the available methods on the installation documentation page.
To see the list of available tasks just call
taskTo install missing tools that are need just call
task installAlso consider installing git hooks with the command:
task git-hooks:installSo it will ensure that tests are passing and linter is not complaining before git push.
To start application locally with performed all the code checks first use the command
task startif you just want to run app without all the checks
task runTo verify the code overall run verification task
task verifyIf you just want a static check of a code run
task verify:checkIf you want to run tests then run
task test