New answers tagged

1

1.) So you would never have an app stored on the blockchain that clients download. By that I mean, you are not going to be able to store an executable on the chain. Instead you are more than likely going to build a smart contract script on the chain and build a interface (that is not on chain) to interact with it. For an example of this, let's look at NFTs. ...


0

I've created javascript package that could help you with this. The examples in the README should show you how to sign data on frontend and validate the signature on the backend.


1

Also you can fetch all the assets in your wallet using the BlockFrost Api https://blockfrost.io/, and then set the image src in you HTML to the corresponding IPFS URL.


0

Adatools has a way to display minted NFTs on the Testnet: https://testnet.adatools.io/nft


0

Nami wallet can switch between testnet and mainnet in the settings: And it also supports visualising your NFTs, though the NFTs I have aren't image files so Nami doesn't load them properly. If the NFT was minted with proper metadata, and contains an image, Nami will load the image from IPFS in place of the big "T" here:


0

Are you using cardano-cli v1.31? If so, please refer to Errror cardano-cli build-raw: AssetName deserisalisation failed expecting hexadecimal digit


0

This line is problematic: --tx-out $address+$output+"$tokenamount $policyid.$tokenname" One your variables is not set. To try it out, just put echo in front of the command to print out what the command really is with variables filled in.


0

I'd like to complement @JohannesSirsch answer. One of the most important aspects of any network, when working with smart contracts, is the ability of the script to see the "event horizon": In Bitcoin, all the script sees is the Redeemer that contains all the logic necessary to verify Tx. In Ethereum, the script sees the whole blockchain, and that'...


1

Values change, so this is safe for the current parameters: $ cardano-cli query protocol-parameters --mainnet | jq .maxTxSize 16384 But these are in flux, so you can try to be mindful of upcoming changes. Metadata is so versatile that if it didn't get larger there would probably be a way to deal with this, but it's in as much flux as many of the other ...


0

I'd use directory junction ( aka. Hard Link). Stop Daedalus, open and elevated command prompt and type: mklink /J C:\Users\YOURUSER\AppData\Roaming\Daedalus D:\Daedalus YOURUSER = Your Windows User running Daedalus D:\Daedalus = Your path where you will store the Daedalus folder In this way you don't have to modify any config file in Daedalus.


3

First solution After installing the wallet, look for the file called daedalus.bat inside Daedalus installation directory. Open it and change the following line: -n --db-path ^ for anything like this: -n "%APPDATA%\Daedalus\DB Wallet" ^ If you've already synced, move the ledger database to the new location. Second solution You can find the second ...


-1

The total number of smart contracts in Cardano can be enormous, but we have to look at it from a different point of view. It is not the number of contracts that matters, but rather their total size. Today, the max size for a single Tx is 16 KB. Charles Hoskinson said, "In the Basho era, there is a room up to 256...512 KB" (regarding smart contracts)...


1

To find a rare hash (for example, as in block 707750) using the brute force method is incomparably more difficult than choosing a validator according to a certain algorithm. That is why blocks in Bitcoin network are created, on average, every 10 minutes, but in Cardano, on average, every 20 seconds. If you have Xcode you can test my Swift app to find out in ...


Top 50 recent answers are included