{"id":"WXJaIHMaGpg","title":"Blockheads Ep 1: My first blockchain app - 2020 vote edition","description":"Do you want to know what it looks like for an average frontend developer to go from not knowing a thing about blockchain to making his very first functional blockchain application? \n\nVoting season is upon us, so what better app to make than a voting app that runs on blockchain! \n\nWatch as I demonstrate how, with some work, and some stubbornness anyone can break into the world of decentralized applications! \n\nResources:\n\nVideos:\n\nHigh Level understanding of Blockchain and smart contracts -   • How does a blockchain work - Simply Explained  \nBlockchain JS Example -    • Creating a blockchain with Javascript (Blo...  \nTypeScript Crash Course by Traversey Media  -    • TypeScript Crash Course  \n\nNEAR Documentation used for this application\n\nNEAR Orientation - https://docs.near.org/docs/roles/deve...\nSmart Contract Introduction - https://docs.near.org/docs/roles/deve...\nAssemblyScript Overview - https://docs.near.org/docs/roles/deve...\nCreate-Near-App GitHub Documentation  - https://github.com/near/create-near-app\nIssue A Token Tutorial - https://docs.near.org/docs/tutorials/...\nContract Structure -https://docs.near.org/docs/tutorials/...\nUsing Contract JS - https://docs.near.org/docs/developmen...\n\nFree Icons At:\n https://www.iconfinder.com\n\n\nLet me know what I can improve on, what you would like to see next, or any questions you might have in the comments below! \n\nThank you for watching!","channel_name":"NEAR Protocol","published_at":"2020-09-03T00:00:00.000Z","thumbnail_url":"https://img.youtube.com/vi/WXJaIHMaGpg/hqdefault.jpg","transcript_text":"blockchain i've heard that we're throwing so much within recent years i think it's time for me to go on a journey and figure out how to make my very first blockchain app i will be your guinea pig and show you just what that journey looks like my name is dorian crutcher and this is episode one of blockheads to get us started i want to create an idea that i think is very um it's very accessible so what i have here is just a simple voting app these two candidates are up for some sort of vote some sort of position um so you know the layout's very simple you have the picture of the candidate um each candidate has like a voting button and then maybe like a place where you can have like you know like some like short description of like of like what they what they stand for like waffles or something um because little leslie loves waffles i live in the dream i don't know did i also just walk past a food truck and buy myself a waffle sundae yes we can say like this topic's like um which one is your favorite is it this one so yeah just go on google slides and you know you can just make your own um quick layout so after they hit the voting button what i imagine is that they get spit out right to this page but essentially this like shows like the current like polling numbers so now we have our ui design laid out i think i want to move on to near.org org i'm going to use this as my primary compass that'll guide me through this journey of blockchain let's get started and like let's jump into setting up the wallet um the account is here so let's create a new account i'll just do mine as like just call us up let's do this as blockhead blockheads block is a testnet that's what what does it say okay wait okay so if okay so first challenge is that each shark has validators each chart is now 10 times less secure than the entire chain okay so i guess more shards you have and like the less secure it is or is it less secure because of the validators are just sick here because like you have more shards you know there's like moments like um i don't know if you guys ever experienced this but when i was in college i like uh i just had this like feeling of and someone get like a new like topic or like a new um subject matter and like i swear i swear i'm smart i swear i know i can do this but i read the stuff i'm like what is a quaternion what is like what are these like really big weird like vector analysis words i'm saying and then like i'm like uh god and like you know like you get through this like first read through you get the first like second one and then you just like it's like all clicks like the world gets a little brighter and then you realize oh my god i can do this i am a tiny bit better at the world at least i like to believe so uh hopefully that's where i'm going with this whole process with um making this app but this is yeah it's a lot of fun i want this to be kind of like whatever this is a little bit lighter like an off-white there we go something like that who is screaming at me i misspelled something what did i misspelled misspelled gs get total i am i'mma dig this sorry guys if you saw that if you saw that been mentioned in the comments let me see how you guys caught that so we can log out log in sending we're logged in we can vote we don't see the numbers appears that's good ben always votes for leslie let's see what the consul says leslie vote count ron vote count um they work leslieben3 okay there we go it says i've already voted um so i first hit the button earlier uh it looks like it checked it out last number we saw here was six so my refresher pages should be seven seven and six looks like it works ben successfully voted for leslie it registers that ben voted so i said thank you for voting and yeah no now we have like our two kids we have our two polling numbers and this is an awesome functioning blockchain application great yeah i'm really excited about it so it keeps actually building the application i mean it took longer than like to admit but like it involved me like going back and forth between like their examples and then the documentation online back to my application trying out new little things still realize that there's still gaps in my knowledge like how contract function calls are been made then that magic moment kind of hits um i created my first hello world application contract call like on my own so now i have like these two functional like voting buttons like at play my i can log into different accounts like rather easily and it's all starting to make sense so even though like mostly apostatic you know i mean but like the functionality of the voting buttons work and that's like the biggest thing for my application i'm really proud of that we made it thank you so much for watching and joining me on this journey all the resources for this video can be found in the description if there's anything i can do to prove this video to bring you guys better content in the future let me know in the comments below like and subscribe and stick around for more cool blockchain videos i'll catch you guys later bye","transcript_synced_at":"2026-11-04T04:24:44.599Z","segments":[{"start_seconds":0,"text":"blockchain i've heard that we're throwing so much within recent years i think it's time for me to go on a journey and figure out how to make my very first blockchain app","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=0s"},{"start_seconds":7,"text":"i will be your guinea pig and show you just what that journey looks like my name is dorian crutcher and this is","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=7s"},{"start_seconds":13,"text":"episode one of blockheads to get us started i want to create an","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=13s"},{"start_seconds":22,"text":"idea that i think is very um it's very accessible so what i have here is just a simple voting app these two candidates are up for some","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=22s"},{"start_seconds":31,"text":"sort of vote some sort of position um so you know the layout's very simple you have the picture of the candidate um","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=31s"},{"start_seconds":38,"text":"each candidate has like a voting button and then maybe like a place where you can have like you know like some like short description of like of like what","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=38s"},{"start_seconds":46,"text":"they what they stand for like waffles or something um because little leslie loves waffles i live in the dream","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=46s"},{"start_seconds":53,"text":"i don't know did i also just walk past a food truck and buy myself a waffle sundae yes we can say like this topic's like um","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=53s"},{"start_seconds":62,"text":"which one is your favorite is it this one so yeah just go on google slides and you know you can just make your own","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=62s"},{"start_seconds":70,"text":"um quick layout so after they hit the voting button what i imagine is that they get spit out right to this page but essentially this like shows","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=70s"},{"start_seconds":77,"text":"like the current like polling numbers so now we have our ui design laid out i think i want to move on to near.org","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=77s"},{"start_seconds":86,"text":"org i'm going to use this as my primary compass that'll guide me through this journey of blockchain let's get started and like let's jump","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=86s"},{"start_seconds":93,"text":"into setting up the wallet um the account is here so let's create a new account","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=93s"},{"start_seconds":101,"text":"i'll just do mine as like just call us up let's do this as blockhead blockheads","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=101s"},{"start_seconds":109,"text":"block is a testnet","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=109s"},{"start_seconds":118,"text":"that's what what does it say okay wait okay so if okay so first challenge is that each","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=118s"},{"start_seconds":125,"text":"shark has validators each chart is now 10 times less secure than the entire chain okay so i guess more","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=125s"},{"start_seconds":134,"text":"shards you have and like the less secure it is or is it less secure because of the validators are just","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=134s"},{"start_seconds":141,"text":"sick here because like you have more","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=141s"},{"start_seconds":154,"text":"shards","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=154s"},{"start_seconds":161,"text":"you know there's like moments like um i don't know if you guys ever experienced this but when i was in college i like uh i just had this like feeling","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=161s"},{"start_seconds":168,"text":"of and someone get like a new like topic or like a new um subject matter and like i swear i swear i'm smart i","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=168s"},{"start_seconds":177,"text":"swear i know i can do this but i read the stuff i'm like what is a quaternion what is like what are these like really big weird like vector analysis words i'm saying","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=177s"},{"start_seconds":185,"text":"and then like i'm like uh god and like you know like you get through this like first read through you get the first like","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=185s"},{"start_seconds":192,"text":"second one and then you just like it's like all clicks like the world gets a little brighter and then","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=192s"},{"start_seconds":200,"text":"you realize oh my god i can do this i am a tiny bit better at the world at least i like to believe so","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=200s"},{"start_seconds":208,"text":"uh hopefully that's where i'm going with this whole process with um making this app but this is yeah it's a","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=208s"},{"start_seconds":215,"text":"lot of fun","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=215s"},{"start_seconds":232,"text":"i want this to be kind of like whatever this is a little bit lighter","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=232s"},{"start_seconds":239,"text":"like an off-white there we go","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=239s"},{"start_seconds":248,"text":"something like that","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=248s"},{"start_seconds":280,"text":"who is screaming at me i misspelled something what did i misspelled","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=280s"},{"start_seconds":288,"text":"misspelled gs get total i am i'mma dig this sorry guys","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=288s"},{"start_seconds":296,"text":"if you saw that if you saw that been mentioned in the comments let me see how you guys caught that so we can log out","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=296s"},{"start_seconds":303,"text":"log in sending we're logged in we can vote we don't see the numbers appears that's good","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=303s"},{"start_seconds":310,"text":"ben always votes for leslie let's see what the consul says leslie vote count ron vote count um","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=310s"},{"start_seconds":319,"text":"they work leslieben3 okay there we go it says i've already voted","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=319s"},{"start_seconds":327,"text":"um so i first hit the button earlier uh it looks like it checked it out last number we saw here was six so my refresher pages should be seven","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=327s"},{"start_seconds":335,"text":"seven and six looks like it works ben successfully voted for leslie it registers","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=335s"},{"start_seconds":342,"text":"that ben voted so i said thank you for voting and yeah no now we have like our two kids we have our two polling numbers and this is an","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=342s"},{"start_seconds":350,"text":"awesome functioning blockchain application great yeah i'm really excited about it","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=350s"},{"start_seconds":360,"text":"so it keeps actually building the application i mean it took longer than like to admit but like it involved me like going back and forth between like their examples","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=360s"},{"start_seconds":368,"text":"and then the documentation online back to my application trying out new little things still realize that there's still gaps in my knowledge like how","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=368s"},{"start_seconds":375,"text":"contract function calls are been made then that magic moment kind of hits um i created my first hello world","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=375s"},{"start_seconds":382,"text":"application contract call like on my own so now i have like these two functional like voting buttons","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=382s"},{"start_seconds":389,"text":"like at play my i can log into different accounts like rather easily and it's all starting to make sense so even though like mostly","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=389s"},{"start_seconds":397,"text":"apostatic you know i mean but like the functionality of the voting buttons work and that's like the biggest thing for my application i'm really proud of that","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=397s"},{"start_seconds":406,"text":"we made it thank you so much for watching and joining me on this journey all the resources for this video can be found in the description if there's anything i can do to prove this video to","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=406s"},{"start_seconds":413,"text":"bring you guys better content in the future let me know in the comments below like and subscribe and stick around for more cool blockchain","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=413s"},{"start_seconds":420,"text":"videos i'll catch you guys later bye","url":"https://www.youtube.com/watch?v=WXJaIHMaGpg&t=420s"}],"youtube_url":"https://youtube.com/watch?v=WXJaIHMaGpg","url":"https://near-pedia.xyz/videos/WXJaIHMaGpg"}