Dev & Tell | Narb - Glosseta
Developer DAO · 13 Dec 2021 · 31:22
Narb, a full stack developer and Developer DAO member, opens the first Dev & Tell session and presents Glosseta, an open source glossary that explains web3 terms for newcomers. The talk shows how definitions are stored permanently on Arweave, searched with GraphQL tags and served through a Next.js site, and why the content is reviewed before upload. Narb explains how people can request new terms through GitHub, outlines a roadmap toward a broader decentralized, localized education platform, and answers audience questions about funding and Gitcoin grants.
Topics
From Developer DAO; community: Developer DAO.
Transcript
all right uh welcome uh one and all to the first ever uh devintel yay uh so my name is narb uh well real name is narbe um i go by narb for short i'm a software developer of six years a full stack working in travel out of vancouver british columbia and i joined this dow i think in early october and have been uh on this a wonderful journey with all of you awesome folks and just to give a brief overview of what uh devon talk uh or sorry uh devontel is is
kind of this idea i threw out there in the developer guild to allow everybody in the uh the dow an opportunity to kind of present any cool thing they're they're working on or maybe a particular subject area they're passionate about so so today i'll be going over for example my my project glossetta but if you if you're so interested in in and presenting in a devontel you could go the route of perhaps demonstrating what a good unit test looks like versus a bad one uh maybe how to structure a class uh maybe like a brief uh introductory overview of like solidity uh basically the
the world is your oyster so to speak so uh without the way uh i guess we can get into the nitty gritty of things so again welcome one and all uh and to the the people trickling in uh so today what i'll be presenting to you is basically my little pet project named uh glossetta uh so i just switched the screen can somebody confirm whether or not they can see my chrome are you trolling or can you see oh oh no no yes yes you indeed can't see because i have not grant i have not enabled uh screen shank so
let me just get that going here uh okay unfortunately it looks like i will have to quit and open this uh unless that is a shame okay a brief intermission i will be back in one in one minute hopefully oh oh did it work can you see can you
see the discord yes yeah oh yeah no restart required oh yeah now can you see chrome giddy up all right sweet okay back to our uh originally scheduled uh content here so as i'm saying glassetta yes so this is a little pet project i've been working on the last month and a half and it's in its current form factor it is a web 3 glossary of common terms lingos uh potentially people applications and whatnot you may see floating around on the internet hoping to demystify kind of the the concepts around web3 for for new
and existing folks coming into the space so the inspiration behind me kind of working on this was basically my own adventure into web3 where basically all my sources of information were basically twitter uh reddit uh various articles i'd find online and a lot of the time i didn't really know what people were talking about in the in in that content just because they were throwing out acronyms and when i'm like oh what the heck what the heck does this mean so for example uh as i joined the dow i saw a whole stream of gm's fled into my my twitter feed and i couldn't for the left me figure out
what gm meant and and i literally thought people were like raving about general motors for some odd reason or another but then i kind of searched around and i believe somebody on a town hall or something mentioned that it was good morning i'm like oh well then i wouldn't have known unless somebody had told me so that's kind of the the i mean gm is pretty pretty a pretty simple acronym but they're far more uh more complicated terms and whatnot are out there so the aim here is kind of to help people uh on board into the space with a a basically a ambitious educational platform so
the kind of the mission statement for glossary is to provide the the best open localized decentralized education platform for anybody of any skill level looking to learn about web3 and when i say decentralized uh plaza isn't fully decentralized its content that is served is served in a decentralized fashion though it is still served in a regular web 2 fashion offer next next js so i can go briefly demo glossary so it's pretty simple right there's like not much to it at the moment so if you want to search for a particular term uh let's say
if you want to search for uh dell for example right so you search for dell and you indeed get dao as a definition and what's what i think really sets gloucester apart from any other glossary out there is the fact as i mentioned before the content is served in a decentralized manner and how that is is all of the definitions you see and all the content that is going to be uploaded in the future are stored on the our weave storage protocol and if you didn't know what the rwa storage protocol is basically it is a humongous huge shared hard drive where data is stored in a permanent fashion um so
basically once you upload something it's there forever and is uh unable to be taken down or or be at the the whim of the oh oh two uh common 404s that you get from common api so in in short r weave is basically my database and my api for my content so if you see here in the bottom i have a little blurb on every particular definition that kind of tells you more or less that and i have a link here that actually shows the actual transaction that is for a particular given definition so you see here uh this is the actual
transaction for the term dao being uploaded onto rweav and how typically if you want to access uh data on reef um the convention is to hit uh rweave.net and then slash your uh transaction hash and then uh rv.net gets resolved into this fancy schmancy stuff um but basically i have all my definitions stored as json so you so the the there's the term the description the locale and some extra metadata around around that now the
so kind of uh going into some design decisions um what the terms how the uploads look like are indeed the entire json that you just saw but there's also this concept of tags so tags are basically metadata you can attach to the contents you upload so i have this graphql that took away my query so that sucks okay but anyways the intent is to basically allow you to attach extra metadata for your content so you don't you're not only restricted to json you can upload like any multimedia you can upload a
markdown of any file basically the anything you can conceive of and as a design decision i decided to attach the uh all the elements of the json as on to as as tags and why i did that was because the graphql api only allows you to fetch the transaction ids so uh if i were to search on my account for this given transaction all i'd get back is the the tags and the the the transaction that i was actually looking for and that's not really helpful for me because then i'd had to take that
transaction and do a network call to uh to actually get the content so that's two network calls that i chose not to do and instead uh i kind of quote unquote hacked the system or uh uh or used the system to add my advantage to store the definitions as onto the metadata as well regularly this would not be a recommended approach just because metadata is metadata and shouldn't really be used uh to store your main content but this is kind of the the workaround until uh the graphql api can can support um returning data so that's that uh and then of course
there's a new fancy schmancy glossary page oh yeah that has all the all the terms listed this was a popular feature uh some people asked me uh asked me to to uh get on here so i listened to the people got that on uh and that's basically the gist of what glossary is at the moment but uh in terms of the future i kind of see this playing out more of a educational platform just going beyond what a beyond a glossary and even potentially going fully decentralized with regards to hosting though that's uh more more more so far along down the
line but the intent is to basically offer open uh hopefully forever free and decentralized education for basically anybody of any skill level looking to onboard into web 3 or even or even like web 2 for example through different types of educational resources so one idea that was thrown out there uh was potentially having like wikipedia style articles here or even an idea i came up with maybe was having like a quiz or something like that or around a protocol or whatever but the the potential here is is vast in
my opinion and it's uh there's there's still a long way to go to realize that but um i think it's there's a decent foundation here to be able to uh move forward uh so uh yeah so this is the the repository though maybe this is a good time to pause for questions before i carry on are there any going once going twice yeah yeah
yes yes that's a fantastic question yes so at the moment the only way to officially get a um well not technically the only way but the only the the main way to get definitions into the queue are um through uh issues created here in in the project uh for uh non um for for people that are not comfortable using github the other means of notifying the community of adding a new term is through twitter uh through various links i have uh across the uh the board so for example if we want like a developer
for example um that's currently not in the list but is in the queue to be added so you'd be presented with a twitter through link and a issues link to be able to open up a request however i recently today thought of uh something to kind of make it easier for people and not have to go through that route of possibly having a a form submission on the page that doesn't necessarily allow for people to create uh definitions on their own to like officially upload however uh there could be an opportunity for example to allow a person to fill in the necessary
fields and then have that somehow automatically create a intake definition intake on github i don't know how that will work but that's just an idea that came in my head today yeah yeah i haven't seen that um i want to do a bit of gatekeeping uh in regards to what gets uploaded just because it's permanent right so what we upload um and it cost a
ar token to do so yes uh in in one one hand uh it'll be great for the community to be able to just upload it themselves but i think at least in the immediate term um it's probably better to allow them to request something and have it funneled um here just so there can be a review process around oh what's the term is it an appropriate term is a definition aligned with what the actual term is so for example somebody requests a a protocol definition for example but doesn't really get the details of it
right we don't want to we don't want to have that uploaded and then the the people of the protocol people around the protocol getting angry or or feeling they're misrepresented or whatnot so i think there's um there's like a fine line between it in my opinion yeah thanks for the question that's awesome uh seeing as we're short on time i just want to touch on one more thing here before i open it up for the rest of the question so uh in the github wiki there is a project roadmap that uh it's rough but i think aligns with how i kind of
see things working out for the at least now till the end of next year so what i call phase zero is today to the end of the year um it was basically like setting up foundation um around um just like getting the glossary out there that's that's complete looking to get a more steady following on social media if you're not following uh highly glossary.com it you'll get a cool term every day up your learning game uh and then um just building up the knowledge base basically uh with more terms um and then phase one is basically the first three quarters of next year is pretty much continue with the same and look for more growth opportunities
with regards to like open source funding and whatnot so i recently uploaded glossita onto the uh git coin grants program both the central the quote-unquote centralized and decentralized versions so to be honest i don't know i really didn't know what i was doing i did something in hopes of kind of failing and learning at the same time so we'll see where that goes to but the funds through through those grants will basically ensure that the the project kind of continues to grow there's funding to upload new terms uh there's uh potential funds for for advertising getting more uh word of mouth spread on it uh and basically just uh looking to keep the lights on more or
less at least at this moment of time um so coming back uh and phase one as well to look to different ideas to expand the functionality so like i mentioned some ideas were uh potentially adding um like a wikipedia style page for more complex web through topics like protocols as was suggested as an idea um maybe profile pages for dells i know that exists on some other platforms but why not have it here too uh maybe a ens lookup page oh you see now you have now we'll get like multi-chain multi-chain uh decentralized taps going here right uh and maybe even like a quiz quiz page for web3 for some daily trivia uh and we can also look to
some potential incentive points and maybe a tokenized system i don't know just a way to incentivize people and to increase stickiness on the site um and as well as looking for translators to be able to translate this content so um right now all the content is in english but um my north star vision for it is for to be fully localized in uh all different kinds of languages out there unfortunately my language skills at least in writing form only go as far as english but all you awesome people out there have more
lingual skills than i do so if you're looking for a way to contribute and i'll actually get into how how you can contribute in a second uh that's one way to to go about it and phase two is uh maybe looking into turning guesting into adele i don't know it's just throwing an idea out there everything is becoming a doubt why not this right but that's kind of way out and all of this is subject to change now uh just really quickly how to contribute uh so i do have a contributing doc uh yeah uh contributing uh contributing um but uh i wanna kind of throw it out there you can have a read of this yourselves but just quickly i wanna throw out there that uh yes one way to contribute is coding another way to contribute is
uh requesting definitions if you want but uh there's actual value here if you don't want to um code code on glossada per se where if there's a given protocol for example or an application or something you're very curious about there's actually opportunities here for you to request that term and kind of do your own research around that and provide a summarized uh description of what that thing is so you'll notice in the issues tab there are labels here saying research needed so when you see that that means that basically this term
all the the meat of the content is basically empty all we have is the the broad term but there's no actual definition for it so there needs to be some deep diving that goes into it so um i know learning and and learning groups and all that were a big topic the developer guild so if you're really into learning uh you don't have to do it on your own you can form groups and whatnot and do group learn sessions and uh and it and um learn about basically whatever you want to learn about and uh you you can prove you know what you're talking about if you can provide a a two to three sentence summary of the thing you've learned in in in
a semi-technical term a semi-technical fashion where basically you're aiming to be able to describe basically what you've learned to almost anybody and to be able for them to at least understand and pique their interest to to go and learn themselves and i realize i've been talking for like 20 minutes and i will give the floor open i'll have the floor open for questions i'm sure there are many maybe yeah
great question so the r weave uh reef has a javascript-based library that i'm using to upload the data to so i have a side project excuse me called the rweave json uploader it's on the glossado wiki or sorry glossary readme so you can link up to that but basically how it works if you can see my visual studios is basically you do it through a api call where you basically you you you specify the data that you want along with the metadata and in the tag form uh you give your key and you basically
let you sign the transaction and it goes and it uploads it in bulk mark so you can upload it in one shot or with regards to like if you want to upload just one term or you can upload it in bulk so how i'm doing it for glossetta is basically filling up a csv going through that csv collecting it making individual requests and sending them off so there's no no hard hat configuration no no contracts or whatever it's all driven through js code which is really nice and what's cool they also support a
a test weave so to speak so a local local running instance of our weave so you can test upload your content before actually committing to to writing um that that data onto the actual chain and the rev json uploader is configured to run both against the test weave and the actual rwave protocols so give it a check out you can look through the code to get an idea of how how things are actually getting uploaded and feel free to fork the code or copy the code or whatever use it as as you see fit hopefully that answers your question yeah for sure i realize we're at time uh though we
start five minutes later uh does anybody have any any questions or any further questions i should say yes so there's no uh no um definitive way of monetizing glossary at the moment but my vision is uh eventually to be able to host uh uh basically lessons uh in various different locales uh around the various topics like like
protocols and how to get started with like solidity or whatnot um and create some sort of incentive and reward system around that so that's how i see future monetization uh prospects coming in there's also i also had an idea out there of creating a graphql api that you could potentially uh have as a required api key for and i was kind of thinking about maybe having nfts as as api keys um that that could be another avenue of revenue but at the moment i'm not really looking to it's not at a point where i can look
to really make money out of it and the only kind of uh quote-unquote bank that will go to supporting the project is is open source funding at least that that's that's kind of where i'm at in my mind but the if the community has any other ideas i'll be more than happy to consider those correct yeah no no uh basically any any any any small amount kind of goes a long way right uh so the the transactions themselves um as i mentioned to upload to our weave are cost ar token but the amount that it
actually cost is like in the micro pennies so like for all the terms that i've uploaded so far i don't think it's even cost like one full penny maybe one penny at most let's say um so any donations uh collected through the grant funds will go towards um ensuring that there's enough ar token to be able to support all the terms that i i know will be uh flooding in uh as time goes on but uh there's already been some very uh um awesome folks that have uh supplied me with uh and the pro the project rather with uh die token
and uh some usdc as well um so uh like thirty thirty dollars of die uh that's that's thousands of potential new terms that can be uploaded and and and help keep the lights on as well hopefully answers here good question or she has more life all right we have maybe one more minute left here is there any other questions anybody had hopefully
hopefully it's made sense and you kind of understand where what the project is and where i kind of see it going and it would be really awesome if you're interested in this kind of thing if you're looking to be a contributor in any type of form coding or definitions wise more than welcome to join i've got a whole discussion board set up yay so feel free to chime in here but yes final final take any any other questions uh yes yeah awesome question yes so how
i'm querying is i'm actually calling the graph or the graphql api from reef and i'm fetching it from from there remember i mentioned before that the terms themselves are all the metadata is stored on the term as well as the actual uh description so i made that trade-off to do it that way so i don't have to make two api calls one to graphql to grab the transaction another to go and actually get the json content so uh i bypass one api call and get everything with one hopefully that makes sense
sweet yeah uh yeah so i'm actually uh it's unfortunate the query is actually maybe i can just show you the query in the code yes [Music] this one yes this one so this is the actual query here so basically i take in a a tag and a locale so the tag in this instance becomes the term uh the locale is the locale right and then i have this oops and i have this extra metadata tag called source which is basically just a a tag that i stick on every term to know
that this term actually came from from me uh or the the glossary uploads rather and then basically i'm doing the query by the tag and that's kind of how they recommend you do it as well either do it by the tag or you do it by the publicly of the wallet you use to upload the term all right if there's no further questions i will stop here uh just to respect everybody's time
uh and yeah if you have any other questions please do uh feel free to hit me up either on discord or twitter or whatnot i'll be happy to answer any questions and uh really looking forward to any and all collaborators coming to work on on glassetta or just like if you want to learn learn together hell yeah why not right so uh yes thank you for sharing your afternoons mornings evenings with me and i hope this inspires the one of you to take on the uh presenter role for uh devontel next week uh there is no formal process to
um kind of sign up for that so you can just if you want raise your hand uh call dibs and with that i will start
Related talks
- Interligando armazenamento descentralizado, IPFS e NFTs | Bootcamp #EthereumRio | Jeff Prestes
- Web3: Next Generation Internet, with Bruno Skvorc, Carolina Velásquez, Alex Siman, Alfonso Rocha
- Dev & Tell | javi — nfts-as-gifts
- DevNTell | 0xcorgis - Duolingo of web3
- Onboarding the Next Generation of Ethereum Builders with BuidlGuidl
- AI Powered Proof of Learning with Lore Network
- DevNTell - SurfDB
- DevNTell - Storedat.io
- Web3 Journey: Hierarchical vs. Exploration Learning, Core DeFi Skills - BG's Builder Bootcamp
