Questions tagged [nami-wallet]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
21 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, ...
user avatar
3 votes
1 answer
44 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?
user avatar
  • 78
0 votes
0 answers
21 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 ...
user avatar
  • 21
0 votes
0 answers
18 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 ...
user avatar
  • 21
0 votes
0 answers
14 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}...
user avatar
  • 21
0 votes
1 answer
52 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 ...
user avatar
2 votes
1 answer
36 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 ...
user avatar
5 votes
1 answer
120 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 ...
user avatar
  • 51
0 votes
0 answers
41 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 ...
user avatar
  • 1
0 votes
1 answer
41 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 ...
user avatar
  • 1,196
1 vote
0 answers
37 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: "...
user avatar
0 votes
1 answer
74 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 ...
user avatar
0 votes
0 answers
56 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.
user avatar
  • 13
1 vote
1 answer
133 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.
user avatar
  • 13
0 votes
1 answer
45 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
user avatar
1 vote
1 answer
70 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,...
user avatar
  • 111
0 votes
1 answer
273 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 ...
user avatar
  • 135
1 vote
2 answers
277 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?
user avatar
  • 433
0 votes
2 answers
45 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 ...
user avatar
  • 166
1 vote
1 answer
306 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.
user avatar
  • 21
3 votes
1 answer
78 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 ...
user avatar
1 vote
0 answers
66 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....
user avatar
0 votes
1 answer
166 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 ...
user avatar
0 votes
2 answers
68 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 ...
user avatar
1 vote
1 answer
76 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? ...
user avatar
  • 105
2 votes
1 answer
313 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 ...
user avatar
  • 1,306
1 vote
1 answer
246 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 (...
user avatar
2 votes
0 answers
59 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 ...
user avatar
  • 1,306
0 votes
2 answers
175 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 ...
user avatar
1 vote
2 answers
195 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 ...
user avatar
1 vote
2 answers
490 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....
user avatar
  • 3,101
0 votes
1 answer
182 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 ...
user avatar
  • 1,306
2 votes
2 answers
307 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 \ ...
user avatar
1 vote
1 answer
54 views

DeserialisationError when exporting UnbalancedTx

When converting my UnbalancedTx to an ExportTx using the export function, I get this error: Left (Tag \"toCardanoPolicyId\" (Tag \"1 bytes\" DeserialisationError)) What is very ...
user avatar
  • 1,306
1 vote
3 answers
568 views

Building a transaction using Nami api wallet and cardano-client-lib

I am trying to build a transaction with the libary of cardano-client-lib (java sdk). Inorder to build a transaction one needs to provide an account object which can only be created with the mnemonic ...
user avatar
3 votes
0 answers
100 views

How to export a transaction from Plutus for the wallet

I have a contract that returns an unbalanced transaction: buyTokensTx :: forall w s. TokenPool -> BuyParams -> Contract w s Text (Either MkTxError UnbalancedTx) From what I understand, I need ...
user avatar
  • 1,306
1 vote
3 answers
349 views

How do I create and submit a transaction using only Nami Wallet?

I'd like to create a transaction using pure JavaScript on browser using Nami Wallet. The docs shows only cardano.signTx(tx, partialSign) and cardano.submitTx(tx), but don't explain very well how to ...
user avatar
0 votes
1 answer
128 views

Nami getBalance() returns wrong value compared to GUI Wallet

When I call cardano.getBalance() it does not show the same value as the Nami Wallet GUI shows. The Nami Wallet shows ADA 99.73 and the getBalance() returns ADA 101.114713.
user avatar
3 votes
0 answers
279 views

Error while submitting Transaction through cardano-serialization-lib

I am trying to implement Martify contract using Cardano serialization lib. When I submit the transaction I get the following error. Can someone tell me what it mean? transaction submit error ...
user avatar
2 votes
2 answers
144 views

How to new Cardano.Bip32PrivateKey from cborHex in file .skey generate by cardano-cli

I'm trying to new Cardano.Bip32PrivateKey from string cborHex which in file skey generate by cardano-cli import * as Cardano from "@emurgo/cardano-serialization-lib-nodejs"; function ...
user avatar
  • 41
1 vote
0 answers
75 views

How to verify that a reward address is associated with a public staking key?

I'm attempting to verify Nami wallets. The scheme is something like this: Server sends a nonce to frontend User signs the nonce using their reward address cardano.signData(rewardAddress, nonce) The ...
user avatar
1 vote
2 answers
363 views

Webpack + Cardano ASM serialization library🚨

I'm trying to use a library to access a cardano wallet, right now, I'm in webpack 5 and project run so far until I try to import the cardano library. It breaks in the same point always: runtime ...
user avatar
3 votes
2 answers
373 views

How to establish trust between a user's wallet, and the backend of a website?

I am building an application that will hopefully offer a login option via Nami wallet, rather than the typical email/password. I understand how this approach can work for on-chain data, but is it ...
user avatar
0 votes
2 answers
218 views

How to get UTxO transaction id using cardano-serialization-lib

I'm missing transaction prefix in order to get bech32 hash of transaction id using cardano-serialization-lib. What prefix is used in transaction bech32 hash and how can I find/compute one? const ...
user avatar
  • 581
0 votes
1 answer
391 views

Difference betwen collectibles items and Assets in Nami Wallet?

I had been forging some NFTs, but all my NFTs are listed in the Collectible Part of the Nami Wallet. Even when i followed the 721 standard reported in the CIP-25 for my on-chain metadata. This makes ...
user avatar
2 votes
4 answers
555 views

How to mint a NFT with a policy of Multiple key-hash with Nami Wallet and Cardano Serialization Lib

I am building a daap and i want the user to be able to mint their app-tokens but the policy of the token must include the signature of the app wallet as well, for this I did the policy with the ...
user avatar
3 votes
1 answer
366 views

How to generate the address of a plutus script using Cardano Serialization Lib?

I am sending some smart contracts using the Cardano Serialization Lib and the nami wallet for signing, everything works fine, but I am not able to get the script address of a Plutus Script. I have ...
user avatar
2 votes
1 answer
250 views

How to fetch assets siting on an adress using cardano serialization library and Nami wallet?

Hello I am building a daap and i wanted to save blockFrost requests so I wonder if it is posible to fetch all assets using the nami wallet? I was trying with the window.cardano.get balance() , after ...
user avatar
5 votes
3 answers
183 views

What is the best approach to implement Nami Wallet. Can some provide a boiler plate or any kind of documentation.?

What is the best approach to implement Nami Wallet. Can some provide a boiler plate or any kind of documentation.?
user avatar
4 votes
1 answer
294 views

Errors while submitting txn from cardano-serialization-lib

I have a working transaction in cardano-cli, but I'm having trouble constructing the same one using the serialization-lib. Does anyone know what these errors mean?? I tried looking into the typescript ...
user avatar