Skip to content

What is BLOC-Service

BLOC-service RPC Wallet is a HTTP server which provides JSON 2.0 RPC interface for BLOC payment operations and address management designed to manage a user's account while operating together with a BLOCd Node Daemon.

BLOC-service RPC Wallet allows you to accept incoming payments, generate an address for each user via BLOC-service Wallet JSON RPC API and much more.

Make sure you visit the BLOC-service command line arguments to find out how to start BLOC-service with a customized configuration depending your needs.

If you are looking to integrate BLOC payment and process transactions into your website or application, BLOC-service is what you need.

Screenshot

Here's a quick image of BLOC-service in action:

BLOCd MAIN NET

Source code

BLOC-service API

The BLOC-DEVELOPER website documents the public API of BLOC-service. You can test your application with your own BLOCd node and view code examples in different programming language.

BLOC-service RPC Clients

Currently we support the following official client bindings:

  • Javascript: A JavaScript wrapper for the BLOC-service RPC interface.
  • NodeJS: This project is designed to make it very easy to interact with various RPC APIs available within the BLOC Project. This entire project uses Javascript Promises to make things fast, easy, and safe.
  • Go: A Golang wrapper for the BLOC RPC API. This project makes it easy to send requests to particular RPC server and returns a clear response without any abrupt termination.
  • PHP: A PHP wrapper for BLOC's RPC interfaces.

See BLOC-service RPC API for usage.

Important guides with BLOC-service

  1. View this guide for steps on recovering your wallet with your mnemonic phrase (25 words) using BLOC-service.

  2. View this guide for steps on recovering your wallet with your private spend and view keys using BLOC-service.

Downloading

If you wish to compile BLOC-service yourself you can download the source Code.

Binary distributions can be found on: GitHub or BLOC.MONEY .

Select the appropriate file for the target platform (Windows, Mac, Linux).

Binaries are provided in .zip format, while source code is provided in .zip and .tar.gz format.

Installing

Installing on Windows

Extract the .zip file (BLOC-...-windows.zip).

Installing on Mac

Extract the .zip file:

unzip BLOC-...-mac.zip

Installing on Linux

Extract the .zip file:

unzip BLOC-...-linux.zip

Starting BLOC-service

Make sure you visit the BLOC-service Command Line Arguments to find how to start BLOC-service following different configurations.