Developer Questions

Ask a Question

How do i update an existing smart contract that has been deployed

Do you have an example of how i would update an existing smart contract on mainnet. I am using the createHookPayload api and have tried various options ie delete and update but no luck.

How can we send payment transaction using Xumm wallet?

To do like the above issue, I think that we should use createAndSubscribe api as follows: import { Xumm } from "xumm"; const xumm = new Xumm(my api key); const { created, resolved } = await xumm.payload.createAndSubscribe({ TransactionType: 'Payment', Destination: 'rfHn6cB5mmqZ6fHZ4fdemCDSxqLTijgMwo', Amount: String(1000000) // one million drops, 1 XRP }, eventMessage => { if (Object.keys(eventMessage.data).indexOf('opened') > -1) { // Update the UI? The payload was opened. } if (Object.keys(eventMessage.data).indexOf('signed') > -1) { // The `signed` property is present, true (signed) / false (rejected) return eventMessage } }) But I didn't send transaction. What is the reason? Please help me.

Requirements: Bootstrap

We read in the documentation that it is required to use bootstrap for the UI of an xApp. Is this still in vigour, we could certainly adapt but certainly haven’t used bootstrap in years. Is Taulwind an option? Best, Eric

Error: access_denied

cant seem to be granted access to xumm after adding my api key to the codebase

General questions about making a video gaming xApp...

Hi everyone! This is PP and Michael, the co-founders of the ZerpaayWorld gaming platform. Our site is live for people to sign in with their XAMAN wallets and play the games we've made at zerpaayworld.com, but we want to explore making an xApp so that people can download the app/games on their phones and mobile devices. We have so many initial questions. Is this possible with an xApp, or would the xApp only be a 'portal' to the hosted website? Would there be anyone with your team that we could have a quick meeting with to discuss our ideas and whether or not they are achievable through an xApp?

Dubugging on hooks builder not displaying ...

So i am working on a few POC hooks and the debug stream on the test page is not displaying any logs ,<https://hooks-builder.xrpl.org/test> I have gone thorugh all the videos i can find on youtube and followed them step by step but cant see any logs in the debug stream. Any ideas as to what i may be doing wrong ?

Change account trouble

After we do openSignRequest and change account how can i get new user address ? ``` const xumm = new Xumm(API_KEY); await xumm.payload.create({ TransactionType: "SignIn", }) .then(async payload => { xumm.xapp.openSignRequest(await payload) }) ```

Resolving account domain

Hi Trying to retrieve account domain using the sample provided Browser ("Web3") xumm.user.domain.then(domain => { document.getElementById('accountdomain').innerText = domain }) Always returns undefined when account has domain set

Trustline location

Where can I find or set the trust line for my api account?

where is secret question?

Confused about the secret question do I define one or is there a preset question somewhere to be found ``` ```