berry-pool / nft-plutus Goto Github PK
View Code? Open in Web Editor NEWAn ERC-721 like NFT contract with Plutus scripts and Lucid as off-chain framework
An ERC-721 like NFT contract with Plutus scripts and Lucid as off-chain framework
Hey,
I am trying to get this sample project to work, but I am experiencing some type errors in the offchain code. Maybe related to some lucid library changes.
Data.from expects a string but gets a bigInt:
const Count = (c: number): Datum => Data.from(BigInt(c));
Same here Data.from expects a string but gets Construct instance. Should be Data.to imo
const Action = {
Mint: Data.from(new Construct(0, [])) as Redeemer,
Burn: Data.from(new Construct(1, [])) as Redeemer,
};
I have also tried to bypass the offchain part by using the Cardano cli directly, but no success yet. Minting the thread tokens works, but minting the tokens with the coin policy does not yet.
Could someone maybe translate the transaction build in the offchain part to the cardano-cli commands?
Hello Alessandro
Massive fan of your work!
I've been thinking about this for a bit now, and your project gave me a few ideas that I've been tinkering around on my own.
So it would be some kind of NFT proposal (a bit like a CIP ?)
An open-source standard for a Plutus "wrapper" contract that would enable some standardisation around NFT specific functionalities.
And also more advanced things like :
The goal would be to push the ecosystem forward so it remains competitive with the other chains (right now it's too complicated to use Plutus as you mentioned in your tweet, so from a user POV it feels like Cardano NFTs are more limited than EVMs) and also to create some kind of framework for people to contribute to enable future things (I'm not sure this fits CIPs, so maybe we could create CNIPs or CNPs ?)
Would you be interested in having a look/discussing the proposal before I make it public ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.