1.9.7 • Published 1 year ago

@bitcoin-s-ts/oracle-server-ts v1.9.7

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

OracleServerTS

This project is a NodeJS module for making calls to bitcoin-s oracleServer.

Install Dependencies

This project requires local NodeJS https://nodejs.org/. Run npm i in the project root to install project dependencies.

Build

Run npm run build to build the project. The build artifacts will be stored in the dist/ directory.

Test

Run npm run test to start JavaScript invocation test script.

Proof of System Working Programs

Typescript

import * as OracleServer from '@bitcoin-s-ts/oracle-server-ts'

OracleServer.ConfigureServerURL('http://localhost:9998/')
// Optional, if authorization is set on oracleServer
OracleServer.ConfigureAuthorizationHeader('Basic ' + Buffer.from('bitcoins:password').toString('base64'))

OracleServer.GetPublicKey().then(r => {
  console.debug('GetPublicKey()', r)
})

Javascript

const OracleServer = require('@bitcoin-s-ts/oracle-server-ts')

OracleServer.ConfigureServerURL('http://localhost:9998/')
// Optional, if authorization is set on oracleServer
OracleServer.ConfigureAuthorizationHeader('Basic ' + Buffer.from('bitcoins:password').toString('base64'))

OracleServer.GetPublicKey().then(r => {
  console.debug('GetPublicKey()', r)
})
1.9.7

1 year ago

1.9.5

2 years ago

1.9.4

2 years ago

1.9.3

2 years ago

1.9.2

2 years ago

1.9.1

2 years ago

1.9.0

2 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.0.1-LOCAL

3 years ago