Search the Community
Showing results for tags 'json-rpc'.
Found 2 results
Minimum search term is 4 characters long. Can't find what you want? Click here for the custom google search instead.
-
Hi everyone, To make test API requests to the rippled server easier, I've created a Postman Collection for the JSON-RPC API with many of the methods. It has most of the Public APIs and just some of the Admin APIs so far. It includes the request bodies from https://xrpl.org so it's quick to make API calls and change parameters like account addresses. The rippled server JSON-RPC URL is set via a Postman environment variable so it's easy to switch to any server you want. I'm still adding to it but wanted to share it to get feedback. If you have any questions, please respond here or post to GitHub Issues. You can find it here: https://github.com/goxrp/rippled-postman Here's a screenshot in the Postman client:
-
Just looking for some devs or advanced users to chime in on some best practices for general private key security while using RippleAPI on a local server. Was going through xrpl.org docs and it's in there that commandline is less secure than, say, JSON-RPC because of things like shell histories and maybe process logging, etc., which I agree with generally. Trying to avoid things like cutting and pasting private keys into commandline scripts to mitigate things like keyboard/clipboard/history loggers, even if just a little. I've been using Linux bash and piping things into jq to process JSON in order to sign and submit transactions; are devs hardcoding private keys into JavaScripts and then just encrypting those files? Pretty sure hard-coding private keys in anything like a script is a no-no, but I could be missing something. In terms of eventually automating my transactions, I could think of a couple ways, like referencing decrypted private key files, running your scripts then deleting/re-encrypting your private keys. I'm picking up javascript at the moment and guess I'll end up switching over to node.js to do transactions instead of through bash and bash scripts; seems like the Ripple API was designed with that in mind. I'm just using Linux command-line now cause I'm already familiar with bash and jq. Generally speaking, how are y'all managing private keys while using commandline/JSON-RPC/Websocket?
- 13 replies
-
- rippleapi
- general security
-
(and 3 more)
Tagged with: