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.
- Hive JavaScript API documentation: https://github.com/hivewallet/hive-osx/wiki/API
- How to build a Hive app: https://github.com/hivewallet/hive-osx/wiki/How-to-build-a-Hive-app
# 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.