blocktrail / blocktrail-sdk-php

BlockTrail's Developer Friendly PHP SDK for the BlockTrail API
MIT License
44 stars 49 forks source link

backup_info_example.php don't work in 3.0.5 #75

Open rizhenkov opened 7 years ago

rizhenkov commented 7 years ago

After creating new wallet In $backupInfo['blocktrail_public_keys'] we really have array of arrays (not instances).

Argument 1 passed to Blocktrail\SDK\Bitcoin\BIP32Key::create() must be an instance of BitWasp\Bitcoin\Key\Deterministic\HierarchicalKey, array given, called in /var/www/bit.tbot.me/vendor/blocktrail/blocktrail-sdk/src/BackupGenerator.php on line 79

rizhenkov commented 7 years ago

As temporary solution we may unset($backupInfo['blocktrail_public_keys']); before calling BackupGenerator (in that case PDF will not contain QR-code with wallet public keys).

Dear developers, add example to wallet v3 recovery, please.

RishabSwift commented 6 years ago

This entire SDK seems unstable and broken. It's like it's in its alpha stage. You fix one issue, another one arises. Did the developers even test it out? They seem to release a new version without even testing the earlier one. Extremely frustrating.