Developer Questions

Ask a Question
ANSWERED

If i install package xumm-xapp-sdk for next js project getting local storage error.

I'm implemeting xapp using next js application. In that i'm trying to consume xapp sdk to open browser from my xapp. If i install and use xumm-xapp-sdk i'm getting local storage not found error. If i use script url not getting any error (<script src="https://xumm.app/assets/cdn/xumm-xapp-sdk.min.js"></script>). But i wanted to use xumm-xapp-sdk by installing package. Could you please help me on this why i'm getting local storage error and how to resolve it.
ANSWERED

Customize popup in XUMM

Is it possible to customize popup styles displaying on XUMM (Navigating to browser using xapp.openBrowser) ?
ANSWERED

Connecting to the SDK from Unity

Hi there Do you have any samples of authenticating and sending payloads from Unity engine?
ANSWERED

Connect XUMM Wallet

How to connect with XUMM Wallet in my custom application by Scanning QR through the XUMM app with button click

Connecting XUMM as an OpenID Connect provider on AWS Cognito

I'm trying to use xumm as an OpenID connect provider using AWS cognito. I’m hoping someone can provide some guidance on my integration I think my integration is 90% of the way there but am getting this error when attempting to grant the authorizationCode: invalid_token_signature: Could not match the desired key identifier within the list of keys at OAuth. The flow to get there: User clicks Sign in → this triggers Auth.federatedSignIn({customProvider:’xumm’”) → the page gets redirected to xumm.app/sign/abc1234 → Signs the transaction using Xumm → redirects back domain.region.amazoncognito.com/oauth2/idpresonse?authorization_code=anAuthorizationCode…. Etc → Amazon cognito then tries to grant a token with the authorization code and fails to do so with the above error. Using Cognito, I set up a userpool, created a identity provider using OpenID Connect. In the Identity provider config, I provided the ClientID and Secret, Attributes request method set to GET, openid as the authorize scope and provided https://oauth2.xumm.app as the issuer. After I set up the identity provider, I configured an appClient with the identity provider in the previous step with the call back URL set to http://localhost:3000. I also enabled Authorization code grant and implicit grant as the allowed ‘Oauth Flows’ and set openid as the “Allowed OAuth Scopes” In the federated identities dashboard, I have configured an identity pool. Under the OpenId section I have enabled an authentication provider with oauth2.xumm.app as the domain and the Arn pointing to an IAM which is connected to an audience set as my XUMM api key with a valid thumbprint. In the application (react app), I configure aws-amplify with the following information: { "aws_project_region": "my-aws-region", "aws_cognito_identity_pool_id": "my-aws-region:identity-pool-id-from-federatedIdentities", “Aws_cognito_region”:”my-aws-region”, "aws_user_pools_id": "my-aws-region_USERPOOLID", "aws_user_pools_web_client_id": "AppClientIdConnectedWithIdentityProvider", “oauth”:{ “domain”: "subDomain.my_region.amazoncognito.com", “scope”:[“openid”], “redirectSignIn”:”http://localhost:3000”, “redirectSignOut”:”http://localhost:3000” “responseType”:”code” } } Any guidance would be greatly appreciated!
ANSWERED

"Not enough liquidity to send this payment"

I'm building a web app where users can send me IOU tokens that I created. I'm testing it on the mainnet and every wallet I use to send the token gives the error "Not enough liquidity to send this payment". I'm trying to send 1 token and have confirmed the sending wallets has several tokens. I have not seen this on the testnet. What am I missing? Is there any way around this?
ANSWERED

BLOG or Support FAQ about user sign in payload?

I am building an app and using a sign in payload to identify the user and acquire their rAddress. My implementation is custom, using the qr_code and web socket_status. I want to put a link on the custom popup, to a document hosted by XUMM, that basically explains why a signing transaction is safe. Can someone please provide a link to a document that explains to the user the obvious stuff, such as no access to keys, funds, etc. Also for user protection a note that they should ensure the payload is a sign in and not some other. I was going to write something but i figure you probably already have this somewhere (although after a quick google I don't find it.) and of course much better if the page i point users to, originates from XRPL labs. Many thanks. [email protected]
ANSWERED

Trying to test Sign In flow on local environment (localhost), will it not work?

I've got XummPkce installed locally, and the metatag inserted to my application. Its running on 127.0.0.1:5173, so I'm assuming this won't work as it doesn't match my application's production URL. Is this correct? Or should I still be able to get it working locally?
ANSWERED

How can i receive wallet address in xapp.

I want to receive wallet address of xapp user while using my custom xapp. How to do this. Please help on this.
ANSWERED

Is Xumm ready for XLS20 on mainnet

Today ripple launch their NFT (XLS20) on mainnet : https://dev.to/ripplexdev/xrp-ledger-nfts-are-here-9jb Is Xumm mainnet integrated with XLS20 on mainnet? Which node should we use for XLS20 mainnet? wss://xrplcluster.com wss://xrpl.link wss://s2.ripple.com