ssds retweeted
Building RRC-404 with Scrypto:
First, if you want to see my thoughts on ERC-404, check out my post from yesterday here:
xitter.gq/aus877/status/17615352…
Building this standard with Scrypto allowed me to think about the problem of nonfungible liquidity from a different angle. Scrypto provides very easy to use native resources that are not smart contracts like the ERC-20 and ERC-721 tokens. These native resources have basic and reliable behaviors that resemble physical money you would have in your wallet. With these basic behaviors, it is easy to mimic the desired actions of ERC-404 and maybe even make a few simple improvements along the way.
Instead of risking randomly losing an NFT if you transfer part or all a fungible, why not design it in a way where the user only has 1 NFT OR 1 fungible at any given time? If the user only owns either 1 NFT or 1 fungible instead of both at the same time, you stop having issues where invisible mapping can burn an NFT you may want to keep.
If the goal is to provide liquidity, it is quite easy in Scrypto to link a fungible resource with a nonfungible resource by writing logic capping their supply to a single number.
Instead of tokens themselves being smart contracts, users on Radix can interact with a dedicated smart contract to convert between fungible and nonfungible state when they want. This way, there are two very distinct resource states where you are not concerned about accidentally making a mistake. If you have an RRC-404 fungible, you can freely send it, swap it, add it as liquidity without consequence to any NFTs. Likewise, with RRC-404 nonfungibles, you can send them, swap them, list them on a marketplace without any consequence to your fungibles.
This RRC-404 blueprint is not random, and doesn't pick the next NFT rarity based on the id's hash value like ERC-404. Instead I thought it would be interesting to write logic that aimed to maintain a constant percentage for each rarity (for example 42% Green, 30% Blue, 16% Red, 8% Orange, 4% Purple). You could technically monitor the circulating supply of each NFT to have an idea of which NFT would be minted next in this scenario, but you would not be able to control anyone else from minting/burning other NFTs and changing these ratios.
This model also makes fractional ownership of NFTs quite easy. If you want to convert fungibles to an NFT, it just requires a whole fungible token. If you call the freeze method with 1.5 water tokens, you will just receive 1 Ice NFT and .5 water tokens in change. Converting Ice NFTs back into Water fungible tokens always results in a whole number of fungibles.
Here is the RRC-404 code: github.com/aus87/ice_rrc404v…
What is ERC-404?
ERC-404 (at least the legacy version) is kind of a monster. It combines ideas from both fungible and nonfungible tokens to create something entirely different. It creates a sort of hybrid of ERC-20 and ERC-721 with special rules. In some ways, it allows fractional ownership of an NFT. Because it combines a fungible and nonfungible, the standard allows NFT collections to have fungible liquidity on a dex which has caught the attention of devs across many chains recently.
kucoin.com/learn/web3/what-i…
What I dislike about ERC-404:
ERC-404 seems to create some unpredictable behaviors which makes me doubt its usefulness in its current state, but I think it is possible to make some really interesting products with it after a few improvements. ERC-404 annoyed me at first because it kind of destroyed the whole definition of fungible by mapping a fungible token to every NFT but the mapping is not obvious. Transferring part or all of a Pandora fungible token to another address could result in burning an NFT you own. If you have multiple NFTs, it could burn one you would rather keep. It requires shuffling your NFTs around to different wallets in order to save the rare ones and "reroll" the more common ones.
The newer iterations of ERC-404 can now "bank" metadata and use a FIFO approach to assigning the next NFT to mint. I still think though that having distinct fungible and non fungible states for the collection would do a better job solving the problem of NFT fractional ownership and fungible liquidity by removing a lot of confusion.
What I like about ERC-404:
I like the amount of hype it has created recently. People seem excited that it allows fungible liquidity for NFTs as well as helps to set a "floor price" for the collection. I think it will be even more interesting if/when implemented for a complete unique set of NFTs.
I see many opinions out there that ERC-404 allows for fractional ownership of NFTs. I suppose this is the case because if you own .1 Pandora tokens, you can add .9 more and then own a Pandora NFT; however, you don't have any guarantees on which you own so this does not seem exactly correct to me.
I think fractionalized ownership using NFTs is an interesting problem to solve. In my opinion it would also be easier to build a better fractionalized ownership solution using Scrypto with my own custom logic using Radix's native resources.
The one major question I have had while researching ERC-404:
Why not just make distinct fungible and nonfungible behaviors/states for the tokens and create a simple smart contract that will facilitate an easy transition between these states that a user can call when it is convenient for them? IMO this is only going to be useful long term for things like RWA if we have safe and predictable behavior.
I love to see innovation in the space and it has been a lot of fun researching this and building a version of it with @Scrypto_Lang . RRC-404 content to follow ASAP!
🫡
ERC-404
github.com/0xacme/ERC404
github.com/Pandora-Labs-Org/…
ERC-404 v2.0
github.com/Pandora-Labs-Org/…
ssds retweeted
🔮 PREDICTION #13: BELGIAN GRAND PRIX 🏆
Who will be the #1 at the Formula 1 Belgian Grand Prix 2022? 🏎
1️⃣ Join t.me/delphibets
2️⃣ Register with t.me/delphibetsbot
3️⃣ Place your prediction
4️⃣ Join the TWITTER BONUS 🔥
$XRD $EXRD $DPH #delphibets #BelgianGP #F1
ssds retweeted
Giveaway 🚨🚨🚨
To celebrate the 1 year anniversary of @nerds_republic I'll be giving one away
To enter:
- Retweet this post
- Follow @nerds_republic and @FotonSDK
- Join t.me/nerdsrepublic and comment '/fortherepublic' in there
Ends 11th of August 9pm Tokyo
#fortherepublic $XRD #NFT
ssds retweeted
🎉DAILY GIVEAWAY TIME🎉
DAY 12
Everyday I will be giving away $20mil #Radix $INU until $XRD is listed on @binance
To Enter:
🔥Follow @Gumby73563795
🔥RT & ❤️LIKE This Post
@Radix_Inu @radixdlt #RadixAustralia @Radixgiveawaya2
ssds retweeted
Super rare indivually tailored NFTs around the radix team and other crypto personalities, welcome founder Dan and Zombie Dan ! Reserve yours today !
$xrd @jer979 @fuserleer @TheFPatron @Inspectr_Crypto @DavidPKnowles @thebtchodler #radixdlt #Radix @RadixFANS
ssds retweeted
ssds retweeted
We got some new radix ratz in town, but whats radix ? Glad you asked - the future of global DEFI, so pretty big. Reserve your NFT - Radixratz.com
@andrewjarrett $xrd @longbowman_xrd @w95radix #Radix @ociswap @ociswap84 @Radixgiveawaya2 @radixkickstart @magicradicx
ssds retweeted
ONE WEEK until our 2nd monthly Staking Rewards Draw. Time flies when you're having fun.
All ROIDZ hodlers at 31 May, 23:59 UTC have a chance to WIN over 1000xrd.
#Radix #NFTGiveaways #inittowinit
#DeFi #Crypto $XRD $DGC > #Eth #Sol
ssds retweeted
Meow meow 🙀
The cats out of the bag and into the #Radix Swag store for the next 4 weeks!
All profits from @Ociswap merch donated to @Seashepherd.
Who will make it into the store next? New competition to decide coming thoon...
Get it now: swag.radixdlt.com
$XRD $OCI
ssds retweeted
The #RadixReport is back!
Today we are serving juicy updates from the Brave campaign, details of Radix Ambassadors doing fantastic things, & a hard-hitting update from Matt and Russ.
Tuck in 👇
radixdlt.com/post/radix-repo…
$XRD 🚀
ssds retweeted
Does the future of #DeFi still belong to #Ethereum?
@Cointelegraph breaks down the L1 landscape, highlighting which ecosystems are vying for the top blockchain spot. 🏆
radixdlt.com/post/does-the-f……
$XRD 🚀📈
ssds retweeted
Locked and loaded for Babylon!!! - reserve your NFT today at radixratz.com/
@schnutzerich @xrdexrd @defi_4change @AbandonedScorps @RadixFANS @CriptoM43213450 @radixwhale @Radixguy @longbowman_xrd @_CryptoIchigo #NFT #NFTdrops #XRD #RADIX @Kesswitz @groovelight
ssds retweeted
Radical Strikers website is live now! please read about the project and reserve an NFT: radicalstrikers.com
follow this account for development updates and the occasional announcement!
#RadicalStrikers #RadixDLT $xrd $exrd
ssds retweeted
Some more shots from the awesome #CryptoWorldCon in #Miami. Big thanks to all the participants for representing #Radix 🚀🚀🚀
More events to come: getradix.com/events
ssds retweeted
I’m going to randomly give out Daxter tokens.
Just Follow, Like and Retweet.
I am giving away 15,000 Daxter tokens to 5 winners in 24 hours.
youtube.com/watch?v=8aBL58F5…
@DaniusKalvaitis @CptCharles_ @ociswap @ociswapad @lu5st @sargysmit @Squidward_Yunow @expat_xrd @BuyXRD @RadiksAvenger69 @radixdlt @CerberRADS @PiersRidyard @MisterXRD
ssds retweeted
Congratulations to the entire @AbandonedScorps community! #ScorpLife
$XRD #Radix #EcosystemSuccuss 🎉
unreal to be saying this, but @AbandonedScorps hit 1M $xrd trade volume! This is before marketplaces, before smart contracts, before Babylon. #RadixDLT has crazy hype and is on track to have a top 1 ecosystem as soon as #Scrypto hits mainnet.







































