All Questions

Filter by
Sorted by
Tagged with
3 votes
1 answer
49 views

How are DeFi projects funded (beyond Project Catalyst & external funds)

How do DeFi projects such as Uniswap or Synthetix make money to cover their development costs? Would you siphon a small amount of ADA each transaction or is it more common to create your own token and ...
Eddy Schauman-Haigh's user avatar
8 votes
1 answer
101 views

Cardano-Ethereum Bridge

What is the best way to write a smart contract that will work across both Cardano and Ethereum? It doesn't have to be released yet but preferably something that will be usable by the end of the year. ...
Eddy Schauman-Haigh's user avatar
8 votes
3 answers
1k views

How can I find the Haskell source code for the sqrt function?

I am starting to learn Haskell and need to learn how to look things up. Since I am studying a function that uses sqrt, I want to see how that was made in Haskell. This is as much an exercise in using ...
John Shearing's user avatar
9 votes
1 answer
291 views

How to access the current slot in a Plutus validator script?

At the time the Plutus validator script runs, the transaction is not yet part of the blockchain. But the targeted slot of a transaction is known when a node processes the script. Is it possible to ...
thebrandre's user avatar
17 votes
5 answers
2k views

What is a Redeemer?

So I am currently on lecture 1 on the Plutus Pioneer Program. In the lecture they said the redeemer is the input information that the script uses to decide if a specific UTxO can be spent. I watched a ...
szhang9921's user avatar
8 votes
1 answer
128 views

How to get intellisense/auto suggestion working for Plutus in VSCode?

I've been seeing Lars get auto suggestions from his terminal when he's typing. I want the same in VSCode, how to get it? PS: I don't get auto suggestions in cabal repl too.
Shaan Sundar's user avatar
14 votes
1 answer
324 views

How do I build a debug configuration of a Plutus project?

When I try to set a breakpoint in a small Plutus project such as this, I always get the following error: :b Week05.Homework1.mkPolicy cannot set breakpoint on Week05.Homework1.mkPolicy: module Week05....
thebrandre's user avatar
11 votes
3 answers
1k views

Are there web3.js-like in Cardano?

With the Cardano's Alonzo Hard fork coming, the Cardano testnet will be coming in. I assumed that there is a frontend library for interacting with the Cardano testnet, however I couldn't find anywhere....
iRaySpace's user avatar
  • 161
4 votes
1 answer
433 views

Ideal computer specifications for own staking?

I'm very new to Cardano and staking and would like to run my own vs delegating: what PC specifications would be ideal to run my own pool for ADA staking?
ADA4RMR's user avatar
  • 57
15 votes
2 answers
409 views

Haskell IDE INLINABLE error help

Have you encountered this error? IDE complains that the validator is not INLINABLE, while it actually is: Program error: GHC Core to PLC plugin: E043:Error: Reference to a name which is not a local, a ...
Stanislav Zhdanovich's user avatar
5 votes
1 answer
47 views

Where and when do I get a chance to review and contest community advisor (CA) assessments of my proposal?

My proposal is now in the "assess QA" phase. I am expecting to see the assessments, so that I can propose rejection of any that do not meet the guidelines. Will they appear in Catalyst or be ...
gRebel's user avatar
  • 1,945
7 votes
3 answers
137 views

When a UTxO becomes available for consumption?

