Skip to content
by Unity Nodes
NEAR DevHub

Meta Pool for a [REDACTED] Workshop.

about 31:14 long

Nothing is loaded from YouTube until you press play, and then without tracking cookies.

About this video

Meta Pool x.com/meta_pool metapool.app

Stake NEAR, ETH, SOL, AURORA & Q tokens. Receive a liquid token to simultaneously accrue staking rewards and unlock liquidity to participate in DeFi activities

Register for Online hackathon redacted.devpost.com

Live DevRel and Community Support: NEAR Dev Support Channels (Telegram): t.me/neardev DevHub Announcements: t.me/NEARDevHub

Final Submissions Due:October 31th, 2024 Judging Oct 31 - Nov 8th

Meta Pool Bounty Prize: $2,000 (3 winners)

Integrate Meta Pool’s SDK into a valuable use case.

Transcript

4,502 words

Captions as YouTube publishes them, usually machine-generated, so product and people names can be misheard.

  1. 0:00

    what you want what you want what you want what you want what you want that me what you want want want want

  2. 1:52

    and we are live again back here with another redacted Workshop uh I'm super excited uh this is a a little bit of a redo after some technical issues last week but we are here with metap pool uh thanks Owen for joining again how's it going on your side of the world oh good you uh scared me a bit there no warning launched me on stream let just we're just going we're just going now roll yeah no we went to I wanted to

  3. 2:24

    make sure we jumped into it um super quick let's just kind of set the stage here uh so metap pool has a bounty with three winners uh it's about integrating their SDK so most people probably know metap pool as a liquid Sak provider but we have Danny here to uh walk us through what that SDK is and how it all works together and everything else like that so let's not waste any more time and

  4. 2:47

    we'll jump right into it uh Danny thanks for joining us today hey thank you for meting me here for for letting me here sorry yeah yeah no thanks so much um metapo is really well known in the near Community um and obviously for the liquid staking piece of it but I know there's a lot more that's going on there um and I think it would be nice to just before we jump into the Bounty part of it just kind of set the stage real quick a high level like what all the things that are happening at at metap pool as

  5. 3:20

    best as possible you can kind of summarize uh right now yes as you said we are mostly a liquid sing platform but we are developing more things right now H we are working on a borrow and Landing functionality uh considering everything we have the all the staking token liquid staking tokens we have ER and trying as well to deploy our own ER stable token nice our stable coin as well stable coin very cool um there definitely some album for people if they don't know already so

  6. 3:57

    very good how they not know that yeah uh so Danny let's talk a little bit about this bounty here so there is uh it's related to your SDK um if you don't mind kind of just like what is the SDK for a liquid STI provider what does that look like and then if you want to share your screen you're more than welcome to as well yes I know I think uh if you like look on M's website I I love like the like

  7. 4:32

    the Dow governance page and like the validator page um I looked at it for the first time the other day and it was a lot more more built up than I thought um it's been you guys have been building in the ecosystem for a long long time some cool stuff uh well here is for example a presentation I made using this SDK ER we have our own mpm package all M full liquid taking SDK that everyone can download on their project ER and users with this can do

  8. 5:11

    anything calling contract it has functions for eing for making it easier to call the contract contract functions so they can either St their tokens or make a liquid and stake or delayed on stake and also they can check some contract data to know the state of the contract for example so is this an example where uh I can have my users directly stake here and I can check like if they've actually you know have X amount of near staked

  9. 5:43

    through metapo exactly also this could help if anyone is doing their own app the they for example they want they found a strategy that they are sure they're going to make them eror more tokens they that they can win tokens with near so if you do that with Destin you will earn even more tokens or even what could happen is that maybe you think near is going up and it end UPS going down so if

  10. 6:16

    you are an ester if you hold Ester tokens instead of near tokens either near goes up or down you'll be better after time passes mhm is this mainly is this mainly like a front end integration or can you call like the metol contracts or the SDK from a near contract it can be done from both I either it's mostly no it's mostly for backend more than front end uh because you're going to have a transaction er done for example I can run start in this

  11. 6:57

    case and this is what's going to be run here it's obviously on doet it's going to take your credentials from the user I sure for example let's say this user ER and it's going to connect get the account instantiate a mple class and this case I'm going to stake I'm going to suppose I have two near and I'm going to St it stake all of it first I'm going to display the balance and er

  12. 7:26

    then stake it like this so in this case we call m. stake we can see your my initial balance is this so my initial balance at first is this so after I stake my balance from the contract getting from this uh F balance off I can see this increases in this case I can see if time passes a price increases in comparison to near token so at first I have this and if I want to recover my New Year tokens plus my rewards I can call liquid and stake with my balance and

  13. 8:05

    I'll get back my New Year immediately paying a small fee ER or if I don't want to pay this fee I can call metap doesn't stake with my balance and I'll get my near back after up to six days with no fee at all H I know I can withdraw these tokens after calling this on stake uh calling get account info with my user and looking at property called can withdraw nice so what are some different

  14. 8:41

    things that you see are you're looking to see people build using this SDK do you have some some ideas in mind that you're hoping people go with this not particularly anything they do is fine either something related to tokens maybe something with gaming and ER maybe they can use instead of using near tokens to use S near tokens it would be best uh because it will be a better investment for either themselves or the

  15. 9:14

    users since yeah price increases yes I I feel like a good use case would be sort of like lockup contracts where you just have like a big pool of of near there acting for for whatever reason and instead you can just like hold the S there so it's actually doing something I suppose MH yes with only with just ER taking near tokens interest in year not only you can win more more money more USD over time but also you are contributing to the network ER so since there can be

  16. 9:53

    more validators or the near will be distributed over many validators so the networ should be CER at the same time nice is this something where I can say I can like designate that you know my app uh initiated this this uh these amount of tokens so I know that like through my app users uh staked 100 tokens whatever it might be like a referral fee or something yeah like even even not even fee attach but just even the fact of a referral and I'm sorry I didn't understand the

  17. 10:31

    question select the referral or yeah am I are you able to kind of track referrals through the SDK as well ER that would be not for the SDK maybe the developer should do the the referral system on the own got it so do you have like a referral built into the protocol um like rather than than like you say you don't have it in the SDK but it's it something you have like in the metol contracts you know h no no in the contract we don't have referral for

  18. 11:11

    staking anything or anything er maybe a user can build something like this but right now I'm I can think of a good use case for referral on this uh right now the so the referral program that you guys have is separate from the SDK that's a whole that's a separate process yes got it cool oh so what is the uh what's the referral program then I must be uh I must be oblivious to this I I'm was not in charge of

  19. 11:50

    developing this referral program so I'm not quite I I was on other things so I I can't really answer sorry I think I'll I'll have to do some some separate research then sorry uh I also saw that uh along with the uh near SDK you also show a eth sticking SDK uh is that live too uh yes nice and so in uh does that behave the same way uh yes it's mostly the same okay just like a changing just eum for for

  20. 12:33

    yes near for and like if um if you have any like developers we see any developers that are building on this I know uh it's there's only a few couple of days left of the hackathon but this seems I mean we we we got through it pretty quick so it seems like something you can Implement really rapidly uh it's is there like someone they can reach out to for assistance or like a developer group chat where you

  21. 13:04

    can get support with this or where can developers like find this documentation uh documentation it's on docs. metapa and you can find it on our website as well metapa ER and there should be anything also I believe the repo is public but I can if asked over Discord we should be able to share it as well cool so like Discord is the the best place for developers to get in contact would you say yes cool nice let me here I can you guys can

  22. 13:51

    see my screen uh so yeah so it looks like you do have a link to the GitHub here uh there again so oh and if you want to do some little more research here about like the referrals it's up here in the middle uh but yeah there's some you know again looks like your your eth SDK is is here as well so H yeah looks look looking you can do a few things here uh what are do you guys have anything

  23. 14:27

    coming on on your road map that you can talk about that maybe would affect developers in building on top of this no I don't think so nothing that could affect them okay and I see like you have I obviously see we're we're clicked on near Network right now but we also have ethereum there I wonder if anything can be done with like multi-chain hair um maybe maybe maybe you can stake

  24. 15:01

    like uh because I think you have do you have liquid Stak ethereum is that correct yes we have near etherum Q token Aurora ER ICP not sure if I'm forgetting anything so maybe someone can Sal as well maybe someone could do something interesting where they like use chain signatures to like stake ethereum with with metap um yes and and different ones and maybe they can like I think this would be a bit more

  25. 15:39

    difficult but like aggregate these these uh these these liquid state tokens but I think that's that's my mind going wild a bit though yeah oh well sounds good sounds a good project yes inde is this something that actually live here as on the screen here um these API endpoints uh I'm not sure about all of them the first two should be and The Meta ster I'm not sure because we changed it to MP the name right maybe that we should be upgraded a little bit what kind of data is this just all

  26. 16:21

    just price data H yes that's price data perfect well like uh our or H like what sorry like you said priz dat Joe do you know what like uh what priz data is this like Oracle you can use or uh yes first one for example is the exchange rate for S near the second one is between s and US USD s s so yeah so let's um you know uh one more time I'll give you the screen back here so just kind of high level for people who just kind of may've joined uh I'll remove my screen uh if you want to show your screen one more time Danny

  27. 17:12

    here just kind of talk about again uh just the mpm package just adding it in and the calls that you can make um from there yes the mpm package is this one metol uh AOL uh SL liquid sing SDK and we have many functions here we can also get in here so first we how to instantiate the class metol H with the account we want to call and maybe the contract that can be different for test net and Main net

  28. 17:46

    and from there we have H functions that interest us the most are ft balanceof to get the balance of an account next near H the stake method that will stake my near tokens near tokens I share here so I will get SAR tokens back once I want to get those Tiner back to near I can call liquid and stake sharing my theer I I have in Yos so with the 24 decb and I have to share as well the minimum expected deos in near I I'd like to receive uh and doing the by doing

  29. 18:30

    this I will get the near second back with the rewards I have over time except for a little fee that we charge because this is liquid this is the moment H we can also have well if you want to know for example how to do how to find out this parameter H you can use this get new amounts ltin here uh we have also some contract INF from State and params here that maybe it's not fully necessary but someone may might find something interesting here ER this would be the

  30. 19:09

    number of accounts holding atiner that's for metrics not not very relevant a accoun info to know information about your own account or if a or if a developer has some users H they can know something as well here also we have unstake ER sharing the amount of Ester you have ER or unake all that will not request this parameter and will unstake all the s near you have and after this will get

  31. 19:42

    to your near back but instead of having a fee with like liid liquid and stake you will have to wait a couple of days H to get it without any fees uh once these uh near tokens are when this s is on stake ER you can call you can periodically periodically call get account info to know that and once you get from here that you can withdraw you can call withdraw to get to actually get your near tokens

  32. 20:15

    back another possibility users have as well is the liquidity that this is for the liquid and stake part that they can add add near tokens to liquidity ER they get they will get uh some part of some share of the liquid and stake fee or also they can remove the liquidity as well nice great yeah so I like how you um like it's really quite abstract this SDK so you don't have to really deal with like well it doesn't seem like you have to particular deal with like near

  33. 20:53

    API GS or or stuff that much you just sort of use these methods um so it's like nice nice how you've done it and it should be good good developer experience I could see this being like quite a good Bounty for for someone relatively new to n um seems like one someone can pick up quite quite easily because it it's so like abstracted um thank you yeah perfect uh yeah Danny I I appreciate you coming on kind of walking us through that um if people here uh if you haven't already seen the

  34. 21:34

    uh the Bounty uh through the redacted hackathon again going through the 31st here so there still is time to integrate metap pool you can integr you know just join period uh if you want to hack the next about uh 48 hours or so and really here there's a lot of opportunities to stack bounties as well so if you're doing some of something else you want to now add in The Meta pool feature you can

  35. 21:57

    stack a bount and go from there uh as well uh I really appreciate thanks for coming on today Danny thank you very much good to see you D take care good to see you take care all right so uh let's take a little bit of time here uh Owen and I just want to uh walk through some of the other stuff that goes on here on metap pool not not Financial advice yeah this is not Financial advice this is just the service um by no means are we saying that go use this but I think it's good

  36. 22:35

    to know that these are this is what's available here in the ecosystem and Med is actually doing something a little bit unique and different than um a just a standard uh liquid staking provider so there are a couple different parts and if you are a validator you can actually apply to actually get additional funding towards your validator through the liquid sing process so you can you know they automatically will distribute it but they actually have ways through

  37. 23:04

    their voting feature that yeah I think this this dashboard is so cool yeah it's pretty neat and so you can if you own metap pools token it gives you voting power and you can vote on a diff your own validator if you have one or somebody else's and you can essentially sign those votes and based off of that they take a certain percentage of their tokens to then get a little bit distributed a little bit extra from

  38. 23:31

    there and so you can see who actually uh is getting some stuff and it's all kind of in real time uh each uh epic they actually will re you know redistribute tokens accordingly and you can see like how many total votes different validators have uh so it's a nice little feature there too they also done on like performance there as well so yes I mean it's it's it's kind of it can be difficult to get enough amount of me to make your validator like

  39. 24:05

    profitable um to start with like any other Eco system so if you've got like a you got a boss ass set up and you've got no down time then you can get some some there through this um delegated so it's it's a cool um it's a cool cool system yeah it's it's it's a really nice opportunity it's a nice way to activate a community as well um so if you have a community around that U they also have grants that so again they use the

  40. 24:35

    rewards that are coming from the liquid staking to actually provide some grants which again I think is a a really pretty cool setup here as well that gives you an opportunity to again reach out we can look at some of the different grants here you can see what it looks like and again it's all about engaging the community because you actually have to go and get votes and people have to contribute back to it so it's not just like I apply and if they like it they'll

  41. 25:00

    do it you actually have to have people who own um some of the voting token to actually go in and put their vote towards what you're doing and uh it's a neat approach I would say like this is one of like the most undervalued projects from like a technical perspective like they that one of the first if not the first and probably the largest like Stak weighted voting system on on there yeah yeah totally is great use

  42. 25:39

    case you can see where you know it can work and and you can see how some of the stuff goes um they do some different like reaking stuff with some different chains they are on multiple chains as you can see here um so it's not just near uh but they do actually support other chains you know obviously there the standard staking feature here which is you can you can use what you know

  43. 26:03

    however you want to do that um and it's really fairly straightforward and it's all all permissionless uh they really have done a nice job you can read through they explain how everything kind of works how the token works and all all the different parts of it um all their audits are here uh they're very transparent about how all of this works and they're really focused on really you

  44. 26:27

    know providing tools that are not just liquid staking but actually really building a a community and building being part of an ecosystem as well so uh pretty pretty neat stuff um you know I it's I definitely want to encourage um people that you know if you are looking to add something into your project like you know an opportunity for you users to stake um like Danny showed you can use the SDK really easily uh get

  45. 26:58

    again combine it with different things if you want to track how people donate you can make your own referral system however you want to do stuff uh I think you could do this pretty quickly because that was pretty straightforward SDK I don't think that would be too hard to do yeah yeah for sure yeah I think it's a a great one to start on definitely yeah yeah and um and again if you want to see you know if you want to provide liquidity you can see what the different rates are um you know and so all this

  46. 27:28

    stuff they make everything out in front they don't hide any of the different numbers it's all clear right here of what it all looks like uh what's going to happen what does it mean uh so they really try to educate as well as you go through all of this stuff it's not just about like hey go do this it's what does this mean and how is this going to work uh and from like a developer perspective as well I think most if I don't know

  47. 27:58

    about like the voting contracts and stuff but I know this like the staking contract is open source so um like I know I I've seen reviews there's a YouTube video somewhere reviewing and like going through how the staking contract works I do believe um so it's like a great repo to look at if you're getting into like you want to build something with defi right um it's it's always easier to I I'm unsure

  48. 28:32

    of the license so if it's if it's not fully open source don't take my advice but it's always easier to Fork than to start again they they are are very big on um doing things open source and so uh I'm sure it is and if it's not it's going to be soon maybe just needs like an audit or something um we can kind of wrap here but I I do want to highlight um we have crossed the 1500 participant number here

  49. 29:06

    for redacted which is awesome um that that prize number there over $700,000 in prizes you have until October 31st uh the actual time I don't know the actual oh here you go 5:00 P PM eastern time so whatever time zone you're in it should show up what that looks like uh but so about a little less than three days uh you know to get there I would also say again go through the different bounties you can stack bounties there might be little things here and there like we just saw how easy it was to

  50. 29:39

    include metap pool take a second go through hey how can I do that you know easy prizes right here um we've had most of these partner uh bounties here come on and do Workshop check out the YouTube channels for for devhub on your protocol there's Ama there's uh workshops everything is here for you to really maximize uh what you want to build and if you are stuck please please come ask questions all the resources are right here at the top here of the tab and you

  51. 30:14

    can jump in here are the different telegram channels where you can jump in and start asking questions yeah that the the telegram will come in useful for sure definitely uh so don't hesitate take your chance a lot of money is up for ABS a lot of cool stuff uh and then uh redacted itself is coming up uh as well so the IRL event which is going to be great so uh looking forward to what

  52. 30:39

    seeing what people build uh we have an actual another Workshop today uh in little under about 30 minutes uh we have proximity coming back on to talk about building on top of Bitcoin uh using chain abstraction oh are so uh that's in about 28 minutes from now uh make sure you come back to these channels uh it's going to be a good time pretty cool stuff and they're going to give some real good examples about how to actually start building a uh pretty intelligent layer on top of

  53. 31:14

    Bitcoin so look forwarding looking forward to that uh but until then we'll see you in about 30 minutes and I keep building thanks all bet we're still live hold on all right till then byebye