2.0.3 • Published 3 years ago

blockchains_api v2.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

This API provides unified functions to store/read data on BTC/ETH blockchain. This API needs for proper work connection on PostrgreSQL databaze where a additional metadata about transactions and addresses are stored!

This is useable TEST version! That means the API works for now only on BTC/ETH testnet!

Still in development.

Example of usage:

const bc_api = require("blockchains_api")
let blockchain_api = new bc_api()
let db_credentials = {
  host: 'localhost',
  port: 5432,
  database: 'db_name',
  user: 'postgres',
  password: '123'
};
await blockchain_api.connect_db(db_credentials);
eth_api = await blockchain_api.build_blockchain_connection
('eth','wss://authorization_connection_string_on_ropsten_node');
or
('btc', 'authorization_connection_string_on_btc_testnet_node');

// For sending transactions you have to create or import account/address. // After sending a transaction the reading functions can be used!

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

1.0.22

3 years ago

1.0.21

3 years ago

1.0.20

3 years ago

2.0.1

3 years ago

1.0.24

3 years ago

2.0.0

3 years ago

1.0.23

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.11

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago