cineberisso.com.ar

framework ventures chainlinkBuilding Full-Stack Web3 Apps


Cardano ADA Nears $0.4, Bitcoin BTC Maintains $28K Cardano and Filecoin are the two best performers from the top 50 alts today. Bitcoin briefly dipped below $28,000 yesterday but has bounced Cardano Foundation: JobsLinkedIn Jobs Jobs at Cardano Foundation Self Sovereign Identity Expert Cardano Foundation European Union 2 days ago Quality Assurance Engineer Cardano Foundation European Union 2 days ago framework ventures chainlink Building Full-Stack Web3 Apps
framework ventures chainlink Introduction to FoundryQuickNodeThe Blockchain ,Foundry is a... Building Full-Stack Web3 Apps
hello everybody and welcome to the next section of the chain link hackathon we are incredibly excited for you to be here earlier today we did foundry testing we did truffle testing and now were learning about building full stack dapps fast we have ivan himself from the morales team uh here to talk to us about working with morales and building these full stack dapps ivan how you doing well good patrick good to be here excited to explain full stack dab development and also take qna at the end excellent well with that ill jump off you can take it away perfect guys perfect thanks a lot patrick so as you can see on the screen today were going to discuss full stack dab building and of course want to build dabs quickly because if you are in this hackathon you have to move fast you have a time ticking against you you are in a way you can say youre working against the clock also we will ensure that all the tools all the libraries all the different utilities that were showing you here in this video theyre easy to use theyre easy to get started with because if you are in this hackathon look you dont have time to spend like three months learning something you need fast you need easy and you need tools that are scalable because in case in case imagine your that becomes big you dont want to start from scratch you want to keep building you want to keep building on the tech youve used in order to start and take it further take it to mainstream take it global and look it can happen it can absolutely happen you can never underestimate the possibilities in crypto so even if you are in this hackathon big things may happen way faster than you imagine so first first and foremost who am i my name is ivan im the ceo of morales and we are focusing a lot a lot on full stack on full stack web 3 development and of course a good question is what is full stack what is full stack web3 development and there are many answers to that because this space is developing this whole tech tech stack itself is developing a lot and its changing a lot we have new chains we have new different tools we have new different uh levels of abstraction and were still figuring all of this out but if youre looking on the big picture what is full stack what is full stack in web3 its a way where you can speak to smart contracts and then you can connect your smart contracts to your backend because you are going to need a backend for many use cases for example when you look at the openc dap openc use case they store all the orders in their back-end so you dont have to pay gas fee when you are actually for example minting your nft or when youre putting in an order there are a lot of use cases where you need back-end interaction with smart contracts and then of course you need front-end interaction when something happens on chain you want to show something in your front-end when somebody does a trade you want to maybe alert something in your front-end or send an email or some notification you want to update the ui so on the big picture level when were speaking about building full stack web 3d apps were speaking about tools and workflows that allow you to easily speak to contracts to your backend and your front end and have this very smooth interaction between the three components of adapt which are of course smart constructs back and front so thats the goal and if you really think about the features that you need in order to build that app no matter which use case you have no matter which idea you have im sure you have a lot of ideas for this hackathon but no matter which idea exactly you have in mind you will probably all need to do the following things most likely you will have to log in the user and in web 3 just logging in the user its a lot of work because you you may be thinking that its just a simple ethers js line of code and thats it but when you use ethers.js or web3.js you dont have a web session you dont have a connection with your backend its not like you have an authenticated users and you have a session established with a user profile in your back end so you have to figure that out then you have to figure out how to fetch the assets of the of the user maybe you need nfcs maybe you need their tokens maybe you need their transaction history you have to figure that out then no matter which which dap youre building most likely you will have to watch real-time events so for example when something happens on chain you have to do something something happens on chain you have to send an email something happens on shane you have to update the ui something happens on chain you need to send a push notification its very very common and no matter the use case you probably will have to do it you will probably have to figure out how to send assets maybe send nfts or initiate transfers and you will have to interact with smart contracts you cannot really see it here at the bottom but it says interact with contracts so most likely you will need to do all of these things or at least some of them and in this video we will explain to you how to do it now the mistake that you may be making is if youre starting a new project is that you you would like to implement all of this yourself and the way you could implement all of this yourself is by spinning up an rpc node syncing the node or you can use a node provider and do that then you quickly realize that by speaking to an rpc node lets say you you have an rpc node connection great you quickly realize you cannot do anything with it with the node the node itself is very primitive low level technology the node cannot even tell you what nfts your user has if i have an address i cannot ask the node about the nfts that the address has because the node its a very very good piece of tech for consensus for making the blockchain work its a very bad tool if youre a developer its a horrible tool because if you use a node directly you have to build the whole back end around it so for example you have to figure out how to log in a user what we just mentioned a few minutes ago user lifecycle you need to figure out how to verify user signature so they can actually get authenticated with your backend in a in a web session way that you establish a web session then you need to sync smart contracts you have to index smart contracts in case you are having a specific use case where you need to index your own smart contract you need to use the graph you have to run the graph you need to connect the rpc node to the graph you have to figure out how to do sockets in order to serve any data to your front and you need to build an api you have to have a database i mean all of this is like a full-time back-end job and you are in this hackathon and in order for you to build all of this if youre building your project around an rpc node youre gonna end up with rpc hell so this is what how we call it rpc hell where you basically now have a ginormous edge a gigantirel how do you say gigantural backend infrastructure that you now have to build maintain you have to update it and in many cases you will have many issues because you see all of these different technologies we use whether it is the nodes whether it is the graph whether it is a lot of other crypto technologies theyre all early stage which means that there are still many bugs in them and theyre all great technologies by the way but you just have to understand that in order to use them and in order to use them well its a full back-end team its a full back-end operations team to keep keep it running all right and it will probably be better with time but if you are building in this fashion you need the back-end team new operations team its very expensive for you to add new chains because things that you may build for ethereum may not be scalable for binance chain because binachian as you know has 2 000 transactions per second its a whole different level of throughput now suddenly you just want to build that up you know you want to build some nfc use case you want to build some game and suddenly you find yourself being a big data engineer suddenly youre sitting there with kubernetes clusters suddenly youre sitting there with load balancing now you have to figure out all of this thing this is not what you signed up for as a website developer you sign up for to build webster use cases not to build the career in big data and massive scalable infrastructure field all right so what do you do you dont do this and of course what if there was a solution what if there was a solution so you dont have to do this what if there was an easy way to build full stack without building all of this without being in rpc hell what if there was a full stack platform basically all right you know where im leading what if there was something that is so nice is full stack it allows you to talk with smart contracts login users front and back and bam bam bam with easy sdks as well what if there was something like this well believe it or not this is what were here to talk about were here to talk about morales.io you should go right now to your browser and enter morales.io because morales is all about creating a very nice user experience in terms of dev experience so dev experience dev user experience where you can build all of this cross chain things all of these full stack things without having a full backend operation and without having this whole whole monster you now have to maintain on the back end and really in order to understand the full stack workflow we have to divide it into four different parts so number one is morales identity which i will soon show you which takes care of this logging in of users which take it takes care of session management which takes care of fetching assets about the users and so on so forth next you have morales real time which takes care of whenever something happens on chain you can act on it whether it is that user smooth assets whether it is the smart contracts and meet events something else happens we give you very nice sdk very nice tools to do this and as i mentioned we have a bunch of different sdks for different platforms whether it is that you build a website a unity game but maybe you just want to use this in your own back end integrated with your own back end and use it as a back-end technology we can we can assist you with that and i will show you how to do it and of course then we also have morales apis which i will show you as well for fashion nft metadata nfc transfers accounts tokens balances portfolios all of that good stuff so we start with what we start with a reminder okay we start with a reminder that this is all cross chain and cross platform and we start with morales identity where you can find and you can find a lot of of this info at docs.morales. so with morales identity the whole problem that we saw that we wanted to solve is that you may have a user and the user may have different wallets they have wallet connect another user comes they have another wallet a third user comes they have a third wallet and how do you ensure that you can log in them not only across wallets but across different blockchains easily and establish a web session so this is what mariahs identity is all about where you can write moralities that authenticate and instantly no matter which wallet no matter which chain the user gets a pop-up where they connect the wallet and you in your morales dashboard you have now a user record you have a user record and you have an established web session with this backend with morales so that when you want to save something about that user lets say that the user logs in and you want to add a nickname or a user logs in and they start filling out some details about themselves maybe they start filling out some profile information well you can instantly save it to the morales database and connect it to the user if the user comes with many different addresses on many different chains lets say that they have some nfts on binance chain and then they have another wallet on solana and they have a third wallet on polygon morales allows you to connect all of these different wallets all of these different addresses into one single user profile in the morales database this is very very powerful and of course the most important thing is ease of use for developers this identity management solution is very easy to use because in your website you just write morales.authenticate and thats it and here are a few examples so morales authenticate will bring up metamask if you want to bring up wallet connect you write morales authenticate and then you specify the provider wallet connect if you want to log in on solana platform you cannot really see it now behind mine lets see if i stop the camera it doesnt work anyway behind my picture here you can see morales.authenticate and then you specify solana if you want to log in with magiclink which is basically a service that allows you to log in with google with twitter with discord and it will generate a user address a web3 address you can also use morales authenticate and just insert the provider we also support web3 auth and we can add more and more auth providers but all in all no matter what kind of chain no no matter what kind of wallet no matter what kind of auth service it is very very easy to uh to log in and thats the whole idea so now that you have logged in you have the user in the morales dashboard you have a web session established so you can actually save things on behalf of that user and you can have a secured connection between front and the back end next step is to fetch assets about that user because why do you log in a user you log in the user maybe to show their information and you want to do it in a way that is easy where you yourself dont have to build a lot of back end so where you yourself can just use a simple front-end sdk and here is how it looks like lets say i want to get all my all the nfcs of my authenticated user well i just write morales webster api dot account dot get nfcs you get an fts you want to get the balances you write uh morales webster api get balances you get bounces you want to get transfers you get transfers and as you can see you can do it in javascript you can do it in react you can do it just having a curl request if you are using your own backend you can use it in unity game engine so in case you want to connect it to your game engine you can easily do that so this is about fetching assets logging users and fetching assets you want to fetch assets on solana very easy it is just morales.lan api get nfcs and get spl if you want tokens so as you can see you learn one tool you learn one sdk you learn one single technology which is moralist you become instantly a cross-chain developer because this really allows you to log in and fetch user and find information about users no matter which wallet no matter which chain without knowing any back-end thats the thing you dont need the back-end back-end infrastructure team in order to do this so think about it you just wrote five lines of code a few lines of code here to get the balances in solana a few lines of code here to get the balances on ethereum and you can do it on any other chain as well and the one line of code here to log in the user so you wrote a few lines of code and you basically have something that could resemble a wallet at least a dashboard where users can see all their assets i mean this is what for example zapify does this is what zirian does and this is what you also can do now if you just learn a simple sdk and thats it so this is how easy it is and this is how easy it should be because at the end of the day why is it so difficult to do this otherwise were not asking for a lot were just asking for login and fetching all information and thats really why why we started morales and this is our passion here to make this web stream more accessible because it shouldnt be more difficult than this and if you come from traditional programming you do understand that web 3 really has a long way to go on ease of use when it comes to development and and were hoping to provide that and solve that so if you remember our checklist from the beginning what you probably will need if you are in this hackathon we said that you to login users so we showed you that already a whole user management system cross chain cross wallet all of that and i also showed you how to fetch assets also cross chain cross wallet are very very easy so next we have to figure out how to watch real-time events send assets interact with contracts and then ill show you a few more things so when it comes to fetching uh fetching real-time alerts and real-time events we have something we call morales real time which is a real-time indexing system which you can easily use if you use morales where we monitor everything for you as soon as the user is logged in you have the database with the users here and as you can see you also have some entries here like for example if transactions right here or if you if the user is active on many different chains youre going to have binance chain transactions youre going to have polygon transactions so this kind of database updates in real time when users do new transfers so you log in the user and instantly when they start doing transactions you see it here in the morales dashboard so thats very very easy and you can also specify that you want to watch specific smart contract events so you can watch users you can watch smart contract events this can be for example in case you want to watch when something happens in an nfc marketplace or when a token is transferred or when something else fires basically any you know in smart contracts you have you have a emit that smart contracts can emit events so you can listen to any one of these emit events in any smart construct you can also do filtering so that for example you can specify hey only give me events where the variable this is above some kind of threshold or variable that is below some threshold so for example index trades it can be only give me trades where its above 100 if and below a thousand if for example or you can say i want all transfers of this user only with the board apes its very very easy for you to do so this is morales real time and this is how you would you would do it you would do some setup where you enter the api in the morales dashboard and then in your sdk you just write what you want to listen to and you subscribe to it like this and youre gonna get socket youre gonna get real-time socket alerts into your front end very very easily so i would truly recommend you to go to docs.morales.com and try it as soon as possible so some examples what you can do is that you can watch when users transfer tokens when they do dex trades when they do when smart contracts emit events any on-chain activity whether its users or smart contracts and so on so forth um it really the sky is the limit here and you have to explore it for yourself and you have to see this for yourself so now that we explain how to watch real-time events we have to speak about how to send assets and its very easy to do with morales because we provide sdks across different platforms so whether it is web unity backend want to simplify not only logging in users watching their transfers getting their assets but also that you can easily start initiating transfers so we have morales.transfer where you can easily transfer tokens eth you can transfer nfts you can do whatever you want but the whole thing here is cross chain so when you want to add another chain to your dap it is still moralis the transfer so the way it works is that it is a very very light wrapper on top of ethers and the the reason it is like that is because its very easy to then add other blockchains without changing how the whole thing works because if you just use either ethers its only for evm then you go to solana then its completely new its completely from scratch and you have to learn completely from zero with morales you dont with morales you still use morales.transfer so thats the power of transferring assets and interacting with smart contracts is almost as easy you specify the address the name and you write morales.execute function and so this will be also a very thin wrapper around ethers but its also cross chain because soon were going to add morales execute function and it works with solana it works with other kind of blockchains so this is the most important thing about morale is that it is ensuring that you dont have to worry about the specifics of different blockchains just like when you build a website today you dont care whether it is intel whether it is amd whether it is some kind of arm chip that is being the cpu of that machine you dont care about that instead you care about the use cases and the complexity and the specifics of the hardware you dont care about because if you would care about oh which kind of cpu my user has when you want to build the website you would never finish your website all right you we would never have the efficiency and the results we have today in terms of what we can do with the internet if we didnt have these abstractions removing all unnecessary complexity and if you think about old apps no matter the blockchain whether it is evm ethereum solana elrond polkadot whatever they all need this they all need this so why should it be different why do you need to learn different interfaces when you just need the same thing no matter on the different um no matter the different chains so thats why its so important cross chain and cross platform so we do have official as the case for react we have official sdk for unity for vanilla and then we do have uh we do have community as the case for angular which you can find and i think we have something for view if not we will have soon we have some demos for view but we will have more and more soon and of course we support many different blockchains about everything we said but hey let me take a sip of coffee there is more you know but wait there is more there is more uh what is more lets say you want fiat in your app okay how do you do it lets say you want to allow your users to buy fiat in your dap easily with morales you write one line of call you write morales.plugins.fia.by instantly instantly instantly you have a pop-up in your dap where your users can now buy crypto they can buy different tokens with fiat how does it work because of plugins so morales is heavy focusing on plugins so whether it is the fiat on ramp or one inch integration so with one ish you basically write one out of code which is morales.plugins.swap and you can swap any asset to any other asset because we have one inch integration and the whole idea with integrations is to ensure that you dont need to worry about how different smart contracts work look if i want to use if i if i want to use ave i dont i dont want to learn how other works okay i dont want to learn the complexities of of smart contracts of lending of derivatives if i just want to create a loan it should be just you know one line of code loan.create it should be loan.create token.stake in order to stake it stake some token this is the level of abstraction we need to get to as soon as possible in this industry because all of this unchained stuff is too complex and were never gonna go mainstream if its that difficult to build applications so thats very very important now some practicalities guys some practicalities its time to get your hands dirty and the best way to do it if you go to ethereum boilerplate you can just google ethereum boilerplate you will find this repository its very very popular repository many many stores on github and basically this will have all the basics for example login getting assets showing assets on the screen basically its a its a demo its a starter project for all morales projects so if youre building something with ethereum uh on ethereum which i think most of you do go to ethereum boilerplate and start experimenting so thats number one thats number one you should do as soon as possible number two you should do as soon as possible is to go to to morales.projects and sign up for moralesprojects what is this basically each week we build a project a full stack project together so this week actually this saturday so last week so last week we built web3 metaverse using solidity and javascript kind of like sandbox where you can buy different plots of land and its a ui and its backend and it is a smart contract so this is what we did this saturday last saturday we did this one airbnb clone where you have the airbnb ui and then all of the rentals are on chain and you have the payments on chain and its full stack and uh a few weeks back we did this one a web three shooter web 3 fp first person shooter where you kill some boss you get nfc reward full stack full stack its all about full stack and this week we are going to do angry birds uh this week on saturday if you sign up if you go to morales projects you sign up were gonna show you how to build angry birds where you pick your nft as as the bird basically that you use done in the game so each and every week you get a challenge you we have a community for building these different different use cases it is full stack we give you lessons we basically give you material to follow you get instant feedback and you win nfts if you complete this you win amazing nfcs so thats number two morales.projects you should sign up now number three is that you should sign up for discord and you go to morales.com mage why because you become a moralist mage you become part of the community you become a moralist mage so go to merizego slash mage to join discord and number four is that you subscribe to morales web 3 youtube channel so this is important i think it is the biggest web 3 dev channel on on youtube because we push every day we were soon approaching 100 000 subscribers and its only the beginning so basically four call to actions number one if you are building go here ethereum boilerplate start building number two more sales such projects number three writer say oh such mage and number four go to youtube on that note on that note guys we are going to q a this is all for the for the preaching and its enough of me preaching here it is this is not about the monologue as with everything web3 related we want to have some q a we need some interaction so thats why i will check check your your chats now and uh and then we would take it yeah exactly exactly you buy you buy crypto with fiat yeah exactly exactly youre correct the coffee is like an rpc node take away his coffee exactly exactly lets see exactly why terms should be used correctly everyone is slapping dap everywhere well dab what is adap there are many different definitions in my mind adapt is a full stack experience so adapt could be for example where you have open c its smart contracts its front and back and adapt could also be without back-end but look most of the big things today in crypto they have a back-end component because the user experience increases a lot a lot a lot if you if you have a backend component you can decrease fees you can you can ensure that for example with openc you dont pay fees when you list when you mint an item you dont pay fees when you submit and a bid all of these things you almost take for granted but they do require a back-end component and thats why were speaking about full stack development and thats why really if you want to build something that is uh that is smooth and that is nice it needs to be small contract back and front end uh and uh lets bring back the the screen patrick so uh as i think we will be sharing some screens thanks thanks so so that thats how it normally is now you may say i dont want any back-end i just want you know pure decentralization only smart contract and front-end but at the end of the day if you do that you still need to host front-end but yes you can have many different people hosting the same front-end uh the the problem with that is that youre more limited in what you can do and your user experience is going to suffer so its up to you and its a bit philosophical question which kind of use case will become global which which kind of use case will become big if youre speaking about the whole nft space in most cases we have a lot a lot of gray area in the nft space because a lot of metadata is centralized a lot of metadata is not stored on chain and its all about who is either having the metadata server or who is going to pin the ipfs metadata so really web 3 is not a space where you can be too uh too dogmatic where you know everything should be completely completely decentralized because its just its not how it is practically we can dream about everything being completely completely essential but we have to look at practicalities and and practically a lot of your use case will require a back-end interaction uh but the good thing is that you need to see whats on chain was off chain and most important things are of course unchained theyre decentralized all assets all ownership all of that good stuff is decentralized its own chain then if you need the backend component to make smooth interactions its fine i mean to me its completely completely fine because its not like you have a backend component that can completely go wild and take everyones assets that would be horrible thats bad but if you have a backend component that for example sends out push notifications that for example sends out emails that for example does some calculations so its easier to show in your front end this can for example be lets say you have a game and you need to show high scores in your game how do you do that you cannot do that just from front end you need a back end in order to go and index the events see what kind of people have played your game uh have a table with the high scores and thats very important you can use the graph for that but you still need to run if somebody still needs to run the indexer for that so most likely you will have a back-end even for such a simple use case if you want look here if you want to know the assets of your of your user you need the back-end the you need the backing component you need for example either to use morales sdk where you get this um let me show you here for example because this is not something that you find on chain you can you cannot get an ftc of a user address by just asking the node there is some indexing that needs to be done so all in all this is the definition of that in my in my mind that its full stack it is full stack solution so hope that makes sense uh is moralized so morales is completely decentralized when it comes to your dap it doesnt centralize your dap why again all your assets are on chain everything that you care about its own chain morale simplifies things for example by serving you the nfts of your users if you want you can also build this functionality yourself by running for example the graph and again if you do it you will end up having a backend infrastructure so this is what we discussed here its the basically possible you can do it but its going to take you months youre going to have a full back-end team you need a full operational team so all of these things if you want you can always do them yourself okay nobody does it themselves but if you want you can always do them yourself so thats the most important thing with decentralization this energization is key for assets then when it comes to apis and the different other data solutions you could theoretically do them but in most cases in most cases you will use different providers just like you use you dont sync your own node you trust uh external parties in order to connect to the blockchain do you verify their blockchain do you verify their history you dont so this is how it is the good thing with blockchain is that assets are on chain everything else that is not as critical we simplify we simplify by for example connecting to external nodes or to external data providers so thats how it normally works so i hope that clarifies this is all javascript we can use you can use any language because let me show you here actually you can use any language because many of the features if you go to docs.morales.io why because many features are accessible via curl basically by with any with any language because you can do a simple request like this and this you can do in python you can do in go you can do in java you can do in c plus any any language can do this or you can do this in javascript sdk which we give you but this is the raw request you can do it in any language where are morality services so soon you will be able to host yourself we want to provide the self-hosted solution were working towards that and right now you can choose yourself where you want us to put them which region and all of that want it be a single point of failure well when it comes to single point of failure you can have different ones so once again when it comes to assets and ownership its absolutely not absolutely not when it comes to for example fetching the nfts if morales goes down well there are many other nft providers that you can switch to as well but the whole idea is either you build it yourself and ask yourself the question do you really think that you will be able to run this i mean basically the infrastructure needed to do all of this better yourself or whether its better for you to connect for example to morales where we do this every day and we have a full uh full-time team just managing uptime yes or no so all in all when youre thinking about whether it is a big risk to to use a provider or not you have to compare to something and you have to compare it in this case to you you yourself running this all right so this is how how it is and this is how normally you have to think about things and ideally in the future if you do want look if you do want to run this lets say that youre that heres the problem though lets say youre just starting out for you to spend months and millions of dollars to run this yourself its a waste because you dont even know whether your dap will become big most likely when it comes to ideas you know that most ideas fail most businesses fail most startups fail so when youre starting out it doesnt make sense for you to spend millions of dollars and to have a full back-end team to do all of this when you have different providers that can help you with this and lets say your that becomes big you are free at any time to go back and build this yourself so morale is doesnt centralize your project in any way youre always free to go back but it does give you super powers it does speed you up a lot it does really make a big big difference especially at the start and it will pay off massively if you learn it thats key and its all about full stack full stack cross-platform and the cross-chain thats important can we use an fts to authenticate login with morales uh when it comes to you can use nfcs in order to guard access to different features so you can easily use the morales sdk to fetch the different entities of a user and then based on that you can allow them or not allow them to to do certain things but because you have for example lets say youre building a website where some pages are hidden for non-nfc authenticates users you can easily get the nfcs of a user like this and either in your backend or in the front and normally you would do this in your backend you can see whether to allow the user or not to allow the user i hope that makes sense uh are there any competitors to morales well i mean there are many different uh different infra providers there are many many many uh so of course there are you can there is you can use the graph you can use different apis there are many and look were not here i dont like really to be thinking about in terms of competition because we are integrating like i show you here let me see which website which slide we dont really think in terms of competition because uh we are were integrating all kinds of good services lets say someone builds a nice service we integrate it were not competing like for example covalent you know great guys they have great apis they have some overlapping features that we have but we still integrate them and we still work together why because number one theyre great guys number two this space is so big there is no competition okay there is no competition because there are so many different chains layer one layer two different abstraction levels there is no way you can like be the dragon that that sits on this entire industry and you dominate it look its impossible its impossible you gotta integrate and thats why were thinking what is the best feature what is the best way for our users for our community for our devs that use morales for them is better that we collaborate with other infra providers that we ensure that its easy to use other infra solutions together with morales instead of like competing you know this space if you want to compete this this space is not really for you why because its a collaborative space all right this space is not really a lot about competition its about collaboration so thats how we think about it i mean i will never think about oh you know these guys started a new api you know people ask us sometimes like this question hey ivan have you seen these guys they have an api they havent they have an api you guys have an api is it going to be fight its going to be a battle and well always know wha why should we battle instead we integrate them so we have a nice integration you want to use this you want to use that its a free market and when we integrate we remove the the friction we ensure that its easy to use for everyone and this industry moves and when this industry moves we all become bigger we all win at the end of the day when this industry becomes successful so yeah i hope it makes sense i hope it makes sense and thats the only way you can really do something big in um in web 3 is to collaborate and by the way go sign up for morales with all slash projects its very important you you get hands-on you get hands-on experience building and its also good because lets say that you are in these hackathons a lot like this one its good if you imagine every week you build a project every week you build a project you enter the hackathon you are completely overpowered youre you have such a big big um for advantage that youve earned you earned an unfair advantage because each and every week you build projects with morales full stack with smart contracts with back-end with front and you come into a hackathon like this you dominate it so think about your next hackathon and how you prepare for it and im telling you you prepare for it by going to morales projects you sign up each and every week were going to train you were going to train you your full stack web 3 so much you will be surprised yourself you you never thought that you can do things that you could do with the morales projects how to fetch constructs that are not owned by the wallet i.e you want to suggest new nfc to user that they might be interested in via morales well with morales you can fetch all kinds of nfts not only connected to the account i just showed you an account because it was a good flow but you can for example go here to morales uh doc and you can go to web3api.token and you can see for example all the different tokens in a specific collection all right so this is very important like here for example get all tokens id returns an object with number of nfcs and the nfc metadata for a given collection all right so you can basically look at the different what what i would do is that i would basically do a list of the different big collections maybe you have a list and you have the board ape contract you have punks you have some other like this cats or whatever you have a bunch of different nft contracts and then you can use morales to fetch information about them like metadata and stuff like that then you save it in your database again you need a backend component for this again if you want to do something like the gentleman or the ladies said about the recommending of nfcs its impossible without a backing component in an in the easy way so then you you facial the metadata all the all the information and then you can have an algorithm that decides that so yeah hope it hope it makes sense uh how does one require full knowledge of you dont need to know ethers to use morales thats the whole point you dont need to use ethers because morales is a layer on top of ethers if we ensure that you dont have to know the specifics of each chain and ethers is specific to ethereum your knowledge of ethers is not useful in solana and your knowledge of solana is not useful in ethereum but morale is if no morality youre useful in both so thats thats how it is uh what what preferences should one have before started with morales good question so you go here and you read about prerequisites at docs.moreso till so number one is javascript you gotta know that you gotta know web3 so at least you should know what ethers is you dont need to know like full full what ethers is but you should at least understand what it does a bit but you dont need to know it in depth you need to of course know metamask and thats it and then you need to have some some text editor thats it smart contract genius hussein okay good can you elaborate on what um how often does morality check that blush information in the db is accurate for example if a charge 1050 is made on chain how quickly does morales reflect so its a good question you go here to so its a bit more technical now uh you go to triggers here and you can for so for example when it comes to transactions you never know in a blockchain whether transaction is is complete or not because you know it a rework can happen a blockchain can remove recent blocks and replace them with other blocks so thats why as soon as something happens on chain we tell you that we tell you that but we have a flag whether its confirmed or not so you get instant alert you get instant uh instant uh socket here that you can you can do custom code you can pro you here you can do anything but you need to check if its confirmed then it could be dropped if its sorry if its not confirmed it could be dropped if it is confirmed then uh its not gonna get dropped and look in blockchain everything is its its not hundred percent like even in bitcoin there is its theoretically possible that even bitcoin from yesterday a block could be dropped theoretically possible practically not possible okay so confirm basically it means that you know theoretically all blockchain blocks can be reversed theoretically but many things are theoretical practically after a certain number of blocks you can count it as confirmed and basically what we do is we use the same number of blocks that exchanges use so if the number of blocks is fine for exchange its fine for us look because exchange lose money if they if they confirm a transaction without waiting enough so thats how we do it yeah uh how often does morales oh yeah i checked that i checked that ivan is the most oh of guys im im blushing im blushing thanks a lot most androids i appreciate i appreciate it uh okay guys more questions uh if not let me repeat some important call to action while im here uh so call to action number one is to try ethereum border plate call to action number two is to go to morale sales projects call to action number three is to go to mirage sales mage and call to action number four is to subscribe to morales youtube very clear thanks for changing my life damn dev dusty if i change your life my day is complete my job is done here if i if i change your life lets see more questions well i think we discussed most of the things today on that note im taking the final sip of coffee and were going back to to patrick actually we have 17 we should do something for 17 minutes though wag me wag me exactly you know what well discuss this we discussed that i give you back 15 minutes what can you do with it you should go to morales youtube channel and you should go follow you should go to youtube channel you go to playlist here and here you can watch morales projects so here you can see the past projects we we did uh full stack for example the airbnb one the fps netflix uh the metaverse web 3 spotify this week were doing angry birds oh by the way this is how it look like so you scan with your with your uh wallet connect then you select your nft the bird which what which nft want to use and then yeah and and then you shoot the bird so youre gonna be able to build all of this uh then if you go to the morales web through youtube you go to playlist here you find a lot of other playlists for example solana you want to learn solana you have a video here where you can learn about solana were going to have more videos right now we just have one or i think we have more we just havent added them to the playlist i will add them to the playlist here is an important video if you want to learn unity webster programming unity game engine with c-sharp morales is fully integrated were fully fully integrated into c-sharp unity so all of the things we discussed right now in this video theyre all plug and play easily in our unity sdk and we have a full playlist here you can follow in order to learn and next an important playlist so you go here to playlist youre going to see a lot of things we have another playlist for programming projects for example cloning openc cloning amazon uh doing a default dashboard on avalanche its a lot so you should definitely subscribe hi ivan please take my question what question did you do is morales also we have a so when you start morality its free as you need more requests lets say you need like a million requests for the nft then you need the paid plan like of course if you need a lot of requests for all of this then you have to upgrade because we are running this infrastructure and all these databases to make it happen so i hope that makes sense and joseph actually in the chat here hes gonna do more solana videos how long do do the weekend projects usually take to complete well normally it takes like a day let me show you actually so when you join our discord and you you do that by going to morales dot io slash mage because you become a moralist mage when you when you join our community and you scroll down you see here we have we have building web3 projects a section and here you have the different ones like for example netflix metaverse and here you can see finished projects and as you can see people finish them a lot and heres someone posting that they did the metaverse one let me actually check so the metaverse is that you can basically select different tiles and you can buy them you can claim them in the using the metamask and its all like a smart contract uh so this one was the recent one heres another one someone built this metabo metaverse like you you buy you can trade different plots this is how it works uh so you can easily do it in in a weekend i mean thats the whole idea that you do it in the weekend it depends of course on your skill you dont have to finish in a weekend its up to you how long time you want to take but if you if youve done a few you can easily do it in a weekend where would you recommend an angular developer to integrate morales well we have vanilla we have let me see if we have something angular i know we had in the past a morales uh something you can check this look im not sure how well updated this is because it this is a community this is a community one yeah we dont have an official angler yet we will have in the future though but to be honest if you are angular dev you should be react dev i dont know why youre angular dev uh be reactive look there are so many there are better things for react than angular so the best advice i can give you actually is to be a reactive of course we want to reach angular also we will we will do that but generally in web 3 a lot of things are for react so if you are angular my career advice to you would be to be react okay i mean sometimes you gotta tell the truth so for example another thing i didnt mention is that there is web3 ui kit which is fantastic ui components for morales and you have different things like for example the login uh the login one so this is another this is another i think you should check out web3a kit you want to have ui for login you want to have ui for nft ui for nft balances you you get so much for free but look its only for react we will expand to others soon but yeah go to react basically uh some tutorials exactly thats true some tutorials are outdated but the one that are in morales projects are not outdated so for example this ones morale is uh lets see programming uh one second this one rise project this one they are recent but yeah i mean we are adding new things so when we do that some things become outdated but this ones moralized projects this one should be fully up to date so i would recommend that can you list some of the limitation of any using morales well i think that if you want to have a very lets say your use case is to have high frequency trading like you need very fast node connection okay you need very very fast node connection then morales may not be the best then it may be better for you to to do your own but look 99 of people dont care about whether the node request gives you reply in 200 milliseconds or like 150 millisecond all right so if you have some specific niche use case like for example that it may not be the best why because were focusing more on the full stack which means layers of abstraction which means that its not gonna be as if you had your own node in your in in the same data center as your other stuff so that thats an example yeah uh is open source if not sure theres another risk regarding so we will open source morales were moving towards or its gonna be like gitlab so were going to have open core where most of things are open source you can sell host and its going to be hopefully at the beginning of next year the thing is we want to have a very stable version before we do that because if open source now is going to be completely different very very soon if it is the case that we are gonna add more stuff and and improve it more and more and more so thats why we really want to ensure that its very good and then we are gonna have an open core version basically most of the things youre gonna be able to run on your own and it can be a bit compared how gitlab works you know git lab is open source but there are some other components you can you can get so this is how its gonna uh gonna be and thats also how were thinking in terms of funding the team because as you know developers they have to eat they have to eat and they have to survive okay they cannot just code add infinitum and thats it so thats why morales is open source or at least it will be with an open component so open core is a better word for it yeah hope that makes sense uh can you create a scalable absolutely you can create a scalable dex what is a dex a dex is smart contracts that have tokens in them and thats it and then you have a ratio between tokens there is nothing like theres nothing that your backend needs to really do except for showing the ui and maybe showing some stats a dex is not very is not very heavy in terms of infrastructure because most of the operations are directly on chain there and the only thing you may need backing for is to show the stats like for example show the volume it it it may take a lot of infra to do that if you are to do it yourself think about it for example buying a chain how many trades per second its many trades per second and for you to show updated volume figures like for each pair it its a big task okay its a very big task that does require back-end but other than that when it comes to the actual dex use case like trading theres no back its very very little back in there how fluent in java you dont need to be fluent in java you need javascript javascript no java but javascript if your angular mark career advice would be dont be angry exactly exactly exactly how well does morales integrate with ipfs well im very glad you asked because its amazing integration with ipfs its its its so nice its uh one of the best if you go here to docs you go to files you go to ipfs lets say you have a file and you want to upload it to ipfs you just write save ipfs and it shouldnt be more difficult i mean thats the thing we when we see this as webster developers our mind is blown that you know you have like a file picker you you you show user file picker and then you say save ipfs everyone mines is like blown but it shouldnt be like that because its simple stuff i get the file i save it on ipfs so it should be one line of code it should be filed or save ipfs lets say you have some some json or something you have a json object you do file dot save ipfs thats it and you can easily fetch it so you can fetch it using the gateway like this very very easy very very easy and when it comes to the gateway if you are for example building a website and you want to display different ipfs content then morales is good like we say here but lets say you have a script you have a script where you want to download like for all ipfs or something then its better that you use pinata or infura because morales is for showing stuff to the users its not for you to run like a massive back-end script to download like five terabytes of data from ipfs because again morales is full stack its in order to build use cases and if you want like a massive back-end job then we we recommend you to just get a gateway in for our pinata yeah so thats uh thats how it is there how does morales handle contract versioning for eth and ipfs im not too sure what you mean there exactly you know contract versioning im sure you can easily do it in terms of proxies like you can set up a proxy easily morale is that the thing with morales is that it is uh more on the off chain front so you do your smart contract you do the versioning and all of that and then you can easily plug it into morales and it will read all the data but maybe i misunderstand it look if you go to forum.morales.io here you can ask anything and our team will will will answer as you can see its a very very active forum if you have any question or anything beyond this video you need to go here so do we need to install no no no no what install im telling you were end to end were making it easy were making it were making it smooth what installed you dont install anything you write file dot save ipfs your job is done your job is done no installing no configuring no nothing you write dot save ipfs and then you go and you take a coffee and and we put it on ipfs for you but good question good question uh so do you recommend using the miracle instead of pinata azerdap is it pretty fast well again like i said if you upload stuff using morales and you want to show that stuff to the users then yes morales is amazing if you want to run a like go here to docs and you can read read the use case if you want to run a script so basically morales is not for like heavy heavy downloading five terabyte of ipfs content into your back end then if morales is not for you then you better use infuria or pinata so in that sense it is a replacement for inferent pinata for the simple things like for example you want to upload the file uh your users maybe mint and axis or something and then you want to show that on the website or in your game then its morales if you want to if you have some heavy back end work lets say that i dont know you want to download all images of all nfcs that were traded in the past 24 hours its gonna be probably a lot of images you have to download then if morales is not for you then you have to go and you have to inform you i hope it makes sense basically whatever is like a use case for the user where you have some front-end you want to show some stuff then morale is for you you have some you know 10 000 requests per second load its not that will you have a discount code oh uh we could have it yeah and so speaking about merge so go to if you join look here look here i need to tell krashemir to post uh if you join our discord you will see a discount code here in where should we put it we should put it in welcome uh in intro okay okay here in the introduction channel kreshmir will put a discount code so go go and join our discord moralization mage and uh kreshmir joseph can you please tell kashmir to put here some discount code 100 bucks the first 10 people that see the discount code in this introduction channel can get 100 bucks on our merch store i recommend let me see what i recommend is it not beanie is it out of stock maybe maybe its this one but i want the pink one i really like the pink one i normally have it but yeah i dont see it now oh guys we have only two minutes look on that note uh we have the merch we have it was very fun speaking to you all uh go to morales.org if you have missed the website its moralized you find all of the stuff here maybe its a better explanation than i did but probably not you can you can if you like text you can see here you can go to docs if you like video you can re-watch this video and i see you all very very soon see you all in the community see you all everywhere hope you enjoyed hope you learned something and good luck with the hackathon i hope you win the hackathon i hope you get some nice big juicy prize and yeah over to patrick thanks patrick thanks so much for being here ivan and good luck everybody in the hackathon thanks for being here take care Join the CEO of Moralis Ivan Liljeqvist and see how to become a full-stack Web3 developer. Chainlink is the industry standard for building, accessing, and selling oracle services needed to power hybrid smart contracts on any blockchain. Chainlink oracle networks provide smart contracts with a way to reliably connect to any external API and leverage secure off-chain computations for enabling feature-rich applications. Chainlink currently secures tens of billions of dollars across DeFi, insurance, gaming, and other major industries, and offers global enterprises and leading data providers a universal gateway to all blockchains. Learn more about Chainlink: Website: Docs: Twitter: Chainlink Chainlink,