Should we consider adding the Lockup NFT on IPFS? #1029
Replies: 2 comments 5 replies
-
Interesting creative idea! Unfortunately, it is not possible to do this for our current NFTs because the SVG is dynamically built. Even if it's possible to pass parameters, that's barely scratching the surface in terms of the logic required to replicate our existing design. For other chains (e.g. Solana), I suggest starting simple — displaying the Sablier logo for all NFTs, or a basic replica of our EVM design that is identical across NFTs. |
Beta Was this translation helpful? Give feedback.
-
Even if we manage to do this on the Sablier UI, the NFT visualisation may break on other platforms such as mobile wallets, DeFi platforms etc, until they also replace placeholders in the SVG with stream specific data.
Sounds like a good idea to me. And if we gain enough traction, we can pay the cost of developing |
Beta Was this translation helpful? Give feedback.
-
Note
This is just an idea, and I have not made research on IPFS. First, I want to see your opinions.
Recently, Max asked me about the
NFTDescriptor
contract. This made me realize that our current design requires a unique implementation of the contract for each new chain (in case we plan to extend the contract to multiple chains). This means higher development and maintenance costs.Instead, we should consider adding the NFT to IPFS and using it across all chains to make it more flexible.
I know that the SVG is dynamically built, which is more problematic. I am not very familiar with IPFS, but there may be a way to pass parameters when obtaining the SVG from it. In the worst case, we could have a template NFT SVG on IPFS and then make some replacements (unique collor and progress) in the
tokenURI
function.Another benefit would be that we would have one less contract to deploy each time - thus, less costs
@sablier-labs/solidity
Beta Was this translation helpful? Give feedback.
All reactions