ERC1155P is an improved implementation of ERC1155 that reduces the gas costs for minting, transferring or buying multiple tokens to nearly the cost of one.
Standard ERC1155 implementations, along with many other contracts on Ethereum, have the same potential to return values from inaccessible wallet addresses. It's just more difficult to find the inputs for due to the storage slot hashing.
Version 1.1 Coming Soon (β½,π)
v1.1 adjusts storage slot addresses to a format that better isolates values for view functions
This is not related to a security issue. It just ensures view functions will not return incorrect data, which is possible on all ERC1155 contracts.
The probability of someone finding keys to such an address are the same as finding the key to any other address on Ethereum. This just eliminates the possibility of a view function returning the value that would be in an inaccessible wallet.
As gas prices and ETH rise the benefits of contract implementations like ERC1155P will become more pronounced.
Minor changes coming soon with v1.0.1 that will make ERC1155P even better. (β½,π)
@rileybeans_eth @dejaynich @PixieJarsNFT Here's a good example for two "burn one, mint one" transactions that were done around the same time.
The first is standard ERC1155 on Manifold, the second is the new ERC1155P contract. ~57% lower transaction fee. β½π
https://t.co/uN5hefzq0A
https://t.co/IKJjP1PebB
$1.65 to burn a token and mint a token, just 62640 gas units.
ERC1155P is opensource and available to any project that wants to save their collectors gas. Questions? Hit us up below π or in DM. (β½,π)
πΉ OPEN EDITION MINT IS LIVE! πΉβ¬οΈ
https://t.co/sJmrepnSFn
Valentines Day: A Pixie Jars Story is the VERY FIRST ERC1155P contract deployed on the Ethereum blockchain! πΉ
Only 0.00214 ETH per mint π§
ERC1155P opens up tomorrow. Don't miss the first drop with @PixieJarsNFT.
I'm really excited to see where this implementation goes and how creators put it to use. Gas savings don't end with mints, seeing 30-70% savings on sweeps/transfers too. πβ½π
Tests are complete. Perfect match running 35k event logs from an existing collection through ERC1155P. Compared against @AlchemyPlatform snapshot, off-chain analysis of the logs, and a test env run with standard ERC1155.
Repository going public tomorrow. π«‘