2.0.3 • Published 2 years ago

blockchains_api v2.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
2 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

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

2.0.1

2 years ago

1.0.24

2 years ago

2.0.0

2 years ago

1.0.23

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.11

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago