Graine Posted April 8, 2017 Share Posted April 8, 2017 (edited) I have been trying to create a payment that takes a specified path, albeit unsuccessfully. Being a mentally technically-challenged person, all attempt at issuing RippledApi calls resulted either into 'ripplelib can't be found', 'syntax error' or 'unexpected object'. The only thing that actually executed error-free was the 'get account' test thing from RippleApi Beginner's guide. Regretfully, that does not aid my endeavour. So, is there any template that I could copy-paste and it will work? I.e. so the only thing I would need to customize is Sender/recipient, currency/issuer and path? Ripplerm's wallet has raw_txn feature, but it doesn't have an option to specify the path. Quote Flags: 2147680256 TransactionType: "Payment" Destination: "wallet2" Amount: Object value: "0.01" currency: "LTC" issuer: "rNPRNzBB92BVpAhhZr4iXDTveCgV5Pofm9" Account: "wallet1" Sequence: 14 Fee: "12" SendMax: Object value: "0.01" currency: "LTC" issuer: "gateway1" Thanks! Edited April 8, 2017 by Graine Link to comment Share on other sites More sharing options...
tulo Posted April 8, 2017 Share Posted April 8, 2017 You can use ripple-lib to do that. You can manually add a path field in the Payment transaction. There are lots of topics on the official forum on that, with limitations and bugs. Link to comment Share on other sites More sharing options...
Graine Posted April 8, 2017 Author Share Posted April 8, 2017 9 minutes ago, tulo said: You can use ripple-lib to do that. You can manually add a path field in the Payment transaction. There are lots of topics on the official forum on that, with limitations and bugs. I have read a topic where you and JoelKatz discuss the similar thing. The problem is, I keep having errors when trying to touch ripple-lib. Thought someone might have a template or two I could paste into websocket tool, or something. Link to comment Share on other sites More sharing options...
tulo Posted April 8, 2017 Share Posted April 8, 2017 28 minutes ago, Graine said: I have read a topic where you and JoelKatz discuss the similar thing. The problem is, I keep having errors when trying to touch ripple-lib. Thought someone might have a template or two I could paste into websocket tool, or something. Which error? I think the first step is to be able to use ripple-lib. You should try the boilerplate in the documentation, then you try a standard payment, then you add a path. I doubt you can do that with the websocket tool, but maybe you can. Link to comment Share on other sites More sharing options...
Graine Posted April 8, 2017 Author Share Posted April 8, 2017 @tulo 'ripplelib can't be found', 'syntax error' or 'unexpected object'. I am a complete novice in anything programming related, so it's very likely I misconfigured something. Oh well, the hard way it is. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now