The binary files will not have execute permission set as you download this repo
So just set it on all binaries in the bin folder
to do so cd into
and run:
Please note the "." at the end of the command
how to run:
Backend:
Open terminal and run:
If running project first time also run:
How to run:
(if it gives error "npm run stop" and retry)
In another window
Frontend:
If running project first time also run:
How to run:
//////////////////////////////////////////////////
- Generate Address
- Send BTC to this address (For testnet can be done using postman)
- Enter that tansactionId along the Msg and submit
- It will do the transaction to the fixed address and return the transaction Id
//////////////////////////////////////////////////
How to use postman:
Sending BTC to the address: URL: http://localhost:4444/api/sendtoaddress/{btc address}/1 Example: http://localhost:4444/api/sendtoaddress/mh9HJw9RnJq9oXVmqwGfKWLaLzB3hr7Qbg/1
Getting Transaction (If want to see transaction): URL: http://localhost:4444/api/gettransaction/{Transaction Id} Example: http://localhost:4444/api/gettransaction/6eec31940df28b3244f973770477f6a9367bc96b1f38b5ad960232a25ef5fde6