Files
bch-dex-taker-v2/README.md
T

50 lines
2.3 KiB
Markdown
Raw Normal View History

2022-06-19 07:16:19 -07:00
# react-bootstrap-web3-spa
2022-06-19 07:00:41 -07:00
2022-06-19 07:16:19 -07:00
This is a single page app (SPA) based on [react-bootstrap](https://www.npmjs.com/package/react-bootstrap). This app is a template to show how to build a web app that leverages the [Cash Stack](https://cashstack.info) web3 architecture, a censorship-resistant back-end for accessing the Bitcoin Cash blockchain.
This app can be compiled and uploaded to Filecoin via [web3.storage](https://web3.storage). This means a censorship-resistant front-end app (SPA) can be built, which communicates with a censorship-resistant back-end.
2022-08-04 17:48:23 -07:00
- [Live Demo on Filecoin](https://bafybeibp6zaa7rjwamxagleukndta4il7w6hntztkq3oot222kzipw4bda.ipfs.dweb.link/)
2022-06-19 08:18:49 -07:00
2022-06-19 07:16:19 -07:00
## Major Features
- [react-bootstrap](https://react-bootstrap.github.io/) is used for general style and layout control.
- An easily customized *waiting modal* component can be invoked while waiting for network calls to complete.
- [minimal-slp-wallet](https://www.npmjs.com/package/minimal-slp-wallet) is used to access tokens and BCH on the Bitcoin Cash blockchain.
2022-07-03 11:39:02 -07:00
- A 'server selection' dropdown allows the user to select from an array of redundant [web3 back end servers](https://cashstack.info).
2022-06-19 07:16:19 -07:00
- This site is statically compiled, uploaded to Filecoin, and served over IPFS for censorship resistance and version control.
2022-07-03 11:39:02 -07:00
- A collapsible navigation menu is used to load different views.
- This app can be compiled into an native Android app using [react-bootstrap-web3-android](https://github.com/Permissionless-Software-Foundation/react-bootstrap-web3-android).
2022-06-19 07:16:19 -07:00
## Installation
```bash
git clone https://github.com/Permissionless-Software-Foundation/react-bootstrap-web3-spa
cd react-bootstrap-web3-spa
npm install
npm start
npm run build
```
2022-09-03 07:56:34 -07:00
## Publish to Filecoin
```bash
export FILECOIN_TOKEN=myFilecoinAPITokenFromWeb3.Storage
npm run build
npm run pub
```
2022-06-19 07:16:19 -07:00
## Support
2022-07-27 15:22:34 -07:00
Have questions? Need help? Join our community support
[Telegram channel](https://t.me/bch_js_toolkit)
## Donate
This open source software is developed and maintained by the [Permissionless Software Foundation](https://psfoundation.cash). If this library provides value to you, please consider making a donation to support the PSF developers:
<div align="center">
<img src="./img/donation-qr.png" />
<p>bitcoincash:qqsrke9lh257tqen99dkyy2emh4uty0vky9y0z0lsr</p>
</div>
2022-06-19 07:00:41 -07:00
## License
[MIT](./LICENSE.md)