Skip to content

BitxorCorp/Bitxor-ApiRest

Repository files navigation

bitxor-apirest

Bitxor APIREST gateway combines HTTP and WebSockets to perform read and write actions on the blockchain.

Requirements

Installation

  1. Validate you are able to run Bootstrap by following the requirements.

  2. Install the project dependencies:

./yarn_setup.sh
  1. Run a BitxorCore Server:

  2. 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.

Usage

Please refer to the documentation for more information.

Versioning

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.

Contributing

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)

License

Copyright (c) 2022 Kriptxor Corp, Microsula S.A. Licensed under the GNU Lesser General Public License v3

About

API-Rest of Core for Bitxor Protocol

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages