forknote / cryptonote-generator

Generate Cryptonote coin with 1 command
106 stars 212 forks source link

Any php json rpc client for bytecoin #39

Closed streamcoindev closed 6 years ago

streamcoindev commented 6 years ago

I am trying to create a web wallet however it seems that the bytecoin json rpc api only supports named parameters and not positional parameters i am trying and trying but failing to edit any existing php scripts like easybitcoin.php cause i keep getting invalid request because of the positonal parameters so is there any php json rpc client tthat supports named parameters?

streamcoindev commented 6 years ago

Found the fix while using json_encode you need to give the parameter JSON_FORCE_OBJECT or it will return invalid request