All Questions
19
questions
1
vote
1
answer
143
views
User error: Caused by: [ (builtin unConstrData) (con data #187b) ] while trying to unlock tokens from contract
hi I am getting this error while trying to unlock tokens from my treasury contract it is already topp up with tokens when trying to unlock with the access token doesn't know the exact reason behind ...
0
votes
0
answers
26
views
division amount to multi cardano address
There is a way to split a Cardano address among several addresses, for example, deposit an amount to one address and divide it equally among the holders of 100 NFTs.
thanks
0
votes
2
answers
65
views
Does the redeemer have to be from a wallet address/contract?
Could a contract be programmed such that the redeemer seemingly comes from nowhere from what the node / someone monitoring the blockchain could tell? I am thinking if you gave the contract some ada ...
1
vote
1
answer
64
views
How to build a MultiSig wallet with a time delay element?
Any examples of tested libraries or code which enables multisig wallet where flow is more complex?
Example of requirements:
wallet transaction needs at least 2 signatures
wallet can be created with a ...
0
votes
1
answer
52
views
Plutus: how to obtain wallet details. Do I have to use the wallet web interface or there is some direct library call?
I need to know the amount of Ada remaining in an account in a off-chain Haskell plutus program. Should I use the wallet web interface of the kind:
http://localhost:8090/v2/wallets/$WALLET_ID
or there ...
1
vote
0
answers
36
views
chain-index does not connect
I'm trying to run the cardano node, the cardano wallet and the chain index in three different docker images, but the chain index does not connect. The docker-compose file is below and the chain-index ...
1
vote
1
answer
128
views
Why do we need the ```plutus-chain-index``` to run and why does it take so long to sync
I'm trying to set up a PAB in order to test my contracts
Currently I have:
fully synced a cardano-node running on testnet
fully synced cardano-wallet tracking one wallet
a plutus-chain-index syncing ...
2
votes
0
answers
144
views
Building alonzo transaction using cardano-cli and signing it with serialization-lib
I created an API that based on a request builds the body of a transaction with cardano-cli and returns the cbor to the front-end. In the front-end, I'm using the cardano-serialization-lib to load the ...
3
votes
2
answers
162
views
Empty txInfoSignatories after building transaction with cardano-cli
In the Plutus Pionner Lectures, Lars instructed us to use txSignedBy in order to ensure that a user signed the transaction. The function tries to find a public key hash in the txInfoSignatories list, ...
0
votes
2
answers
55
views
In which node is a wallet connected?
I have a question
A node is needed to execute a transaction, but in which node are these wallets connected to execute a transaction?
all wallets are tied to a node? or can that specific wallet be ...
3
votes
1
answer
145
views
Transaction fee
Doesn't the transaction cost increase with the increase of Cardano price? Is there a way to keep the transaction cost constant while raising the price of the Cardano token?
13
votes
2
answers
608
views
How to emulate a multi-sig transaction?
I'm working on a Plutus contract that requires multiple signatures to unlock. To do so, I've been referencing the MultiSig.hs sample contract. Now, I'm looking to create traces for testing purposes, ...
1
vote
1
answer
62
views
How to get the final balances using the PAB+ the simulator?
I'm using the GuessGame:
https://github.com/input-output-hk/plutus/blob/a36af17fd38db591865679916c819079ad51fda2/plutus-playground-server/usecases/Game.hs
under the simulator, with this code
main = ...
1
vote
0
answers
95
views
Is it possible to validate on-chain if two different wallet addresses come from the same person?
My goal is:
I would like to create a smart contract which would verify if unlocking transaction comes from the same person as the wallet address which is known before hand.
What I have tried:
I have ...
1
vote
3
answers
288
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 ...