New answers tagged on-chain
1
vote
Unable to convert BuiltinString to JSON
BuiltinString has no ToData instance so it cannot be used as Datum. One option is to encodeUtf8 and use the BuiltinByteString. Not sure why you want to use JSON though.
- 1,165
Top 50 recent answers are included
Related Tags
on-chain × 42plutus × 27
smart-contract × 15
plutus-pioneer-program × 7
cardano-cli × 4
transaction × 4
haskell × 4
datum × 4
validator × 4
offchain × 4
validation × 3
cardano-node × 2
utxo × 2
plutustx × 2
script × 2
script-addresses × 2
hash × 2
time × 2
datum-hash × 2
nft × 1
stake-pool × 1
minting × 1
metadata × 1
security × 1
api × 1