Developer Questions
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.
Posted by Smart Life Path about 20 hours ago
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.
Posted by Griffin Hood 4 days ago
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
Posted by Éric Falk 7 days ago
Error: access_denied
cant seem to be granted access to xumm after adding my api key to the codebase
Posted by Jeremy Arinze 16 days ago
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?
Posted by PP & Michael 22 days ago
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 ?
Posted by Mike about 2 months ago
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)
})
```
Posted by Max about 2 months ago
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
Posted by EvernodeDashboards about 2 months ago
Trustline location
Where can I find or set the trust line for my api account?
Posted by Naturally Mazcal about 2 months ago
where is secret question?
Confused about the secret question do I define one or is there a preset question somewhere to be found
```
```
Posted by Naturally Mazcal 2 months ago