Website Meeting 2021-11-04
Developer DAO · 4 Nov 2021 · 49:25
The weekly check-in of the Developer DAO website team, reviewing the open source site project. Topics include environment configuration for different networks, analytics, and splitting the Portuguese translation work into one ticket per language. The team triages open issues and pull requests, including responsive design, Cypress end-to-end tests and competing landing page drafts, with advice on keeping pull requests atomic. The meeting also touches on a job board idea and the tooling channel's search for a good way to mock wallets in tests.
Topics
From Developer DAO; community: Developer DAO.
Transcript
i've got to work one of these days someday yeah i mean obs i think has gone three for four for my attempted recordings so hello welcome we have people with new people it's great it's a website meeting there's a lot of people so this is the developer dao website meeting for november 4th 2021 and the narrow discussion around specifically the website and actually i didn't even need that off the cuff comment i already wrote one yesterday we have lots of people showing up and asking to get involved recently this is great and hopefully we can provide some of that in this meeting and some of it we're just
going to do the same thing we've been doing for several weeks being like hey season zero it's coming and it'll be more stuff for us to do then so i guess we can dive right in first thing we do action item review so from last week with heart you're going to look at who can view or share the inferior key i still have no idea who's if you're a key we're using nobody seems to know that's definitely the best case did you uh pass nagma because she was the one that stuck it
there in the first place it might be hers then yeah i don't i didn't reach out to her directly so i can i can do that um the other my other follow-up i'll just go ahead and do that because it's also related to her um about getting access to we have a shared developer dow email which is developer.1 gmail.com it's currently just used for planning meetings but we want to get access to that for analytics i did reach out to her for that and she said she would look into it but i haven't heard anything back um that was just yesterday so i will uh cut out yeah like reconnected maybe rolled
servers or something yeah that was weird um so i'll follow up her with her after this meeting on both things let's see if i can get something from her on both excellent or i'll just do it right now that works too i also messaged her yesterday regarding the the open ticket so hopefully at some point she'll realize that finding that email will be worth not getting harassed about it anymore right all right narbs here dot end dot example is that a thing if you are talking it is not coming
through yeah we see you unmuted but nothing is coming out so hardware mute or something okay hello there you are
all right i'm good good now yes okay sweet uh yes uh i was asking uh with regards to uh which issue there's a couple of places we're talking about the environment variable this is just an action item from last time so it may be lost forever well we do have we have set an environment variable for the empirical um and that is uh working as expected um i believe uh alex is doing a pr for getting the test net to work locally
and that is also kind of sort of being driven by environment variables and the other thing to do with environment variables was um i think it was a broader discretion that came out of a another pr i forget which one goes around uh some of the constants and the developer constants file not being true constants and rather config oriented strings basically like urls and whatnot uh so i like in my head i would prefer us to go like an
environment config route now whether or not that's that's possible or not um with rassel and uh javascript in general i'm not sure i've never done that before i've done it plenty of times in in java and spring uh sorry enterprise stuff but uh i did i did find one open source library that had a lot of stars and around that kind of did that what we were looking for or basically had like a production test local config you could draw up with like json or whatnot but i haven't looked further into that other than finding it yesterday so
that's uh yeah something i'll have to deep dive a bit more into okay yeah my impression is also that we can do all that yeah it should be possible it's just like figuring out the way to do it yeah awesome for anyone who's seen the video later that is manny in the top right hand corner left for me but whatever no it's just you so i'm recording and you're like halfway cut off and also halfway in the video oh god
there you go all right and then last item because with heart that is marked i already covered the analytic stuff splitting up the internationalization ticket so yeah i did that we have one key in one language that needs to be translated into portuguese in three variants so that's now three separate tickets and we closed the one outstanding one so that ideally as we move forward we can put each key in each language as its own ticket or each set of keys i should say so if you have a a change that brings in multiple keys you can put those keys in the same ticket but break it out for each language because that way someone who speaks
one of those languages and can do that translation can come in do that one issue we can close that issue and move forward with our lives instead of being this all-encompassing ticket that's quite possibly impossible for one human being to sit down and do unless you're a polyglot so yeah then moving on to triage so there are three actual tickets i'm calling them that were open this week all were already assigned so i'm saying that's triage being successful three translation opened sorry three translation tickets were opened by me on the night of the third of november so they've not been around for that long and i don't know how many
people we have to speak portuguese versus brazilian portuguese versus portugal portuguese i think that's the correct interpretation of those abbreviations so those may be around for a while depending on the availability of portuguese um and then we can close issue number 95 seeing as that is now old but i like the rights to do so and then i noticed opening the new tickets that we should probably update the issue form to be a single select instead of a multi-select for the languages and then ideally we could put that
language into the title of the ticket sorry issue because that will make it easier for people to find that that makes sense to me yep all right then we have issues so i have a link in the meeting notes which are linked now we have a number of open issues so kind of running down the list 156 is the responsive design that has progress from
the project code there's this github handle their github handle uh 155 is the network searching for test environments so nerves just refer to it there we have pull request 162 and some more requests from coding with manny if either of you wants to elaborate further i can go quickly so narvis and i have been going back and forth did some initial unit tests so that seems to be going well in terms of it but it's using specifically supporting uh minor mask right now but it's a good base
the cypress tests are coming up next so i just wanted to make sure that we had the unit tests and then the antenna test will come in shortly after but everything is pointing to all positives it's just i don't think there's any blockers they're just kind of just chugging through these basically awesome yeah for the responsive oh go ahead i was just going to ask if that also kind of covers 154 which is end end test for direct mint okay in regards to the responsive design uh yeah so it's pretty much finished just
honestly i just for some reason i'm running into that air trying to commit the changes yeah um to the branch so just working through that is next for me i tried to do it through the terminal as well but same thing um so just figuring out how to push it up um just going to be doing some more research just to see why the area is happening and then how to how to overcome it so yeah and for everyone's reference that was i can't remember what channel that was but
the error specifically that it's throwing refers to not being able to find husky right right yes yeah yes and even with like yarn prepare it i mean it installs husky but still when it's hot when when it comes to committing it just fails so are you on windows or mac os or linux mac um and then yeah like i tried to do it from vs code as well as the terminal so both was throwing the same error and is it referring to husky like just the word husky or is it going nodemodules.bend.husky
let me see if you want we could probably take it offline too i could yeah yeah that would be very cool just uh just to double check i think you coordinated with mark a bit a little bit too right yeah okay we were trying to he he asked if you coordinated with me we could um we could even like right after this call just jump on another call together and figure it out i'm uh i'm interested to see what it is because it's i've not seen that before
it's really weird yeah that's that's fine do that yeah let's do it okay yeah uh that then takes us i think to 114 is yeah 154 that's just working through the testing like manny mentioned uh landing slash home page so that has the draft pr159 open and then we also have another pr or another draft pr that exists so i believe the idea at this point is that nazi is going to continue forward with uh his
pr that he had worked on that was coordinated and anything that is good in the new pr or the draft pr we can kind of rip that out and get you know the best features there into the pr so we end up with the best landing page and don't have to try to reconcile those at the code level that's my impression at least i know it's been a bit of discussion mark may have further input on that or insight um yeah i mean i think you covered it there we go i think the other pr let's all right i i wanted to just talk
about this for a little bit so like the other the other pr um just like a little learning opportunity for open source um i know that that is that guy's uh or girl's second contribution to open source um so something that you should keep in mind when you're submitting a pr to something open source can't get out of here um sorry cat's desperate for attention um is if you're opening a pr you should try to do things in an atomic way and what i mean by that is if you are implementing uh the landing page you should try to just make your code related to implementing
the actual landing page um the problem with the pr the other pr that was opened is that it's not just the landing page it's also adding path aliases to next.js it's also switching us from react to pre-act and a bunch of things that we might want to consider and talk about but because it's all lumped into one it makes it hard for code reviewers to review that and understand exactly what's going on and it makes it difficult for us to reject just one piece like if we don't want to switch to pre-act but we want everything else that's now a bunch of extra work to go back and pull that piece out so they're not here to defend themselves i'm not even really attacking them i just wanted to throw that out there
because that was something that was some feedback i was going to give them and i figured i would share that with every everybody else just like the more atomic your pr can be to do just one specific thing the better off it is for everybody involved in getting that merged and reviewing it so basically mark is attacking the person that's what happened to yes they're terrible they're a terrible human being is what i'm saying basically that's what i heard that's the takeaway do we do we have a standard review process yet um there is there is technically a
documented process that we did go over um but i don't expect much people to look at it because it's quite long i did do a summarized version of it there is a there is technically a process there is some debate between mark and i on how the way certain things go but as overall the idea is still you know issues would be preferable in terms of something first right follow up with uh within pr that's related to that issue that closes out that issue i agree with mark in the sense that it should be
very specific to that task otherwise you're going to be also potentially stepping on somebody else's work and in terms of the way that i see it is that the proposals i it used to be in i don't know if it still is in git issues or if we're trying to do bigger proposals within the forum which might be bigger feature sets but if it's like a small feature i would assume it'll probably still be as a pr that's not a github issue to be able to say hey i'd like to propose this my mentality behind it is that it's always good to kind of rally the community behind a specific feature in terms of a conversation and you know say hey
i have this idea what do you guys think you know and get feedback otherwise you get people come in and say hey i just did the entire website and go uh i think this is cool right and not saying that that's wrong but at the same time it's sort of like the way that i the metaphor i like to say is that i'm standing in my house and somebody shows up with a burger and says here's that burger you ordered and i'm like i didn't order any burger you know like while you're in my house or whatnot so that's my mentality but at the same time i understand that we don't want to stifle people from coming up with really interesting ideas and they might not know the processes that are in place as you mentioned
or they might not as be as clear but that's kind of the general idea try to have a conversation with people around features that you'd like to propose and get people to rally behind them and you'll find out that you know you might want to collaborate with a few other people and they might give you different ideas in terms of how something can be paid better i appreciate that thing i wonder if it's an issue with like the the information not being as clearly available as we think it is like maybe it's just i think it's like the contributing doc is maybe like stuffed all the way down the wiki so if you are scrolling that far down you're just like okay fork
do my thing and then ask questions later maybe maybe i mean it's not it's not even a full page worth oh well arguably but yeah i think it'd be worth figuring out too like let's before beating ourselves about that we should probably make sure that he actually read that and considered it before just being like hey there's a thing that they wanted done and i can do this and i should do that and so he did they did yeah i don't know i'm not even sure how they knew i mean they're not even a member of the dao so i'm not sure how they even knew that
or can you see the issues but it's open source so you can go on it anybody can go there but yeah it's interesting to me that someone who's not a member still wants to contribute to our site well even before i started contributing i read the how to contribute first because i just felt like that was the proper procedures to to actually contribute excellent so it is it is findable it's just maybe we need to push push it up a little bit more maybe we can pin it everyone can see it uh you know this is a lanyard just to give people i know for different this is a different topic but i know for different channels it would be great you know how at the very top of the channel
you usually have descriptions of what this is and what it's related to and also maybe okay but thank you for reading that yes that lets me know that it didn't go to waste in terms of all the writing so yeah because i was like let me just figure out how the proper guidelines that they have in place to contribute before i just fork in sorry start working it's like and that's initial like uh that's the initial thing that you want to do but it's not proper okay just to steal it back keep going on the issues um
this is all good this is the kind of thing we have to get our hand to go back a little bit okay if somebody just wants to show up with a burger in my house i will gladly just take a random burger just throwing it out yes you think that yes and then they're going to come in with like some kind of weird combination that is popular somewhere else and you'll be like this is not a burger anymore that's not right i'll eat anything you try it now they'll bring you the beyond meat stuff it's pretty passable that stuff is cracked for me anyways okay uh issue 114 landing and home page we were just talking about sorry
110 the about page basically the same thing as well no it's not the same thing as one before so it is waiting on the content that will go on that page with the season zero final verbiage nazi so the same person is working on 114 has expressed interest in doing that i think that's good if anything like he could get started running with that because words take up more or less the same amount of space and so the framework could be there pending final details but i'm not going to tell him how to live his life 98 you know there's a whole lot of ways to get things done and i had a lot of time with a lot of authoritarian living and i just
got over that so if he wants to bang out an entire week's worth of contribution in 15 minutes we'll hopped up on all kinds of stimulants that's his choice so yeah 98 validate token number that is the one where we're validating sorry that we're awaiting versailles support uh nurbs you had posted how you sent a follow-up email because you got some initial traction and then it kind of disappeared into a black hole so that's all good yeah sent the chaser a couple days ago again still no response so either either uh
they're stuck on the issue just like we were or they have a big big queue that we haven't gotten to yet but they said they'd get back in like 24 to 48 hours so context just in case anybody else might want to take a step oh yeah yeah for sure so the the issue we're facing is basically um so we're trying to get localization to work um as a whole but um when uh well the issue this issue basically came up at first when we just had the the landing page with the genesis nft showing up with the search bar and then uh we wanted to prevent people
from basically hacking their way around and causing the unwanted 404s and then it the issue kind of evolved into properly getting the localization to work so if we so we wanted to get things like um developerdow.com es slash id slash whatever the id is so like one two three four five that to that those kinds of urls to work and have localization applied to the page now the we approached the issue kind of two ways so the first way was the dumb way where we basically tried to statically generate all like 88 000 possibilities um during build so next gs what we would do
is go go and build basically all those 88 000 pages and store them in its uh in its cache so that it can serve them up uh right quick without having to do any uh server uh server side work um so the issue we got roblox there is that the build obviously took too long to to complete at least that's what it looked like and then it just hung at a certain place and then the the timer kept going and we only have like 45 minutes of a cap for the versailles builds before it just like fails it automatically which makes sense once it's that long of a build uh and then
we kind of went back and then i believe diawat pushed uh another another means of getting localization to work with server-side server-side rendering um which worked locally but when pushed up on the per commit deploy uh it does not work and there's no outputs in the the logs to tell us what's going on and uh let's spun up the support ticket which we are now waiting for yes i realized that was a long skill but that's basically the history thank you
uh brings the next ticket which is setting up analytics mark already touched on it so it's that one email controlled by one person and we're working on uh decentralizing that it's not her email it's our email it's the people's email um then 95 a translation of projects that is now ready to be closed because i made three new tickets for it and then 92 reduce nft data response time on end tests so that sat idle but i believe manny you updated today is able to be canceled because it's work is being done in the other testing related issues
yeah i made a comment that it's going to be handled in 154 so the genesis of the idea if you guys want to read on it in terms of 92 as to why we're doing and to end tests on the um just to give you guys context is what we would do is we would do the tests to go through and try to look up specific uh tokens and then if you're doing it obviously uh using like either scans api or etc you'll hit a rate limiting and test will fail at a certain point like if you're looking up a specific token id um so instead of that uh what i ended up doing is uh check out my article uh i wrote a article on how to
dockerize your local solidity contract and then what you can do is we take that well i'm going to deploy it to docker hub and so every time we do a ci test we just pull that in it acts like a completely live um deploy contract and then we just do end-to-end tests that go directly to that contract so you can get all the different scenarios and there's no right committee so yeah that's basically it see yeah back to you greg outstanding so that takes us to the prs so again changes may have happened since last night but of the open pr's we have the feature test net local environment
sounds an awful lot like what manny was just talking about actually no sorry that is the one that nars mentioned before where using environment variables and then are choosing what you're connecting to for your network so that you don't do a bunch of tests against mainnet or fail a bunch of testing that's mainnet because money yeah can we talk about this really quickly uh just to give also context so my perception again me me me me uh uh on the idea that for the ci tests we'll do against a local locker deployment so basically no rate limiting there's a
local deployed contract for unit tests there is no there's no contract obviously to test against the deployed the deployed for cell deployment essentially is we want to try to make it against testnet i i know nerves you mentioned the idea that um like if you want to mince something you can't really reset a mint once it's minted but don't necessarily think that an argument was i don't think necessarily think that we need to do any tests when related to that because it's just to be able to show that it can actually connect to a specific contract whether or not somebody mints something or looks something up you know that's still good and then obviously production
is mainnet that it goes so just recap production mainnet deploy prs testnet and then ci processes are all local in terms of a specific contract so that's my idea uh that's how i still see it but i i i don't know anybody has any other thoughts or so should we set up some like staging environment on deployed vrs because currently just have production environment which is magnet and there is something like pw pr by the vgrcl i don't want to say correctly it's just something like
production preview but there is nothing like a testing site for people to try with some test net actions yeah so do we need to set up a staging environment for test net currently the pr is just set up and using test net for local mro yeah yes uh you take it then basically that that's what we want to do um uh but i don't like it for me like i don't know if the per deployment uh or sorry per commit deployments on versailles how to
configure that to be a test or whether or not we are or that's like abusing the system um so that's like a point of research that um i can i can take on and try and figure out but the yeah that that's generally how i would see things playing out as well i don't know if you have anything to add on that man uh yeah i was actually going to say that uh test net would just be the robsteen network so it would just i can't i don't know if we actually i would assume maybe that we that nader did a deployment to the robsc network of the contract beforehand just to play around with it so my thinking is that whatever pr's are deployed they get to interact with the rap scene network so it's not like a
local like deployed contract that we set up another server that would only be with the docker hub and the ci process so whatever is on a pr would actually be interacting with a contract just the robsteam network basically not mean that that's the way i saw it so in terms of like narbs in terms of the work it's really of just being able to change out the contract um the contract yeah yeah yeah and it's uh the network actually that's the one that it's the it's deployed on okay but i mean we can deploy it on ropes until it doesn't matter just it's just like it's there then we'll just get an idea for it yeah the the point though like the caveat like you
mentioned is that once a token's like minted you know like you obviously can't go back and reset it but it gives you a more live interaction with things yes exactly i mean the nice thing about the testnet is like if if ever all the things get minted we can just deploy another contract and it's like pointed to the new one and we set things but yes more housekeeping than anything we probably don't need to test the fact that a deploy contract works every single or like a deploy call works with every single deploy either yeah but that's just like my opinion yep yep all right uh
add resources pages next unless there's anything else on that one uh so that one is you know functionally good but it does bring up the very valid point that there's a really rate limit of five requests per second and you need i think all five of those to render the page once because it has to get one call per table in the air table so when you're hydrating your resources with the categories authors block chains and i think there's one more okay so you aren't taking the full bucket but you're also making it so nobody else can do it um
so we need a caching proxy as their recommended solution and they don't offer any kind of higher rate limits so you can't even buy a higher rate limit so that's a thing let's just do use notion then let's just move everything to notion all right get out of here yeah wait no ma i think manny just volunteered to do that he's going to set up the notion api i just no no that's what i heard you know but yeah so i think that's probably a thing that could be done and the very worst case would be to throw it all out
and go all the way to the more basic level of superbass but i don't really want to do that because we've already thrown out notion in favor of airtable does vercell have any like i know it has functions right does it have any db capabilities that we might be able to take advantage for free actually i have no clue we just need a dynamic json file that we just need to update somewhere right like i mean yeah if we generate like it's going to be less than live anyway because
well no so the air table api calls are going to be live so the resources page will be up to date it's the other thing the generating the markdown will be static but we could yeah we could periodically generate a json file somewhere and serve off of that i don't know if you could make use of the functions result functions for that okay yeah i understand it's basically like a lambda right so yeah okay so that's something worth looking into yeah you can use isr so it caches these are all right i assume this is
versatile stuff yeah yeah okay and that will find the same stuff it's just like if you throw out the same inputs you can cache it for x amount of time and then so that way like you won't run into the rate limiting most likely because like a lot of the common thing like i don't imagine like those air table categories and stuff will change that often i don't know maybe i'm okay with the day of latency on it anyway but the only request we make is a full list it's not like we're querying specific ones okay so so yeah sounds like we have a solution there adding the hook to get the dev nft
supply there were changes requested yesterday but progress is being made that's 160 redesigning the landing page so pr159 is a draft that goes with issue 114 already discussed show available token list on the min page that's 158 mentioned in pr160 that is yeah adding the hook to get the dev nft supply i believe that's all progressing together logging internationalization key misses per language file that's 127 that is going to be reverted to an in-repo script so that'll be a husky pre-commit and it'll just tell the
developer hey these keys need these languages and then it's on the developer to actually check the issues make sure there are the issues that need to be created and create any that are not there yet uh it's a great learning exercise about get hooks or not get hooks get actions and then pr 105 that is blocked by the build issues referred in issue 98 so we already discussed that as well moving onwards to design so i kind of mentioned it before i think that it's worth looking at the about page and figuring out what that's going to look like regardless of what the exact words
are going to be we can lower mipsim it out and at least have a figma that's ready for i mean we've got the proposal so the words are pretty close to there anyway do we have a german as a supportive language i'm pretty sure we do it's d it looks like in german because it's like one of the longest letters for words we'll definitely change the look and design it's worth looking at but it's usually pretty dense meaning like you know we use articles and adverbs and stuff and they're just like let's mash nouns together because i know french is a little bit
longer spanish obviously but german those words man they're long no that's a good consideration for line breaks and stuff you know break on white space there is no white space uh yeah and if anyone sees inspiring type website stuff cool we could share that like in terms of what we want the about page to look like basically my opinion is we should be thinking about the about page so we're able to turn out an about page as soon as the content is ready proposed features and projects i'm not aware of any miscellaneous
god this trump's broken at this point the horse has been dead for months and i'm just beating a skeleton but season zero is coming and there's going to be some stuff for us to do this week yes soon trademark uh but yeah there are three call outs specifically in the proposal that's on the forum so the primary objective during season zero is to build and launch version one on the website with a structure and content that helps the dao deliver on its mission values and goals to potentially include the following landing page that gives high level overview the dao and encourages people to take action join check out projects learn web3 projects pages that primarily highlight the ongoing dao projects and also provide some visibility for member projects created
in slash for the dao it's members and he included an apostrophe there and then a contract or partner with a section or page so that's basically modifying or extending the project page and adding the contact or partner with us page and those are the things i see on the horizon based on what the season zero documentation has that we haven't already started addressing because the landing page rebuild i'm gonna be conspicuously ready about the same time and the about us page we can hopefully turn around quickly with season zero but we already know it's coming and that's all i've got
yeah i highly recommend checking out that proposal um because uh we're gonna be putting it on snapshot soon to make it official and i think it really kind of goes into how people will actually be able to get involved um with season zero we're going to be starting a couple different guilds as a dow to focus on big picture areas so marketing and business development is one of them what do we have design writers uh community and then a developer guild which i think will apply to most of the people in the dow so what
we're actually thinking is starting a developer guild which will encompass most of the developers and then as a collective determining how we want to break that up into sub guilds so front end guild back end guild solidity guild whatever we come up with and that's going to be nice because it's going to enable us to start building more things as a group that isn't just the website everybody's coming to the website project and wants to help there's not really that much that we want to actually do with the website it's just meant to be our static page for marketing ourselves and displaying resources that we collect some basic things like that but as we
get into guilds and especially as we get into season one once we figure things out we're going to have a lot more projects that aren't just the site that everyone can get involved in and start to actually make an impact on so there's a lot to still figure out but i think as we get into season zero we'll be able to start collecting ideas of what we want to work on as dao and a lot more things will become available that people can actually do other than just playing with this static site that we have so exciting lots of big things coming up very soon so yeah be sure to check out the proposal and uh i think i'm going to actually
announce this tomorrow at the town hall so if you have time you should show up and hear kemp and natter and a couple others talk about their vision for uh the seasons and kind of uh get excited with everybody you know hype for mark too because that was your god emperor of developers speaking we don't have a title declared yet but it's leader and leader is always in quotation marks because it's like i don't need that kind of pressure in my life i'm just here to help organize and push things along so yeah there will be opportunities for people to do development um you don't have to join
the developer guild you could join one of the other guilds join multiple guilds there's lots of different ways people to get involved and i think especially as we break apart into sub guilds there will be opportunities for more leadership positions if that's the kind of thing that you're interested in so there's a lot of opportunities coming down the pipeline in the short to medium term so pretty exciting but yeah has anyone else got anything any thoughts concerns etc or maybe even feature proposals or feature proposals that was a point that was before miscellaneous you missed
the window sorry no more yeah uh i did want to call out that we have a couple people trying to assemble a job board project um it's like real early days there's not really even anything figured out but there is a repo on the developer dao organization so if you're looking for something to get involved in that involves more than just a static site that could possibly be an opportunity i'll link to it in the developer text voice text channel if my cat will get out of my way um just so you have something to look at maybe discuss some ideas over there or
something if you're interested in tess which is so so sexy uh then check out the uh tooling um thread or whatnot uh narp and uh and gibby and i are kind of going through uh just different tests to find tests with wallets and head tests essentially so if you guys want to follow that along definitely check it out it's bleeding edge tests you know amazing stuff building cool that's right i should preface that that the touring
channel itself was originally spawned out of the the the fact that there's any good wallet mocking libraries out there and that we should explore basically doing so um though the there's no like concrete uh kind of pro project around it at the moment uh and the channel itself tooling is kind of general but the hope is that we can discuss like any cool kind of tooling projects that or initiatives that we might want to do
as a doubt so if you got any cool ideas or or just want to spitball come up and join the channel are you trying to mock the wallet for unit tests are you trying to mock like network requests and like the end to end tests or both i think originally we're oh well i think at the moment we're mostly focused on the end-to-end tests um but the the the libraries we did find are very like metamask specific um so there isn't any like good generalized mocking libraries out
there and it seems like the way most people are doing it is just like legitimately mocking every single method call in uh that metamask provides which i don't know how scalable or or future proof that is because if something changes the metamask then our or the libraries will not work properly anymore so it's it's a complicated area and which is probably why there's nothing um great out there yet so yeah because because normally when you're doing end-to-end tests you don't care about the third party because it's not your app so which is why you're mocking it obviously but um with cyprus you can intercept network
requests so instead of just to kind of flip the idea but instead of trying to mock the whole api just monitor what network requests are going out and then intercept those and you know you'll know what the payload looks like and then you can just pop that in and then it would run in theory it should run seamlessly uh it's it's like pretending like it actually did the requests and stuff for for end-to-end tests at least that's probably the way i would go with it um but uh i'm gonna join the tool channel and and bug all of you so do it yeah for sure awesome all right do i get to my project now
well let me stop recording first i don't want to have your pii out or not your pii whatever your ip your precious ip
Related talks
- Dev & Tell | Dhaiwat - web3-ui
- Dev & Tell | Giancarlo - Dappify - Build3r
- The Web3 Video Stack - Eric Tang
- Onboarding the Next Generation of Ethereum Builders with BuidlGuidl
- DevNTell - Nader Dabit - Smart Contract Development with Foundry
- How to use Docker in Web3 | Learn Web3 | Developer DAO
- Accelerating DeFi Innovation: A Single Platform for Smart Contract Development
- Rust & Solidity: Interacting with Solidity on EVM chains from Rust
- Website meeting 2021 11 11
