Skip to content

Why API support for Moonstream Dropper is a big deal?

Moonstream VS Dune

Weekly updates 4.13

Latest news from our team:

> April 12th, the Shanghai Hardfork took place on Ethereum Mainnet. This hardfork added a few EIPs, one allowing staked ETH to be withdrawn. We were ready for Capella/Shanghai fork at Ethereum blockchain and supported it. 

> A new mechanic for Great Wyrm will soon be released. We already playtested it and will now work to make further improvements. If you enjoy battle mechanics, you will like it! 

> An evening’s entertainment plunges you into political intrigue… Can you guess what it is about? The next Reda Game starts today. It is called “The Grand Finale.” Let’s play together on GW discord.

> This week, we released version 0.0.5 of solface, our code generation tool which creates Solidity interfaces from ABIs. The new release of solface adds the -annotations flag, which you can use to annotate the generated interfaces with their EIP165 interface IDs. It also annotates each method with its 4-byte selector. More details about this release on GitHub.

> Last week, we completed work on the newest version of the Moonstream Dropper contract. The latest update is based on 9 months of continuous mainnet operations with the Dropper, and introduces huge improvements in user and developer experience. This week, we added API support for the new Dropper. It allows games to distribute tokens to their players through a claim process:

  1. Games register allowed claims on the Moonstream API
  2. A player can see using the Moonstream API if they have any open claims.
  3. If a player has any claims, they can submit transactions to the Dropper contract to receive those tokens.

This is a big deal as, unlike regular airdrops, it means that only engaged users actually receive tokens.
It is also helpful on networks that experience frequent chain reorganizations (such as Polygon). It reduces the operational burden on the games themselves by making users submit transactions. Users can easily replay transactions if they get dropped from the chain during a reorg.
Documentation for our new API endpoints is available here.

> On-chain token distribution with the Dropper requires game designers to authorize player claims using signatures. Some projects using Moonstream have to authorize thousands of claims per week. Doing this using a wallet like Metamask would require thousands of clicks – multiple clicks per authorization. To make life easier for people using Dropper at scale, we are developing a tool called signer which helps them generate thousands of authorizations in a fraction of a second. This tool will go live next week. You can track our work on GitHub.

> This week’s Twitter thread contains a link to this week’s blog post on the same topic: comparing Moonstream’s Query API to one of the most popular web3 analytics tool, Dune.

> We completed research into how decentralization is perceived by non-web3 gamers. Today we are presenting our main findings. If you want to add anything to our conclusions, let’s talk on Discord. 

That’s all for the week! Don’t forget that the next Reda Game is live today, join us and let’s play together. If you have any questions, don’t hesitate to ask.