RippedFuel Posted December 30, 2017 Share Posted December 30, 2017 Hi guys, just downloaded the JS Ripple SDK and started playing with it to create accounts in the testnet, then decided to try a live account and sent 30 XRPs to it but it's been an hour and still getting an error "account not found" when querying for balance. What did go wrong? Here is the code used to generate the account form the docs: // Generate address/secret keys function generateAccount(live=false) { if(live){ server = 'wss://s1.ripple.com/'; // LIVE } else { server = 'wss://s.altnet.rippletest.net:51233'; // TEST } const api = new ripple.RippleAPI({server:server}); api.connect().then(() => { console.log('Generating account...'); return api.generateAddress(); }).then(act => { account = act; console.log('Account', act); console.log('Address: '+act.address); console.log('Secret: '+act.secret); }).then(function(){ console.log('Disconnecting...'); return api.disconnect(); }).then(function(){ console.log('Disconnected'); }).catch(console.error); } Link to comment Share on other sites More sharing options...
RippedFuel Posted December 30, 2017 Author Share Posted December 30, 2017 20 hours have passed and the account is still not found. Any idea why? Should I create a new account and resend the money? How do I cancel a transaction? Link to comment Share on other sites More sharing options...
mrcarrot Posted December 30, 2017 Share Posted December 30, 2017 What's the account number for the account that was created? Link to comment Share on other sites More sharing options...
T8493 Posted December 30, 2017 Share Posted December 30, 2017 20 minutes ago, RippedFuel said: 20 hours have passed and the account is still not found. Any idea why? Should I create a new account and resend the money? How do I cancel a transaction? Maybe you could post transaction id here so that we can investigate. Link to comment Share on other sites More sharing options...
RippedFuel Posted December 30, 2017 Author Share Posted December 30, 2017 Here is the account number but the transaction has already been cancelled and unfortunately I don't know the tx id. rMXQ8YSBkvA66rwaEZfq11FRKPE8xJ5MCE Will wait for a couple of days before trying again, I don't know if the server is under heavy load due to recent events or the shady exchange (bitfinex) took so long to send the money (30 XRP?) for unknown reasons. Thanks anyway, will keep you posted next time I try. Link to comment Share on other sites More sharing options...
T8493 Posted December 30, 2017 Share Posted December 30, 2017 7 minutes ago, RippedFuel said: Here is the account number but the transaction has already been cancelled and unfortunately I don't know the tx id. rMXQ8YSBkvA66rwaEZfq11FRKPE8xJ5MCE Will wait for a couple of days before trying again, I don't know if the server is under heavy load due to recent events or the shady exchange (bitfinex) took so long to send the money (30 XRP?) for unknown reasons. Thanks anyway, will keep you posted next time I try. Who canceled the transaction? Exchange? Some exchanges don't allow sending XRPs to non-activated accounts. Link to comment Share on other sites More sharing options...
RippedFuel Posted December 31, 2017 Author Share Posted December 31, 2017 (edited) 12 hours ago, T8493 said: Who canceled the transaction? Exchange? Some exchanges don't allow sending XRPs to non-activated accounts. I did after 24 hours waiting and the tx being in pending state. That's a possibility Bitfinex doesn't allow to send coins to empty wallets but I didn't see that warning anywhere, if that's the case then it's all my fault with a little lack of information from their side. I just wanted to fund my account while playing with the SDK. Is there an easier way without going through untrusted parties or complex registrations? Edited December 31, 2017 by RippedFuel 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