Bitxor APIREST gateway combines HTTP and WebSockets to perform read and write actions on the blockchain.
- Node.js 12 LTS
- yarn dependency manager
- docker
- bitxor-bootstrap
-
Validate you are able to run Bootstrap by following the requirements.
-
Install the project dependencies:
./yarn_setup.sh
-
Run a BitxorCore Server:
-
Run bitxor-apirest:
In another terminal:
yarn start:dev
If everything goes well, you should see bitxor-apirest running by opening http://localhost:3000/node/info
in a new browser tab.
Please refer to the documentation for more information.
Make sure you choose a version compatible with the bitxorcore-server node you want to use it with.
Starting on v1.1.0
, version numbers are described as follows:
vX.Y.Z
- X: This serves to lock for compatibility with
bitxorcore-server
, thus it is safe to update by keeping this number without REST losing server compatibility. Additionally, any breaking change to the server should require to upgrade this number. - Y: This serves to lock on safe updates to this project, thus it is safe to update by keeping this number without worrying about introducing breaking changes.
- Z: Represents minor changes progress, used to identify specific versions when reporting bugs, or to get extensions to the code.
Before contributing please read this and consider the following guidelines:
- Submit small and concise PRs that address a single and clear feature or issue
- Submit only fully tested code
- Split test scope areas with Arrange/Act/Assert comments
- Use spontaneous comments only when necessary
- Follow linting rules - tests are set to fail if those aren't followed
- Notify or update related API resources of accepted changes (OpenAPI)
Copyright (c) 2022 Kriptxor Corp, Microsula S.A. Licensed under the GNU Lesser General Public License v3