Hot answers tagged

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 ...
Lars Brünjes's user avatar
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 ...
keefie's user avatar
  • 431
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 ...
Marek Mahut - StakeNuts's user avatar
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 ...
Samuel Leathers's user avatar
1 vote

New payment address in Java

You could use Blockfrost API to create a new address. Please refer here.
Joseph Ku's user avatar
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 ...
Samuel Leathers's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible