spacebudz / lucid

Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript, Deno and Node.js.
https://lucid.spacebudz.io
MIT License
341 stars 140 forks source link

Cip30 experimental question #66

Closed nejcr closed 2 years ago

nejcr commented 2 years ago

Hello, Correct me if I am wrong but looking at the CIP-30 getCollateral is no longer associated with the experimental flag as implemented in nami(Needs to be updated as well?). Should therefore api.experimental.getCollateral be replaced with api.getCollateral .

alessandrokonrad commented 2 years ago

Yes, technically you are right. But there is no relevance for this endpoint anymore after Vasil. Lucid handles collateral on its own and doesn't require this seperate endpoint anymore. So I think it's fine to have it like this temporarily until the hard fork.