Re:SafeDollar ‘stablecoin’ drops to $0 following DeFi exploi...
by wyager on Tuesday June 29, 2021 @08:55AM
(#27675125)
I think in most cases you wouldn’t want something like idris as a smart contract language on any kind of cryptographic system (blockchain, ZKP system, whatever) because idris programs are expensive to typecheck and evaluate. It would be reasonable to construct a DSL or something in idris that compiles a compact, easily computable language though.
The idea about having proofs as values in smart contracts is interesting though. I could see a few neat applications of that.
Re:SafeDollar ‘stablecoin’ drops to $0 following DeFi exploi...
by solomonb on Tuesday June 29, 2021 @02:42PM
(#27680008)
Yeah I agree that Idris itself would be much too large, however you could write a much smaller Lambda Pi that could still enable a lot of nice features.
The idea about having proofs as values in smart contracts is interesting though. I could see a few neat applications of that.