In the Gift.hs example from the second lecture in Plutus Pioneers Program, when I give ada, a UTxO is produced. When I want to grab that ada in the same block, it fails (There is no input or output ...
Jelil Akjaly's user avatar
13 votes
2 answers
506 views

What is the difference between Plutus (Marlowe) and Glow?

What is the use case of Glow when you have Plutus and why a developer would use it instead of the other smart contract language which is natively supported by Cardano?
Petar Enchev's user avatar
3 votes
2 answers
433 views

How can metadata.json properties be changed after a token is minted?

I've minted a token but some of the metadata.jsosn properties don't look so great. Is there a way to update them? The general form I've tried is: cardano-cli transaction build-raw \ --fee $fee ...
mpr's user avatar
  • 133
3 votes
1 answer
162 views

What should I be doing to become a top tier Plutus Developer?(Besides Plutus-Pioneer-Program)

I want to know everything there is to know about development on Cardano. I am currently following the plutus pioneer program, but would like to dig deeper. Are there any videos, articles, documents or ...
Isaac Padberg's user avatar
7 votes
1 answer
110 views

I am looking for a practical example of a smart contract with three parties

I would like to know if the following scenario involving three parties could make sense in the context of a smart contract. I am new to blockchain and smart contracts, I have come across some standard ...
Ancientone's user avatar
9 votes
1 answer
634 views

Hardcoding currency symbol and token name in validator script

I want to be able to make calls to my custom native token module inside the validator script as I do with the Ada.hs module, but if I try I get a "E042:Error: Unsupported feature: Type ...
AngelCastillo's user avatar
7 votes
2 answers
582 views

I'm having issues with nix-shell

I keep getting this error, any thoughts? I have re-downloaded nix 3 times now and it's the same error as before. Not sure if it's the profiles or channels but this is what it gives me: '''trying https:...
KIJIRI's user avatar
  • 687
8 votes
1 answer
131 views

Confused by compilation message in plutus playground (week 5 pioneer program)

This is part of my attempt at solving the first homework assignment of week 5 in the plutus pioneer program. The rest of the unmodified file can be found here. {-# INLINABLE mkPolicy #-} -- This ...
Matthias Sieber's user avatar
8 votes
3 answers
139 views

Where can I find formal work comparing PoS and PoW models?

For some time now I have been trying to find some clear and objective comparison of proof-of-stake (PoS) and proof-of-work-based (PoW) consensus protocols. Unfortunately, pretty much every comparison ...
kjo's user avatar
  • 249
6 votes
1 answer
2k views

How to get around a "withdrawal address format is wrong" error?

I would like to transfer some ADA from a binanceus.com account to a Coinbase Pro account. To do this, I get a receive address from the Coinbase Pro web site, which I copy-paste as-is to the ...
kjo's user avatar
  • 249
9 votes
2 answers
124 views

What known stake pool attacks exist?

Recently a stakepool (CRO) changed its costs and % fees 30 minutes before an epoch end, effectively changing the rules mid-epoch for people staking with the pool. Are there other known stakepool ...
DaedelusDaemon's user avatar
9 votes
1 answer
954 views

When do rewards transfer to a wallet in Daedalus?

Under rewards one can view your returns for particular wallets. Is this already reflected in the wallet total as utxo? Are any actions required to have the rewards transferred to a given wallet?
DaedelusDaemon's user avatar
12 votes
2 answers
862 views

Why is PoS much faster than PoW?

My understanding of the topic is this: Proof-of-Work Miners compete with their hashrate for the right to publish a block. Proof-of-Stake Validators are randomly elected to validate a block. Why is ...
Isaac Padberg's user avatar
8 votes
2 answers
503 views

Plutus Pioneer Program - Problem with plutus playground client

I'm setting up my environment to run the example from lecture #1 (Week01 auction) All compilations went well but when I try the evaluate in the simulator I always receive: interpreter Errors ...
Simone Faré's user avatar
6 votes
1 answer
55 views

A summary on the goal of Cardano

On the website it's mentioned that: Cardano is a blockchain platform for changemakers, innovators, and visionaries, with the tools and technologies required to create possibility for the many, as ...
Mast's user avatar
  • 161
12 votes
1 answer
70 views

What decisions are left to the slot leader?

Is the order of transactions deterministic, or is it decided by the slot leader when creating the block? Are DEX front-running attacks a possibility? Can the slot leader censor specific transactions ...
Daniel Hawkins's user avatar
5 votes
2 answers
90 views

Is Project Catalyst the only source of non-commercial funding for Cardano projects?

If I have an idea that is not funded on Project Catalyst, where else can I find funding other than venture capital firms Please disclose any affiliations (if you have them) when answering.
gRebel's user avatar
  • 1,945
1 vote
1 answer
35 views

Why are proposals to solve issues discouraged during the insights phase (first week)?

The insights phase is held during the first week of a proposal round. You cannot put proposals up. Only insights can be added. Insights are described as ideas and submitters are encouraged not to ...
gRebel's user avatar
  • 1,945
11 votes
1 answer
69 views

How does the hardfork combinator work?

Naïvely one would think it's a mere version tag on the block. However, most other chains do not include a combinator. How does it work at the low level and why only Cardano has it?
clicea's user avatar
  • 325
15 votes
2 answers
207 views

Do old UTXO's ever get pruned from the blockchain?

From what I've read, downloading a full Daedalus node is currently around 6-10GB. Do old UTXO's ever get pruned from the blockchain? If not, what's to stop the size of the blockchain from growing ...
Blake Brown's user avatar
25 votes
1 answer
347 views

Randomness in a smart contract

Is it possible to get randomness in a smart contract? E.g. I would like the validator to randomly choose between two conditions to use to validate a transaction. Such a capability could be used for ...
Joshua Chia's user avatar
  • 1,335
13 votes
1 answer
106 views

Native Token Names: How may I prevent other Projects from using my Project's Cardano Native Token Ticker/Name (fungible) on any blockchain network?

I am starting a new blockchain project. I think I want to deploy the project on Cardano. When I select a fungible Token Name for my Native Token on Cardano, how do I prevent another project from ...
JimK's user avatar
  • 131
12 votes
1 answer
81 views

What is the difference between "Voltaire" and "Project Catalyst"?

Voltaire is described as the governance phase of Cardano. Catalyst is also about voting for the current and future proposals and themes for Cardano. Will one be merged into the other?
gRebel's user avatar
  • 1,945
-4 votes
1 answer
50 views

Price regulation of the ADA token [closed]

What is the economics behind the value of ADA in fiat currency? Assuming that bitcoin will dominate 100% of the "store-of-value" market, and taking speculation out of the equation, I don't ...
Thomas Lima's user avatar
7 votes
3 answers
1k views

Problem starting a plutus devcontainer in windows

After I upgraded my container to the commit from plutus pioneer programm lecture 3 the VsCode server won't spawn anymore in the dev container. VSCode tells could not fetch remote environment Failed ...
wutzebaer's user avatar
  • 691
11 votes
2 answers
222 views

How can I write unit tests for Plutus contracts?

I'm a member of Plutus Pioneer Program. I already know about the Plutus Playground and like it very much. However, clicking all the blockchain action scenarios each time is very time-consuming, ...
emesik's user avatar
  • 886
9 votes
3 answers
217 views

Does pool pledge amount impact odds of getting a block?

Two scenarios: Stakepool owner #1 pledges 10k, stakes 10k and total stake from others is 100k = 110k staked total Stakepool owner #2 pledges 100k, stakes 10k and total stake from others is 100k = 110k ...
Mike's user avatar
  • 373
10 votes
2 answers
111 views

Test-Focused EvaluatorTrace Monad?

Is there infrastructure for writing unit/integration tests for our contracts, without running the full playground? Is there a test-focused EvaluatorTrace monad, for example?
KIJIRI's user avatar
  • 687
5 votes
1 answer
276 views

Hash MisMatch Error on Plutus and Nix

I keep getting the Hash Mismatch Error, anyway I can resolve it or get around it? hash mismatch in fixed-output derivation '/nix/store/7y3jr1jvzkj2146h7sivw0sfr2bhap3j-ghc-8.4.4-x86_64-deb8-linux.tar....
KIJIRI's user avatar
  • 687
7 votes
2 answers
250 views

Providing metadata to `cardano-cli transaction build-raw`

What command-line options and input file content can I provide to cardano-cli transaction build-raw to specify a transaction with metadata similar to the one in this transaction? https://explorer....
Joshua Chia's user avatar
  • 1,335
16 votes
3 answers
208 views

Are there safeguards preventing big centralised exchanges like Binance and Kraken from having too much power in projects like Catalyst?

Kraken recently announced it would let its users stake Ada on their account. However, since Kraken owns this ADA, I understand this means it could have the voting power of all its users combined on ...
LaX's user avatar
  • 443
6 votes
2 answers
372 views

Is there a metadata standard for native assets (talking about fungible tokens first) in Cardano?

I've already made preliminary research about the standard. The below link seem to describe it very well: https://docs.cardano.org/en/latest/native-tokens/using-the-token-registry/token-registry.html ...
omegafer's user avatar
  • 106
3 votes
2 answers
23 views

Can I change the challenge my insight or proposal is located in?

I have created a proposal in a challenge and realized that there is a more suitable challenge for my proposal. When I edit the proposal, the drop-down choice for challenge is greyed-out. How can I ...
gRebel's user avatar
  • 1,945
7 votes
1 answer
502 views

Problem when starting a nix-shell in the plututs repo [duplicate]

I was doing the plutus pioneer program and ran into an error when starting a nix-shell at the top-level directory of the plutus-repository. I ran into the same error on Ubuntu 20.04.2 LTS (GNU/Linux ...
Hamza's user avatar
  • 150
11 votes
2 answers
219 views

Plutus Pioneer Program - Lecture #4 Homework - Best practice for logging errors

Below is my attempt to implement the homework assignment. Is the way I call the endpoint twice in payTrace with minor differences appropriate? Since payTest2 would not execute properly without ...
Matthias Sieber's user avatar
9 votes
2 answers
310 views

How would a 51% Attack on the Cardano blockchain be started and overcome?

What exactly is the 51% Attack? How hard would it be to accomplish this attack? How easy is it to overcome the attack should it actually occur?
Chad Carter's user avatar
5 votes
1 answer
49 views

Validator getting access to delegator?

Is it possible for a validator to get access to delegator information? For example, is it possible to lock a token to be redeemable only by someone who is delegating to a specific stake pool? ...
KIJIRI's user avatar
  • 687
5 votes
1 answer
65 views

Logistics of Developing Contracts

We've done a lot of development on the Plutus Playground; in what ways will the logistics of developing and deploying contracts differ in Gougen?
KIJIRI's user avatar
  • 687
3 votes
1 answer
36 views

Are there guides for Router Contracts available (now or in the near future)?

Will IOHK be publishing best practice guides or common architectures? For example, in solidity it's common to have a set of "Router" contracts, to assist in upgrading the protocol in the ...
KIJIRI's user avatar
  • 687

15 30 50 per page