Skip to main content

All Questions

0 votes
2 answers
97 views

How to generate CBOR hex of plutus smart contract

How can i generate the CBOR hex of a plutus smart contract. Does it requires to generate CBOR of onchain code only or both onchain and offchain? Also if have a smart contract which requires parameters ...
duaa azhar's user avatar
3 votes
1 answer
99 views

How To Verify The Code Of A SmartContract?

There's a lot of talk about open-source code on Cardano, but how can I verify that the SmartContract(s) in a git repo are the actual SmartContracts the project has deployed to the Blockchain? I want ...
KryptoKing's user avatar
0 votes
1 answer
52 views

How do you Connect ATALA to Plutus Smart Contracts [closed]

I think they use diffrent programming languages, but how can I use DID inside my Plutus contracts?
KryptoKing's user avatar
1 vote
0 answers
60 views

How to use Endpoints and Schema

I doing the PPP but Lars does not cover Endpoints or schema declarations in sufficient detail. I imagine that this is a problem that Plutus devs must overcome, but I cannot find suitable documentation ...
KryptoKing's user avatar
1 vote
1 answer
152 views

How can I configure and send a transaction to the Cardano chain using python

I have written some plutus contracts, but they use parameterisation and the params are gained through a REST API. I am using python3 to interface with the API, but would like to be able to script an ...
KryptoKing's user avatar
1 vote
1 answer
83 views

How do Endpoints work?

and cant figure out what Endpoint do (why are they in the code) and most important of all how should I code them. What are the best practices?
KryptoKing's user avatar
0 votes
1 answer
202 views

What is the correct way to compare two instances of Value data type?

Question What is the correct way to compare two instances of Value data type? Context I would like to check if outgoing transaction identified by PubKeyHash has the same Value as Value which was ...
KugisMugis's user avatar
1 vote
1 answer
121 views

How to get information about UTxOs which created locking transaction on the on-chain?

I would like to create a smartcontract which makes sure that only the same person who made specific locking transaction can unlock that same specific transaction or to put it into simpler terms if Bob ...
KugisMugis's user avatar
2 votes
2 answers
81 views

Retrieve only digit from TokenName and use onchain

How can I make the following function to retrieve only digit portion from the TokenName and use it on chain? For example I want to retrieve the number 123 from "AAA123" (TokenName) {-# ...
utxo's user avatar
  • 21
0 votes
1 answer
122 views

How to validate the correctness of another parameterized script address on-chain

I would like to write a factory script that can initialize another parameterized script address by sending it an NFT. The factory validator gets the parameters of the target script as redeemer and has ...
Flippy's user avatar
  • 83
13 votes
2 answers
556 views

Where is the on-chain code actually stored?

I've just read something that suggests Validators aren't actually kept on the blockchain. To save the space, only the hash of the Validator is kept at the UTxO and users willing to spend it must ...
emesik's user avatar
  • 816