Questions tagged [nami-wallet]

Nami is an open source Cardano light wallet.

Filter by
Sorted by
Tagged with
0 votes
1 answer
7 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
12 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, ...
  • 1
3 votes
1 answer
26 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
40 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
0 votes
0 answers
37 views

getUtxos() method of Nami gives all utxos of wallet instead of sufficient amount

Anyone tried using getUtxos() method of Nami to send 2 or more assets? If the outputs include more than one asset it gives back the whole utxo list of the wallet.
  • 27
-2 votes
1 answer
79 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 ...
  • 27
0 votes
1 answer
51 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
109 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
60 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 ...
0 votes
0 answers
97 views

How to use inline datum and reference inputs in serialization lib 11.0.0

I tried using with_plutus_data const settings = { protocolParams: { linearFee: { minFeeA: "44", minFeeB: "155381", }, minUtxo: "4310", ...
1 vote
0 answers
107 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
52 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 ...
  • 1
0 votes
0 answers
50 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
1 vote
1 answer
167 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 ...
  • 13
0 votes
0 answers
100 views

Mint Nft With Plutus Script By NamiWallet

I am writing an DAPP to mint NFT with nami wallet. Currently, I can mint NFT with Nami by using Native script and function add_mint_asset_and_output_min_required_coin. But is there any way I can mint ...
0 votes
1 answer
95 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 ...
0 votes
2 answers
48 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
58 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, ...
4 votes
1 answer
268 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?
  • 152
0 votes
0 answers
53 views

Nami wallet's getUtxos method no giving sufficient utxos

Nami is a great wallet, I have been able to create any ADA Tx easily. However, now I am trying to create Tx's with assets along ADA, but when I call getUtxos() it gives me insufficient utxos to ...
  • 27
0 votes
0 answers
44 views

Integrating light wallets to your webpage

I have been using cardano-wallet-interface and it is great. However, how could I use the actual CIP30 directly in my nodejs project. I cannot find the initial steps needed. I am familiar with how to ...
  • 27
0 votes
0 answers
41 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}...
  • 27
0 votes
1 answer
195 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
67 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
1 answer
373 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 ...
  • 61
0 votes
0 answers
80 views

Change Nami address to another address from the same wallet

One day I logged to Daedalus with my nami phrase I submitted another address from Daedalus in for minting in the presale of a specific nft using the same phrase of nami, Now their website can't let me ...
  • 1
0 votes
1 answer
58 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,284
1 vote
1 answer
59 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
135 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 ...
0 votes
1 answer
127 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.
  • 13
1 vote
1 answer
219 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.
  • 13
0 votes
1 answer
48 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,...
  • 111
0 votes
1 answer
756 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 ...
  • 165
1 vote
2 answers
586 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?
  • 433
0 votes
2 answers
75 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 ...
  • 206
1 vote
2 answers
508 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.
  • 27
3 votes
1 answer
86 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
90 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
300 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
83 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
131 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? ...
  • 105
2 votes
1 answer
358 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,419
1 vote
1 answer
288 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
70 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 ...
  • 1,419
0 votes
2 answers
269 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
236 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
727 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....
  • 3,479
2 votes
1 answer
295 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 ...
  • 1,419
3 votes
3 answers
462 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 \ ...