n-y-z-o / nyzoVerifier

Verifier for the Nyzo cryptocurrency
The Unlicense
73 stars 42 forks source link

Json-Rpc Add on for Nyzo Verifier #32

Open EggPool opened 3 years ago

EggPool commented 3 years ago

This PR is not necessarily meant to be merged, as it requires heavier dependencies to support a third party embedded json-rpc server.

Standardized json-rpc access methods were needed in order to ease third party developments and integration with Nyzo, especially Exchanges.

Event hough the Native Nyzo calls could provide that data, the need for custom adapters implied additional work.
As an answer, YannDev plugged a json-rpc server that runs within a Nyzo verifier.
This server is currently used by several exchanges.

This PR makes it easier to switch between Official, Community or JSONRPC version from the official Nyzo Repo.

iwbinb commented 3 years ago

If you are running an exchange, block explorer, API, in order to get the blockchain to sync, please add always_track_blockchain=1 to /var/lib/nyzo/production/preferences I recommend to add above words in the RPC document.