Web GUI for pay.bitcoin.com
At first you have to install all node modules:
yarn install
Afterwards you can start the app with:
yarn start
Then will then have a server running at http://localhost:3000 with hot code replacement and live reloading in the browser.
Create a new Component.tsx
in src/components/
Create a new Component.less
in src/less/
Import less file in to src/index.less
@import "less/Component";
src/components/bchTxSampleRequest.ts
src/components/slpTxSampleRequest.ts
src/components/bchTxSampleResponse.ts
src/components/slpTxSampleResponse.ts
If you want to build a distribution, you have to execute
npm run build:dev
or
npm run build:prod
In the prod distribution all js- and css-files are uglified and there are no source maps.
You will find the distribution under /dist.
You can run the tests with
npm test
If you want to develop against the tests with hot reloading, you have to execute
npm run test:watch
The following technologies are used for writing and running tests:
The code is released under the MIT license.