python-ripple-lib icon indicating copy to clipboard operation
python-ripple-lib copied to clipboard

Sending transactions

Open MarekDadoMT opened this issue 6 years ago • 2 comments

Hi, I'm trying to use your python-ripple-lib and I'm trying to make trancastion from one account on testnet to another. In the code bellow you can see, that I replace parameters from example by mine parameters, but I didn't figure out what this parameters mean. Would you mind explain it to me what should I insert to parameter seed and url for Account?

`rpc = RippleRPCClient('https://s.altnet.rippletest.net:51234/', username='', password='') account_info = rpc.account_info('rUjtNMGKsDjaopy6X8wonVPAeWAGzugYiT')

taker = 'rfqRW3XUfB9uib2iMJU7rH1WHEnAtY33nw'
issuer = 'rUjtNMGKsDjaopy6X8wonVPAeWAGzugYiT'
seed = '<account_seed>'
account = Account('http://localhost:5005', issuer, seed)
tx_info = account.send_xrp(issuer=issuer, taker=taker, secret=seed, amount=10)`

Console gives me this error: {'status': 'error', 'error': URLError(ConnectionRefusedError(61, 'Connection refused'),)}

MarekDadoMT avatar May 21 '19 20:05 MarekDadoMT

Hi, I am going to look what I can do and reply as soon as possible

arsenlosenko avatar May 24 '19 18:05 arsenlosenko

hi ! I have same problem it is not "soon" yet? :))))

armagg avatar Feb 13 '21 16:02 armagg