Questions tagged [nami-wallet]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
44 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 ...
0
votes
0answers
9 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....
0
votes
0answers
27 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
1answer
20 views

help, i register script policy with pool.pm was not approved?

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
1answer
41 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
1answer
190 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 ...
0
votes
1answer
169 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 (...
0
votes
0answers
22 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
1answer
72 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 ...
0
votes
2answers
84 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 ...
1
vote
2answers
93 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....
0
votes
1answer
60 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
vote
2answers
109 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 \ ...
0
votes
1answer
29 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 ...
1
vote
3answers
184 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 ...
1
vote
0answers
58 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 ...
0
votes
1answer
114 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 ...
0
votes
1answer
65 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.
3
votes
0answers
146 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 ...
2
votes
1answer
39 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 ...
1
vote
0answers
40 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 ...
1
vote
2answers
142 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 ...
2
votes
2answers
113 views

Limitations of wallet login for application with off-chain user data?

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 ...
0
votes
2answers
66 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 ...
0
votes
1answer
205 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 ...
1
vote
4answers
247 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 ...
2
votes
1answer
129 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 ...
1
vote
1answer
123 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 ...
5
votes
3answers
139 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.?
3
votes
1answer
129 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 ...
3
votes
1answer
68 views

What exactly are language views?

I read the docs for language views here, but I still don't quite understand what they are: https://github.com/input-output-hk/cardano-ledger-specs/blob/master/eras/alonzo/test-suite/cddl-files/alonzo....
2
votes
3answers
703 views

Signing a Tx with Nami wallet

Hello I am tryng to sign a Tx using Nami Wallet, but i have not been able to do it. I did a Tx using cardano-cli , and i've got a JSON file I take the cBORHex:"...
5
votes
1answer
50 views

How would one go about Gating content through ownership of an NFT?

The question is the title, I want to gate access to a URL based on the presence of a specific token in their wallet. I assume this would be done through a wallet browser plugin? I've heard that this ...
1
vote
3answers
145 views

Can a smart contract create a transaction on someone else's behalf?

Must someone send their ADA/tokens to a smart contract address in order for the ADA/tokens to be used in the contract OR, for example with Nami wallet connected on a web page, is it possible for a ...
2
votes
2answers
371 views

How to verify a user owns an NFT?

Let's say I have the asset string representing an NFT. How can I verify that a user signed in with Nami wallet owns that NFT? Is there some sort of signature they can provide?