t3ran13 / php-graphene-node-client

PHP client for connection to Graphene node (STEEM/GOLOS/VIZ/WHALESHARES)
MIT License
12 stars 12 forks source link

Call to undefined function GrapheneNodeClient\Tools\secp256k1_context_create() #16

Closed milanamatya closed 6 years ago

t3ran13 commented 6 years ago

Read intall ib readme You have to install extensions for php

milanamatya commented 6 years ago

how do i install https://github.com/Bit-Wasp/secp256k1-php on windows ?

t3ran13 commented 6 years ago

Use docker, vagrant or vm-ware

milanamatya commented 6 years ago

i installed all components and extensions, but while echo "extension=secp256k1.so" > /usr/local/etc/php/conf.d/secp256k1.ini

error says, -bash: /usr/local/etc/php/conf.d/secp256k1.ini: No such file or directory

milanamatya commented 6 years ago

now another error saying Argument 2 passed to secp256k1_ecdsa_recoverable_signature_serialize_compact() must be of the type string or null, resource given

t3ran13 commented 6 years ago

See install section in readme and sure that you installed correct lib

milanamatya commented 6 years ago

I think you have error in code.

milanamatya commented 6 years ago

I succesfully corrected and now working with changes in Transaction.pho, signOperation function

milanamatya commented 6 years ago

Please check the pull request i have submitted.

t3ran13 commented 6 years ago

ok, use https://github.com/Bit-Wasp/secp256k1-php/releases/tag/v0.1.2 for correct working or you can wait while i will up Bit-Wasp/secp256k1-php to v0.2.1

t3ran13 commented 6 years ago

i fixed it v5.0.1

milanamatya commented 6 years ago

you didnt mentioned me in your post in steemit, my steemit account @milan.amatya13

t3ran13 commented 6 years ago

done, make post for utopian.io