bitwasp / trezor-client
PHP Wrapper for a bitcoind daemon
dev-master
2018-04-08 20:53 UTC
Requires
- php: >=7.0
- ext-json: *
- bitwasp/trezor-protobuf: ^1.0
- google/protobuf: ^3.5
- guzzlehttp/guzzle: ~6.0
- infection/infection: ^0.8.1
- justinrainbow/json-schema: ^5.2
- php-mock/php-mock: ^2.0
- php-mock/php-mock-phpunit: ^2.1
- protobuf-php/protobuf: ^0.1.3
- protobuf-php/protobuf-plugin: ^0.1.3
Requires (Dev)
- phpstan/phpstan: ^0.9.2
- phpunit/phpunit: ~6.0
- squizlabs/php_codesniffer: ~3.0
This package is auto-updated.
Last update: 2024-11-27 03:52:15 UTC
README
This package exposes objects for interacting with the trezord-go package.
The trezord-go package runs a webserver and issues session ID's to software that needs to use a device.
It takes care of all the heavy lifting of speaking to a USB HID device, and exposes an API allowing us to pass protobuf messages to a trezor device.
Installation
composer require bit-wasp/trezor-bridge-client
Contributing
See our contributors guide for more information
Testing
The library has two test cases: mock tests, where the HTTP layer is mocked and tested. It also includes integration tests which run against a trezor emulator, and while running trezord-go.