New Ethereum talks, every Monday. The week's conference uploads by event, in your inbox.

Loading player…

Metadata Layer for Web3 - Carson Farmer

Ethereum DenverSun, Oct 9, 2022, 12:00 AM

Speaker

Carson Farmer

Transcript

okay here we go uh what right thanks for having me everybody um well you didn't get a choice it was already on the schedule but thanks for showing up anyway um my name is carson i'm with the textile team and i'm going to talk to you today about tableland which is something we just launched yesterday pretty much um and i'm going to go through the website which we just launched like at 3 am the night before so hopefully everything works uh smoothly but thanks for coming to talk so i'm going to talk a little bit about building infrastructure for dynamic composable metadata so this is what kind of how we're thinking about tableland it's that dynamic composable metadata metadata layer for web3 and so really the whole idea here is you should we can build a lot of web three uh interactions and primitives with something that most or a lot of devs already know sql or sql depending on what camp you come from and so tableland is really not another database it's just a web three native relational data model or relational table model and so it really is like a network that we're launching that allows creators of nfts and dapps and people who are creating content for the metaverse to build and compose things using relational tables and sql plus smart contracts um and so uh table end is gonna be a brand new token enabled protocol um it's gonna power the next generation this is the pitch part right it's going to power the next generation of experiences on web3 and the cool thing is you probably already kind of know how to use it the api is tiny it's creates it selects its updates um in a language that a lot of devs already know so it's kind of it's so straightforward it's retro right you just connect to the network create a table select from uh the table and where something happens and you get back uh data and you can interact with that but it's also uh so web3 it's the future um so there's a lot of sort of web3 primitive type things baked into how you interact with things with sql so here is how you create an erc 721 compliant metadata table for an nft drop and you create a table every row is a nft metadata compliant row and then you can query the gateway to get back the metadata in exactly the way that you're expecting for your nft so that's a pretty quick little example and if the demo gods are favorable today i will live create a table a minted table and we'll play around with it and see how that works so as i said in table and we speak sql and it's just tables we we even don't even really call it a database it's just a bunch of relational tables um that are minted and available for interaction on right now evm chains and in particular this week rinkaby testnet um so for eat denver we're launching this nvp mvp it's really all about the testing out the apis and getting hackers to interact around with them so we have a single validator gateway with all of our rpc apis you can create address or token owned tables that are erc 721 compliant nfts themselves on rinkeby which you can use to deploy dynamic composable metadata for nfts and other stuff too but that's what we're talking about today and uh it's pretty it's pretty straightforward it's pretty easy and i'm going to show you um the beautiful landing page that we made because you might as well look at it we spent a lot of time thinking about it and then we'll do a live demo on the page and then i'm going to ask you to look at the docs because i spent a lot of time on the docs recently as well and the least you could do is take a look at them and click around so we'll do that as well but first join us right we're gonna go and i'm gonna see if this works um no just open it up on this screen that's okay uh let's see i'm gonna turn my back to you for a second well this is gonna be hard okay here we are table end headline dot x y z uh this is going to be tricky um table and dot syz go there and then scroll down and um you know what i'm going to do we're recording this live um i'm going to see if i can i want to un-mirror the displays no done nope not gonna do that okay i'm just going to do this live how do i un-mirror the displays now you'll see both excellent maybe excellent okay here we go uh sorry for the hiccup okay so it's beautiful it's a landscape it's the table lens you're gonna love it check it out and then we're gonna scroll all the way down to the bottom here and we can just try it out so this is an actual live terminal that's connected to the tableland api and so you can actually we can actually play around with it and do and create some live tables so we'll just connect to the network and that will pop up some metamask one password oh my goodness boy oh boy you can see all my passwords here in front of you that's great there we go all right refresh connect there's a tiny tiny little thing here i said the demo gods would have to be favorable they were not that's okay we're connected okay we're going to create a table right here in front of you all right so i'm going to create a token i'm going to call it my token it's going to be an erc721 metadata table and i'm going to create that i'm just going to keep this tiny little thing to sign again confirm that okay so while that's going on what's happening is basically we're minting an erc 721 token on the rinkeby network and this table is going to be populated and it's going to be owned with access control rules tied to my particular address so what this means is i'll be able to mutate that table i'll be able to add rows i'll be able to do all sorts of mutating things and then anyone else will be able to query that table so it works really nicely for nfts okay so i've created a token and it's a table and it's going to be called my token 125. so i'll replace the name that i have over here and i'm going to insert some data into this table all right so i'll just paste that in so what i'm inserting into here is i'm updating the name the id of the token and all sorts of things is the first token it's going to be called little bobby tables it's got an ipfs hash right here and the description for this table is hello from little bobby so i'm going to do that and lo and behold we inserted a row and now i can select from that and get back some results as json and if we look at the rows here we've got a table with little bobby table here and an ipfs hash now that's yeah it worked right thank you this guy i'd you know i'll give you a coffee later um so that worked pretty well and now um i want to showcase why that's kind of a useful thing to do so if we go to the gateway and we rendered render table 1 25 i think i said it was and i accessed the um the particular row id for that token when i hit enter here it says row not found because i did 3 not 0 there so we get back erc 721 compliant json and so i didn't update the attributes but it's got hello world from little bobby we've got the image here and uh the name and all that fun stuff for the token the other cool thing about that is that the table itself is also an erc721 compliant table so if i render the table itself over the gateway i also get back erc 721 compliant data and i can make that bigger so you can actually see it right there so what we have is basically a table which itself is a token that can be traded and exchanged and minted and burned that contains metadata for tokens themselves so you can launch an entire nft platform or an entire nft drop using tables and then actually buy and sell those tables and then to make that table immutable we can just burn the table so we basically just transfer it to a null address and now it can no longer be mutated so we went from mutable nft metadata to immutable nft metadata and you can store all of the sorts of things that you normally would imagine that you would in um in your uh in your metadata so i said so that's pretty cool fun stuff i said that you should check out the docs and i'd really like you to go and do that later but i'm also going to just put them in front of you so that you'll have to look at them so if you're all interested in hacking and building uh dynamic nft stuff with tableland i highly recommend you check it out it's pretty easy to get started and we've really tried to hyper optimize the docs for the hackathon so if you're at all interested in uh hacking and playing around come check it out it's very easy to get early access just jump into our discord and that way we trick you into coming and joining our community before you can even start doing stuff so got you there but it's easy to do and there's lots of ways to jump into the docs and play around and tinker a little bit and break things before you really fully commit so you as long as you have something like metamask or a browser um thing available you should be able to play around with it and interact and so uh for the folks that are hacking i did want to highlight a couple things in the docs today um and then i'm going to leave a little bit of time at the end for a q a if anyone's interested but we do have a bunch of pretty cool tabs here so we have a bunch of information about grants and in particular bounties that we have available for the hackathon so if you jump in there and follow the links through we've got a bunch of grants and funding that are available through tableland so for the hackers out there this is a great opportunity there's some really cool ones including a partnership with lit protocol that one i really really really want to see some groups doing that so if you're at all interested in lit protocol and tableland come see me afterwards and we can chat about some ideas um we've also got a bunch of ideas for you if you're if you've come here and you're like i really want to build something but what should i build i know i'll ask carson and carson will tell me to go to this website which has a bunch of table and use cases that you could hack around on and if i saw some of these use cases come up they would be high on my list to get some bounties so check them out and play around we also have a couple of pretty cool examples so we have some demos that our team has actually built um one is built on top of the loot nft um uh project that would be really cool i think it's a lot of fun tableland is kind of like fine-tuned for this type of building uh metadata sort of building metadata and new experiences on top of existing nfts as well so check that out there's some demos there and then there's the classic to do app which you obviously have to have but then we also have a couple of playbooks and these are ways that you can do sort of like common things that you might want to build um using something like tableland so here's the nft metadata example that i kind of just went through with you now hey you just want to do a key value store well tables turns out to be pretty good for that too so there's lots of ways that you can do that and we'll be flushing these out more as we interact with folks here this week so dig in there jump into the quick start play around with the javascript sdk uh heck hit the json rpc apis directly we've got demos and examples that are all copy pastable easy stuff well it's complicated but you know we try to make it easy and then there's a cli tool too if you're if you're of that irk so uh play around have have fun and uh and check it out and um yeah i'm not gonna bother jumping back to the slides because the last one was just thank you all for coming very much come and see me afterwards if you want to talk about tableland and your hacks and yeah after any questions oh and a reminder that if this wasn't awesome enough for you we have another talk andrew's giving tomorrow that goes into a bit more details about like what is tableland and some of the motivations and and things about it rather than just the go build stuff talk so that's tomorrow same room um andrew tableland come see us then too thanks very much

Automatic transcript — names and jargon may be misspelled.