Vectorized / dn404

Implementation of a co-joined ERC20 and ERC721 pair.
MIT License
476 stars 158 forks source link

✨ Prototype DN420 #109

Closed Vectorized closed 8 months ago

Vectorized commented 8 months ago

Description

The aim is to build the "most efficient" single dual-nature contract, that is also scalable in the long term (no out-of-gas DoS vectors even with millions of trades),
and usable for IPFS token URIs with per-token unique metadata.

This is still extremely hot and experimental.
I haven't got the rest of the avengers to internal audit this yet.

USE AT YOUR OWN RISK

Tbh, I think that ERC721 is a more flexible option in the long term, mainly because of ownerOf.
Past a certain point, there is only so much gas you can save before eating into UX.

Always take benchmarks (including ours) with a pinch of salt, as they can be cheesed.

Checklist

Ensure you completed all of the steps below before submitting your pull request:

Pull requests with an incomplete checklist will be thrown out.

Vectorized commented 8 months ago

Renaming the branch to DN420.