Questions tagged [address]
The address tag has no usage guidance.
55
questions
1
vote
1
answer
14
views
How to convert Address type variable to get "addr_testXXX" format address?
In plutus endpoint, I want to convert Address type value to get addr_testXXX format address.
I have try :
import Cardano.Api ( SerialiseAddress (deserialiseAddress, serialiseAddress) )
...
-- here, ...
2
votes
1
answer
17
views
How To Get All Transactions of Associated With an Address In A Given Interval?
okay so given some reciving address such as addr1qxq7k07cnt8vstdmygu7lpw0tyyssu4trs27qq6f7xjpmvrdrr3j8j5k5yacga4ckv6lnx4p0la57q7nf24eszqk0r2q9axgqv how can I use a service like BlockFrost (or any ...
0
votes
1
answer
41
views
How to convert Cardano Address?
Cardano has a number of different types of address from receiving address to enterprise address and many others.
My question is in two parts:
where can I find an exhaustive list of all address types?
...
0
votes
1
answer
10
views
How To Get Address Transaction history into Smart Contract?
If I want the smart contract to alter functionality depending of the history of the signing address, how do I access the history from within the smart contract?
0
votes
1
answer
78
views
How do I add the staking part of an address in OffChain code
I am currently on tag: v2022-04-06 of plutus-apps and was wondering how to create Lookup and Constraints for a typedValidator that checks whether the input was returned to the script with the correct ...
2
votes
1
answer
52
views
Derive public key hash from bech32 address using python
I know that this is possible in javascript using the cardano serialization lib, as follows:
function toHex(bytes){
return Buffer.from(bytes).toString("hex");
}
function addrToPubKeyHash(...
0
votes
0
answers
44
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
vote
2
answers
81
views
How to integrate ADA Handle into website?
My project allows for users to authenticate with one or more wallets. I would like them to be able to set an ADA Handle they own as their username. What would be the best way to do this?
More ...
1
vote
0
answers
16
views
Selecting Your Own Keys
Is there a way I can specify the prime number product used to generate the public private key pair - on the creation of a wallet address?
I understand that the primes in the product would have to meet ...
1
vote
1
answer
166
views
What is the derivation path in a Cardano address?
It comes from CCVault. I saw it in the 'Receive' tab.
You can specify a part of the address, or a derivation path like "m/1852'/1815'/0'/1/32", "1815 0 1 32" or "0 1 32"....
0
votes
1
answer
36
views
Short address crashed blockfrost calls
Using blockfrost I have pulled a list of addresses of owners of a specific fungible token.
Some of the addresses are significantly smaller than the others (about 2/3 the length).
When querying ...
4
votes
1
answer
105
views
How to convert a Stake Key Address from hash to BECH32?
I have this Stake Key:
https://testnet.cardanoscan.io/stakekey/7622b4611b15441e7e15cba128ff999ad72388aeb267adc6e70cc9bc?tab=stakehistory
I want to convert from ...
0
votes
1
answer
32
views
Cardano dapp user authentication based on the wallet address
What are the best options to add user-authentication system based on the wallet address for my website? Thanks
2
votes
1
answer
52
views
Is it posible to know if two different address came from the same wallet- prvKeys?
I am wondering if is there is a way I can check if two different addresess belong to the same prvKey (wallet, person)... since there is a hash function involved in the process from getting the Address ...
0
votes
1
answer
39
views
Difference when building Testnet and Mainnet addresses
I am creating an address generator for cardano. I am struggling to figure out what the differences would be when building an address for testnet instead of mainnet. What components of the address are ...
1
vote
2
answers
46
views
Create address from public/private keypair without external tools/apis
I am starting development with Cardano. I have created a Hierarchal Deterministic Wallet with both Bitcoin and Ethereum, so I am familiar with much of the terminology. I am trying to create a Cardano ...
0
votes
1
answer
24
views
Transactions without receiver_address
I am trying to figure out transactions without receiver address or same receiver and sender address .
What do these transactions mean ? I also see a deposit in the later part of the transaction. Can ...
0
votes
2
answers
229
views
How do I properly parse the CIP-30 output from NAMI to send a users wallet tokens?
If you can help me with this I will really appreciate it. I have worked through the token construction tutorial on Cardano docs https://docs.cardano.org/core-concepts/cardano-addresses. Using the ...
4
votes
1
answer
111
views
Staking address bech32
I was trying to extract the staking address from an address and I was able to do that by using the bech32 decode, getting the last 56 bytes and encoding back again.
The question is: following this, I ...
1
vote
1
answer
82
views
Transactions without input addresses
I'm building a minting engine for a project and I found something strange today. One of the incoming transactions, which I pull from a Cardano Wallet (testnet) service has an input without an address. ...
0
votes
2
answers
286
views
Change Address in transaction
I made an address with cardano-cli (here) and I funded it from my Yoroi wallet, but I don't know where this change address came from. Shouldn't the change address be the input itself or Am I missing ...
2
votes
2
answers
61
views
New payment address in Java
I am creating a project and would like to be able to give new addresses for each transaction to simplify tracking of payments. I need a method to create a new payment address similar to the below ...
0
votes
1
answer
53
views
Embedding address into the datum using the CLI
I have a validator that uses Address in datum. I also have an address generated (payment.vkey, payment.skey, payment.addr, stake.vkey, stake.skey, stake.addr). I'm able to get PubKeyHash using command ...
0
votes
1
answer
50
views
How to decode a pointer from Shelley address?
I'm writing an address parser based on CIP-0019. The part I have problems with is the POINTER data structure which consists of three "variable-length positive numbers". The format of the ...
1
vote
1
answer
280
views
get wallet skey/vkey from mnemonic
I am trying to get the skey, vkey and address of the first payment address in a wallet I created in cardano-wallet. I need them because I would like to make transactions with cardano-cli on the same ...
1
vote
2
answers
197
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 ...
0
votes
0
answers
84
views
Spending key hash vs payment key hash (pkh)
Cardano speaks in its documentation of the 'spending key hash' (see e.g. here: https://input-output-hk.github.io/cardano-addresses/demo/). In Plutus there is no spending key, there is a ...
1
vote
2
answers
117
views
How to get PubKeyHash of an address without vkey?
How to get Address -> PubKeyHash without vkey just with addr like addr_test1wrf230u95zr26lut09mchmt82d235v6335jvszme2jevklslg5lfz?
It must be possible, because when you build unlocking transaction ...
0
votes
3
answers
61
views
Similar source for Cardano
I want to generate public and private keys with an address. I found this repository but it doesn't support Cardano. Does anybody know any similar source?
7
votes
1
answer
169
views
Is there any risk in sharing my rewards address?
I want to test ẗhe Maladex Rewards calculator but they ask me to enter my rewards address. Is there any conceivable risk in doing so?
0
votes
1
answer
45
views
Derive wallet ID from receive address
Although there is a related question about how this isn't possible with cardano-wallet, there is value in being able to get the wallet id from a receive address even if it requires another tool.
Does ...
9
votes
2
answers
822
views
How can a single Cardano Wallet have many addresses?
I'm new to Cardano and would like to know about this blockchain. I'm from Ethereum and I use Metamask as my "wallet" for it. I usually have one address only for one Metamask wallet. I'm ...
2
votes
1
answer
97
views
Getting Validator Hash
I'm checking the Value locked by certain ValidatorHash of another script that I deployed. Does anyone know how to get Ledger.Address or ValidatorHash from Plutus or cardano-cli? I know the "...
0
votes
2
answers
226
views
How to obtain PubKeyHash from Address ShelleyAddr
Is there a way to do this programmatically? I have an
Address ShelleyAddr
obtained from
deserialiseFromBech32 AsShelleyAddress
and need its
Plutus.V1.Ledger.Crypto.PubKeyHash
8
votes
2
answers
473
views
Nami wallet showing getBalance returning a NaN
Hi i just recently started working with Nami Wallet to be implementes in a web app, but when im trying to get my wallet balance:
window.cardano.getBalance().then(res => console.log(res))
its ...
6
votes
1
answer
892
views
How can I derive an address from a private key?
Checking the official documentation from cardano-wallet I can see that there are options to get wallets from mnemonics and extended public keys, but not private keys.
Even public libs don't have that ...
7
votes
2
answers
872
views
How to get Wallet ID from an address?
I'm trying to use the cardano-wallet API, but most of the endpoints I want to use are based on WALLET_ID parameter.
How can I find out the WALLET ID when all I have is the addr, for example ...
1
vote
1
answer
68
views
Wallets begining with 0x
I've seen multiple blockchains (eth, bnb, avalanche) that support wallets that begin with 0x, that way we have 1 wallet for multiple chains, is this possible with cardano or we are fixed to addresses ...
2
votes
1
answer
139
views
Entropy problem in addresses generated by Daedalus wallet
I've created a new wallet in Daedalus, and I've noticed that 20 new generated addresses have the same repeating pattern in the second part of each address. Here's how it looks like:
addr1.................
0
votes
1
answer
64
views
Where can I find an official docs about private and public keys' generation?
Is there an official documentation showing us a process of creation of private key, public key (including EdDSA math), and wallet address, with examples written in Python or C?
4
votes
1
answer
80
views
Is there a way to look up for a new payment address with a given payment address?
Given a payment address, is it possible to generate or query the blockchain, using cardano-graphql, cardano-cli, plutus or by other means, so as to obtain a new payment address (unused) for the same ...
4
votes
2
answers
163
views
Why are cardano-cli generated payment addresses shorter than those from Yoroi or Daedalus?
Why are addresses generated by cardano-cli shorter than those generated by Yoroi or Daedalus?
The addresses produced by running
cardano-cli address build
are 58 characters including the "addr&...
6
votes
0
answers
151
views
Convert Plutus Address Credential to real-net address
So in Plutus we have the Address type which has two constructors ScriptCredential which is a ValidatorHash or PubKeyCredential which is a PubKeyHash but all these are not encoded in the same way as ...
3
votes
1
answer
231
views
How do you send ada from a Byron address to a Shelley address using the CLI?
I am currently working to build a private network from Byron to Alonzo and I think I have some test-ada left in a Byron address.
If I am in the Shelley (Alonzo) era and I am using the cli to conduct ...
4
votes
2
answers
121
views
Structure of the Address type from Plutus.V1.Ledger.Address
When I use scriptAddress on a validator of my SC I got the following result:
Address {addressCredential = ScriptCredential 22261390d0b365fef5a12bc33a29987fe10b28ed58e1036d27b0db43c613edad, ...
8
votes
2
answers
326
views
How do I properly derive a stake key from an address using Bech32?
I'm trying to get a stake address from a Shelley address in Python using this library: https://pypi.org/project/bech32/
I can convert an address from bech32 to hex without issue, but I'm getting stuck ...
7
votes
2
answers
724
views
bech32 in Shelley addresses
I'm trying to write address validation in Python. According to the docs, Shelley addresses are encoded with bech32 and the first byte of the payload consists of header_type (4 bits) and network_tag (4 ...
9
votes
1
answer
193
views
What are the benefits of the two accounts model?
In some answer (see there) someone explained that there are several benefits for the two accounts system (one spending account and one reward account). What are those benefits? Wouldn't it be more ...
10
votes
1
answer
404
views
Staking Key a Privacy risk?
So I just realized today that the staking key for a wallet is persistent, namely that every public key of that wallet will generate the same staking key. This appears to undercut the technique to use ...
6
votes
1
answer
287
views
Why is there a small difference between addresses derived by the cardano-address tool and Yoroi?
Let's consider a Yoroi test wallet with the following seed phrase:
maximum vacuum toe conduct jazz tray romance crawl fossil wisdom disease crazy mountain bird discover
The first address generated by ...