10
votes
Accepted
Hardcoding currency symbol and token name in validator script
The problem is in your sealsToken function, where you use a ByteString-literal. This is not possible if you want to compile to Plutus Script.
A trick to work around this issue is to add an additional ...
4
votes
Accepted
How to Get Started with Cardano Native Script
You can find fairly extensive documentation on Cardano Native Script (aka Simple Script) here.
In short, you can define a JSON object with a simple set of rules known as scripts to validate operations ...
1
vote
How to link fractional Fungible tokens to an NFT?
You are probably lookin for CIP68.
Using this metadata standard, you will be able to lock your NFT within the contact that would hold reference NFT for your fungible tokens.
It is worth to also ...
1
vote
Accepted
New payment address in Java
A payment address is just the hash of the payment pubkey (and optionally the stake pubkey if that addresses funds will delegate) with some prefixed bytes that indicate what type of address it is. The ...
1
vote
New payment address in Java
You could use Blockfrost API to create a new address. Please refer here.
1
vote
search for wallet address holding native tokens
I would recommend db-sync, graphql or cardano-rosetta for this. The wallet is designed for tracking all addresses associated with one root key. From the perspective of someone wanting to give loyalty ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
native × 10plutus × 3
native-assets × 3
smart-contract × 2
script × 2
transaction × 1
cardano-cli × 1
nft × 1
address × 1
fee × 1
payment × 1
blockfrost × 1
java × 1
multisig × 1
javascript × 1
validator × 1
offchain × 1