Questions tagged [nami-wallet]
Nami is an open source Cardano light wallet.
72
questions
0
votes
1
answer
35
views
Console devtools sign and submit transaction
so i'm runing this to prompt a transaction on nami wallet, sign and submit.
the ideal scenario was to nami wallet submit transaction for herself but somehow that is not happening, so i tried to submit ...
0
votes
1
answer
53
views
Lucid Vesting demo, signing from two different accounts but same seed
I'm working through the beneficiary vesting example where we have two beneficiaries: beneficiary 2 (giver who can reclaim funds after deadline), and beneficiary 1 (must claim gift before deadline).
In ...
0
votes
1
answer
44
views
Best light wallets on Cardano?
In terms of efficiency/speed for dapp usage, what light wallets are the best for dapp usage? Is there any notable difference between them? For example, what's the difference in speed/efficiency of ...
1
vote
1
answer
38
views
Handling multi-address wallets in web apps
Regarding the topic of single and multi-address wallets:
What are the most commonly used single and multi-address based Cardano wallets? Are there any other single-address based wallets besides Nami ...
0
votes
1
answer
127
views
How to know wallet name by wallet Address?
I am fetching the data of ADA rate in USD through api(https://studio-api.nmkr.io/v2/GetAdaRates) and I want to fetch the some data of related to wallet like its wallet name, wallet image, wallet ...
0
votes
2
answers
27
views
Does nmkr.io provide public api?
Does nmkr.io provide free usable cardano apis for NFTS or do we have to mint the nfts and build a project on their platform something like that ...and then we can use their api because in their apis ...
0
votes
1
answer
44
views
Transfering NFT from CLI to your Nami wallet
I created an NFT on preprod via my cardano-cli but I have issues sending it to my Nami wallet. Can anyone point me to the best documentation that covers this. Thank You.
0
votes
0
answers
21
views
Nami Wallet login flow on NodeJS
I want to be able to authenticate users in my web app using Nami and nodejs. As in, once the user connects with their Nami Wallet, I want to create a login session and store the user in a database, ...
3
votes
2
answers
79
views
How to detect a wallet change event
How do i detect that my user has switched their wallet to a different one in browser. When a user connects their wallet to my web app, we store their wallet address temporarily for use in the future....
0
votes
1
answer
123
views
convert hex encoded bytes string to something readable
I'm using nami wallet's api, and if I call cardano.getUsedAddresses() it return a "hex encoded bytes string" and I would like to know how I can convert that to something readable
-2
votes
1
answer
102
views
Nami getUtxos() method not as good as Eternl's
I am building a transaction that includes more than one asset in the output of a transaction. After I set up the output and try to build a transaction using getUtxos(outputValue) I get undefined from ...
0
votes
1
answer
113
views
Convert UTxO to hex encoded bytes string
Hello I want to convert a normal UTxO transaction hash to an encoded bytes string. How do I do this? Help would be appreciated!
something like
...
0
votes
1
answer
224
views
Can't sign data with Nami Wallet
I'm facing a problem when I try to sign data with Nami Wallet API.
Here is the code snippet:
let namiAPI = await window.cardano.nami.enable();
let addr = await namiAPI.getUsedAddresses();
let payload =...
0
votes
0
answers
95
views
What does ExtraRedeemers error mean when call function in contract with nami wallet and cardano-serialization
Sometimes I face this issue when make action buy nft in contract. Sometimes it works. So I don't know what does this mean and how to fix it.
transaction submit error ShelleyTxValidationError
...
1
vote
0
answers
159
views
How build a transaction to add ADA and change the datum of a previous transaction with assets and ADA locked in a script
I have locked ADA and assets into a script.
I want to use the last transaction output and the ADA of a wallet as inputs and I want to have an output with some extra ADA locked and the datum changed
...
0
votes
2
answers
85
views
Can you open a cardano-cli wallet on nami or daedalus?
I'm extremely worried a wallet through cli can be corrupted as i'm using a virtual machine which often crashes and deletes to itself. In other crypto wallets you can insert a secret phrase or a key to ...
0
votes
1
answer
87
views
Can anyone explain how tAda locked with asset is calculated?
I have previously asked a similar question here Get Ada locked with asset from db-sync query? but I'm still really stuck with this and needing some help.
After looking at Nami Wallet, Eternl Wallet ...
1
vote
1
answer
254
views
Importing Ledger hardware wallet addresses to Nami
I'm having issues importing and seeing my Ledger hardware wallet addresses with Nami. I would be interested to know if anyone else is in a similar situation to the one described below and if they have ...
0
votes
1
answer
150
views
Programmatically Send Transactions From a Wallet Using Javascript
I am building an application that has a hot wallet that stores ADA that my user has deposited. After some business logic is met, I want to transfer funds from my hot wallet to another address. How do ...
1
vote
2
answers
84
views
How to Access Secret Key Hash and PKH from a web wallet?
So I'm making a Dapp that uses the user's secret key to encrypt the data. It also allows another user to encrypt something else using their public key hash, but how do I get the key pairs from the web ...
1
vote
0
answers
97
views
Do I need to verify data signed with Nami wallet or will the cryptography algorithms automatically detect if it was tempered with?
Based on this answer which seems to have some bugs in the verification methods I created this piece of code:
const {
Address,
Ed25519Signature,
PublicKey,
BaseAddress,
StakeCredential,
...
5
votes
2
answers
588
views
Where does Nami store private keys?
I would like to access my private key from Nami wallet. Where are they supposed to be stored?
1
vote
1
answer
69
views
importing nami-wallet package in nodejs
I successfully imported and used cardano-wallet-interface by harmonic pool. However, I wonder if I can directly install and import Nami wallet. I installed the package using "npm install git+{url}...
0
votes
1
answer
270
views
How Do I Deploy a Wallet Connector to the Website in a Safe Way
If I want to start making a program that connects to the user's web wallet, such as nami in the google chrome browser, how do I ensure the security of the connection?
Using Nami and Google Chrome are ...
2
votes
1
answer
119
views
How can I make QR codes that work with wallets like nami?
Im making payment gateways for crypto on non-web3 infrastucher. One of the ways I'm doing this is by making qr codes that after being scanned with a wallet fill in the transaction i.e. the amount of ...
6
votes
3
answers
618
views
window.cardano undefined
I would to use window.cardano when a user just "enter" to website. Sometimes window.cardano is still undefined
How can i solve this problem? I try to use await window.cardano but is not a ...
0
votes
1
answer
76
views
Is it possible to send funds to a scriptAddress using a lightweight wallet?
I would like that an user using Yoroi/Nami/etc could send funds to a script address which expected an empty datum: ().
EDIT (Pretty obvious, but the UTxO should be spendable later by a transaction)
I ...
1
vote
1
answer
75
views
Get UTXO or tnx hash from nami Collateral
I am using the function cardano.getCollateral() in the nami wallet library which gives me the utxo of a collateral, lets say it is: "...
0
votes
1
answer
169
views
minted NFT is shown as solid color of picture in Nami wallet
I have some questions about NFT mint.
I minted NFT using Nami Wallet API, but sometimes error occurred.
I need to mint several NFTs at once. So I submit minting transactions in for loop.
But ...
1
vote
1
answer
180
views
Connect Unity 3D game with cardano
I am creating a play to game in Unity 3D. What is the best way to authenticate wallet of the users and send cardano native tokens.
1
vote
1
answer
272
views
Dapp connection with mobile browser
How do I connect my cardano website (dapp) with cardano mobile wallet. currently, I am using yoroi-frontend for desktop browsers.
0
votes
1
answer
60
views
Getting TypeError: EC is not a constructor running pab-nami
When running npm, start inside a nix-shell of plutus-apps/plutus-pab-executables/demo/pab-nami/client
1
vote
1
answer
74
views
Is there a Cardano Quickstart Application?
Me and my team are searching for a quickstart project for Cardano, such that we can start from such a project, understand its architecture, and evolve the base project into a real-life product.
So far,...
0
votes
1
answer
1k
views
Nami wallet API implementation example for web app
Are there any examples out there for how to implement Nami wallet end to end for a website (with or without React)? For example, how can I create a button for my site which upon being clicked asks the ...
1
vote
2
answers
918
views
how to get public key of nami wallet
wondering whats the simplest way to get the pkh for nami-wallet? Is it possible through the webapp?
0
votes
2
answers
106
views
InvalidWitnessesUTXO
Some transactions I’ve been creating are throwing an InvalidWitnessesUTXO error. Appears to be happening to some specific inputs, and any transaction that includes it fails with this same error.
By ...
1
vote
2
answers
580
views
Tutorials to integrate Nami to your website
is there a dummy guide on Nami wallet integration into websites?
I have found nami-wallet-api lib by Felippo001. But I can't find any walkthroughs. Specially that I am not familiar with webpack.
3
votes
1
answer
90
views
Funds not appearing in wallets for highly separate generated addresses
We noticed this situation with sending ADA to a wallet using addresses generated from cardano-address (according to the specifications on https://github.com/input-output-hk/cardano-addresses) which ...
1
vote
0
answers
94
views
How to use the plutus pab statemachine with RemoteWalletConfig for Nami and Yoroi
Looking at the demo contract provided in the plutus-apps folder, you can follow the example of the PayToWallet endpoint. In this endpoint, yieldUnbalancedTx provides the instance with an unbalanced TX....
1
vote
1
answer
411
views
Error loading cardano-serialization-lib
Trying a few different examples out there and I am getting the error:
The requested module '/node_modules/@emurgo/cardano-serialization-lib-browser/cardano_serialization_lib_bg.wasm?import' does not ...
0
votes
2
answers
90
views
help, i register script policy with pool.pm was not approved? [closed]
I'm learning to create nft. by using cardano serialization lib and nami wallet
but the nft I created, register script policy with pool.pm was not approved.
I don't know if it's caused by a signed key ...
1
vote
1
answer
142
views
Can there be two identical secret seed phrase generated?
This is an interesting question for me. The first question in my mind was, does "Yoroi" (for example) know my secret seed phrase when I create it? Is it stored somewhere in their servers?
...
2
votes
1
answer
393
views
Hacking (Nami) Wallet
When asking the user to sign a transaction, Nami Wallet displays a screen with a summary showing how the user wallet gets affected (e.g. how much Ada is payed or received).
To be able to compute this ...
1
vote
1
answer
315
views
Error submiting Smart Contract with Nami, What does this error means?
I am running one smart contract with the Nami Wallet but I get this error:
""transaction submit error ShelleyTxValidationError ShelleyBasedEraAlonzo (ApplyTxError [UtxowFailure (...
2
votes
0
answers
77
views
Balancing transactions with script inputs
Nami does not implement a function to balance an unbalanced transaction. Therefore, the Nami demo of the Plutus Github repository implements this step (as a temporary workaround) in the function ...
0
votes
2
answers
431
views
How to calculate the collateral minimun required for a Smart Contract Transaction, is always needed a Colateral?
I was asking to myself in which scenarios do I have to add a collateral when consuming an UTXO in a Script Address. I have just read the basics, but do you know if there is minimum needed in each ...
1
vote
2
answers
270
views
Nami wallet address format to addr_test1 format
lets say i have the following address for recieving funds:
addr_test1qzu70xm8hsez6nvmpgk4gjf48ev0y2hw5w7nf8xaxc658lzwczusckqvzzg630pxnzwj3pqza5q4c8r504ffq6v2zh6qgznxt7
when i try and get the wallet ...
2
votes
2
answers
908
views
How can I use cardano-serialization-lib in the browser to decode CBOR?
I'm building a simple website with pure HTML and JS (no React, Angular, etc.). I use Nami to connect to a Cardano wallet and use the Nami's cardano.getBalance() method to get the balance of the wallet....
2
votes
1
answer
360
views
Cardano address chaos
I'm trying to figure out the relations of the various types of addresses and how to convert one into the other.
The Nami wallet returns from its method cardano.getUsedAddresses() an array with one ...
3
votes
3
answers
548
views
Tx signed by Nami Wallet returning InvalidWitnessesUTXOW in CLI
I am attempting to sign and submit a simple "always succeeds" transaction body built by the CLI and signed with nami wallet.
cardano-cli transaction build-raw \ --alonzo-era \ --fee 200000 \ ...