A cross-platform, modern, and open-source Bitcoin wallet for the masses.
For building and running the frontend server:
- Node - v17.2.0
- Yarn - v1.22.0
Lower versions might work but they were not tested.
For running the bitcoin regtest network (you only need these for development purposes)
git clone https://github.com/bitasai-org/bitsai
cd bitsai
yarn install
-
Install nigiri
curl https://getnigiri.vulpem.com | bash
BitSai is hosted on two different instances using Netlify.
- A testnet instance on: testnet.bitsai.co
- A mainnet instance on: app.bitsai.co
Beware: the app is still in heavy development so do not put great amounts of btc in the mainnet instance
The two instances each have their respective branch on this git repository and they are both linked to their respective Netlify instance. Meaning that each commit on the mainnet branch will trigger a build script in Netlify that will deploy the new changes to app.bitsai.co. This is done in the same manner on the testnet branch but the changes will be deployed to testnet.bitsai.co.
Despite the app being available on the internet, you can host it locally and run it on your browser of choice.
To start developing on BitSai you need two things:
- Start the local react front-end server
yarn start
- Start a local bitcoin regtest network using nigiri
nigiri start
You are all set now!
You can start developing using your local regtest network.
To build BitSai app you have to choose which network you want to use, and then
you can git checkout
to the respective branch and build from there.
For example to build the app on:
- mainnet:
git checkout mainnet
yarn build
- testnet
git checkout testnet
yarn build
- regtest (your local restest network)
git checkout master
yarn build
All the static files will be located in /public
folder and now you can serve
them locally using any server of your choice. for example using:
- Python
python -m http.server --directory public 8000
- or Ruby
ruby -run -ehttpd public -p8000
You are now set! You can access your locally hosted app in http://localhost:8000
BitSai is still in the early development stages (alpha) so every little
contribution will help :)
Everyone is encouraged to read the source code and file new issues or pull
requests when encountered with bugs or problems.
As you can see there are still no tests set up, so the main focus now is getting
some unit tests and CI set up.
Every donation is appreciated :)
BTC
bc1qm85ryq8wyjsf8trrstr4swmg34w2xzl4dkpek5
BCH
bitcoincash:qqvyzdx5c3lzcet87c56ugtum2utsngjluejj95wpq
XMR
88sRZmmeYwNDM9mzBMMnrk6iDWknc1XgpiCpwAEhfT56FkFJLxzWfNw3VwXKZvVuANUMdPjTRNY149gQvWAKmsNg99TEsTH
Check CODE_OF_CONDUCT.md.
This project is licensed under the MIT License - see the LICENSE.md file for details.