/hiveapp-api-mock

Mock functions for the Hive Javascript API

Primary LanguageJavaScript

Mock functions for the Hive JavaScript API

How to use

When hiveapp-api-mock.js is included, it defines the 'bitcoin' object - unless there is already one available - and offer a mock API which emulates Hive's JavaScript API.

See also

Development

# Running tests:
cd test
open index.html

If you find any inconsistency among this mock, the documentation and the actual implementation, issues and pull requests are welcome.