-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Porting to PHP 8 and rewrite #124
Comments
That's great! Feel free to create a PR! (or create it now with WIP tag, so I could have a look at it 😄 ). |
You can see it here https://github.com/cypherbits/monerophp/tree/new-generation-php8 It is early development. I deleted SHA3, ed25519 and Base58 classes since there are better and more modern projects... I'm working on the WalletRPC at the moment and I created some classes like TransferAmount and TransferDestination to make it easy to define things... Maybe we should make an "easy to use" Monero RPC based fully on classes like Paypal or Stripe too... IDK. For example to define a transfer destination now you can do:
or create independent Amount like:
I'm removing old support like making transfers with PaymentIds (they are not on the RPC specification anymore...) or defining some inputs we didn't have yet... What do you think? |
Why is it now following PSR12 standard? |
I'm working on my fork: https://github.com/cypherbits/monerophp/tree/new-generation-php8 I'm already half-done with jsonRPCclient and the wallet rpc. Do we really need a PHP implementation of:
I understand we needed sha3 and ed25519 for cryptonote, in the past. Could we use PHP sodium and sha3 functions now? Or we cannot? I need help with this work... |
Hi, just to tell you I'm working on porting this to PHP8, using strict types and replace custom classes ( like sha3, ed25519 or base58 ) with mature php projects using strict types.
The text was updated successfully, but these errors were encountered: