Skip to main content

A "localstorage" on Soroban

· One min read

SorobanDomains is a simple protocol: you have a domain and that domain targets an address... But what if we can add more values? What if we want to add details like the place where we are hosting a SEP-01 TOML file? What if we want to tie our domain to an IPFS CID where our dApp is hosted (like what the blend team is doing here)?

Well, for such cases, we now have something new: A Key-Value storage contract. This contract acts like a simple "database" that developers can use to add values that their domains own, something like the IPFS CID of a website the domain should point to. Something like this can be used by projects like xlm.sh or by Tansu (which is already using xlm.sh).

Contract is already available on mainnet and can be used by anyone who owns a SorobanDomain, the key registration fee is $PSD 100.