Developer Questions

Ask a Question

Generate an XRPL account

Hey guys, Im trying to generate an xrpl account for test purposes and when I try the code it just shows me an account address and it keeps running. Here its an example of the code and when I run it. import { generate } from "xrpl-accountlib"; const account = generate.familySeed; console.log("Account ",account); Windows PowerShell Copyright (C) 2014 Microsoft Corporation. All rights reserved. PS C:\\Users\\User\\Desktop\\Xrpl -js-ts-demo\\XRPL-JS-TS-demo> node dist/ Account address: rGwATJo9oWMAWewrPnxLNtQTdAGDecRnYK Thank you!

Any way to get User Account in the Backend API ?

I am able to fetch the User token via Sign in Request and Webhook, How do i get access to users account in the backend ?

user_token, where to store it client or server side ?

Hello, after my user signed in and i fetch the payload i've got the user_token and wallet address. is it okay to store the user_token client side ? im wondering if a 3rd party if obtained the user_token could do some bad stuff with it like pushing malicious sign requests to the user ? Thank you !

Can't connect react native app to xumm

I am making a react native app which has the simple functionality to send and receive xrp by connecting my app to the Xaman Wallet. However I cant figure as to how can I connect my react native app to the xaman wallet. I tried registering my app on the developer console and added a redirect url. I then opened the same url through my app however every time the url opens I get an error, which is Error: access_denied Invalid client/redirect url. I have cross checked my api key and matched the url on the developer console with the one in my app. I have been stuck on this any kind of help or pointers will be appreciated. Cheers

xApp listing

Hi, my name is Pavlo and I am a CBDO at Swapuz team. We are almost finished developing our xApp, and I would appreciate if you could tell me what are the next steps and what is needed to get our xApp listed. Sincerely, Pavlo

Xaman OAuth

Looking to connect Xaman’s API to Bubble.io using Bubble’s native API connector! Developing a front end connection to Xaman from my web app that allows users to sign in using their personal ledger accounts. For API OAuth authentication , would it be “password flow”, “user-agent flow”, or “custom token”?? for the API call I have the OAuth endpoint: <https://oauth2.xumm.app/auth> Relatively easy question I believe. Thank you all for your help!

xApp Events on Android

I am currently testing a new xApp – Xumm Sdk v1.7.6 and Xaman App v2.6. Opening a sign request works on both iOS and Android. If I close it (sign or decline) iOS receives the event, Android does not. The event handler is registered on both but only iOS receives the event. When I manually check the payload status, it shows that it is updating properly on both operating systems. Have you ever had something like this? Or do you have an idea what it could be?

Transaction History

I am trying to lookup a XUMM transaction that is almost 60 days old in our system. We are using the XUMM API and have the response payload with Transaction ID, Payload Response UUIDv4 and Reference Call UUIDv4. When I try to retrieve the Payload UUID or Transaction ID I get a response ""code":813". Is it possible using the API to retrieve a past transactions? The 2 endpoints I have tester are <https://xumm.app/api/v1/platform/payload/$plid> <https://xumm.app/api/v1/platform/xrpl-tx/$txid>

Applying xrp code

I have been writing code since last spring and I have it working in browser and have code for web3 in file. I am needing help applying ripple/xrp code and creating a few smart contracts and payment systems. I was xrpl looking and got into testnet and created a couple accounts for practicing and applied secret to code but could not get it sequence or go through. I'm really new at this coding stuff but seem to be able to put together this huge project I'm working on. I dont know all the tech talk so its really confusing in what I'm trying to read for what I need. I contacted xumm which led me here and I also was given another website from them to look at some hooks which I haven't done yet and am doing next but like a step by step guide or on applying your code would be so helpful and much appreciated. I would love to get this done and presented to you. html node js and css+ are the languages I used. Thanks

SOLO transaction requests returning null

Howdy! We've been messing around with token integration for our project. Had a smashing success integrating STX into our system, however, i am bumping into a few issues with some other tokens, namely SOLO. A few things I can scratch off as possible causes are things like tokens, addresses, issuers etc, not only because the system I have built works well with a different token (STX) but also because, had this been the case, usually the Xumm package does a good job at returning a descriptive error of what went wrong, however, when i try to create this request, I am just getting a null response from the Xumm SDK which gives me very little to work with. This is an example request which is returning null. I have purposefully skipped the account and destination fields as previously explained. ```json { options: { expire: 5 }, custom_meta: { instruction: 'Thanks for using [Our Product]. Please approve your SOLO transaction.' }, txjson: { TransactionType: 'Payment', Account: '-', Destination: '-', Amount: { currency: 'SOLO', issuer: 'rsoLo2S1kiGeCcn6hCUXVrCpGMWLrRrLZz', value: 40 } }, user_token: '-' } ``` For comparison, a different request with the currency set to STX and with the right issuer address for that works just fine, however, when I submit this using `xumm.payload.create(request)` I just get a null response. We're currently using version `^1.6.5`of the xumm npm package. Thanks in advance for your help!