Skip to main content

All Questions

Tagged with
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
1 vote
1 answer
227 views

How to deploy the Plutus smart contract

I am following Plutus-pioneer-program to learn smart contract development in Cardano. I have tried the onchain and offchain code, compiled and tested in Plutus playground and also in emulator trace. ...
duaa azhar's user avatar
0 votes
1 answer
159 views

How can I interact with smart contract created from Marlowe in the testnet/mainnet?

I create a smart contract with Marlowe from https://play.marlowe-finance.io I now want to deploy the contract in the preview testnet and later mainnet. I imagine it must be somehow converted into ...
Adam's user avatar
  • 343
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
10 votes
3 answers
349 views

How to properly start a new Plutus project, from scratch

I'm from ETH's ecosystem and recently just decided to get into Cardano development, specifically Plutus dev work thanks to Demeter.Run, and after going through the Plutus starters on there, I noticed ...
0xDaito's user avatar
  • 101
4 votes
3 answers
149 views

How do users interact with smart contract?

In plutus playground, there is an example called “Vesting”. In the simulation, users can interact with this smart contract by click on “vest fund” or “retrieve funds”. Now suppose that we compile this ...
Adam's user avatar
  • 343
0 votes
1 answer
47 views

Printing a plutus validators cborhex to a file

I was hoping to get some advice re printing a plutus validators cborhex to a file. Im kinda basing my logic off of an example in week03 in the pioneer program but need to make some adaptations. Below ...
NaeriKailash's user avatar
0 votes
1 answer
51 views

Use a parameterized currencySymbol within a Plutus Validator. Unsupported feature: Type constructor: GHC.Prim.ByteArray#

I have a minting policy which is parameterized by PaymentPubKeyHash and a script which checks that a token from that minting policy has been burned. The script also takes PaymentPubKeyHash as a ...
Rohan Mitta's user avatar
0 votes
1 answer
34 views

Plutus Playground - mustPayToTheScript - unexpected char escapes - 0 converted to \NUL, 1 to \SOH

I am having trouble with the mustPayToTheScript function - I am getting this error Contract instance stopped with error: "WalletError (InsufficientFunds \"Total: Value (Map [(,Map [(\\\"...
NaeriKailash's user avatar
1 vote
0 answers
55 views

Plutus Playground WalletError: InsufficientFunds

I am running my smart contract on the plutus-playground and getting the error below: Contract instance stopped with error: "WalletError (InsufficientFunds \"Total: Value (Map [(,Map [(\\\&...
NaeriKailash's user avatar
1 vote
1 answer
65 views

Is there an equivalent of Bitcoin Script Opcodes or the EVM instruction set in Cardano

Is there some lower level code that Plutus code compiles to (akin to Solidity => EVM bytecode, or BSV sCrypt => OP_codes)? Related (but distinct) how the state changes: https://cardano....
Lee's user avatar
  • 115
4 votes
5 answers
506 views

Smart contract is not working after Vasil Hardfork in testnet

My smart contracts deployed in testnet stoped working after the Vasil Hardfork. i get this error: ""transaction submit error ShelleyTxValidationError ShelleyBasedEraBabbage (ApplyTxError [...
Alicia Basilio's user avatar
2 votes
3 answers
113 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, ...
breeze wang's user avatar
3 votes
1 answer
154 views

How To Convert Old Plutus Scripts to Vasil Reference Scripts?

One of the fun things, the Vasil hardfork gives us is the ability to reduce the size of transactions and so put more of them into a block (speeding up the chain). My question is how to change the ...
KryptoKing's user avatar
2 votes
1 answer
88 views

How to create an unspent UTXO with specific value

I want to create a script (smart-contract) utxo with a specific number of tokens (it can be an output of a transaction before) in cardano-serialization-lib - javascript. I need this utxo to be part of ...
pprs's user avatar
  • 101

15 30 50 per page
1
2
3 4 5
10