Open Sourcing Multi-Pool Soft Staking Infrastructure with Merkle Proof Reward Distribution

Hey everyone! I’m David, the founder behind rxelms (soon to be Polaris) and the Node Keepers. We’ve built a soft staking platform on Algorand that’s currently live with around 600,000 ALGO worth of assets in TVL on the platform and 151 unique stakers. We’re applying for retroactive xGov funding by open sourcing the full stack: Smart contracts, Merkle proof reward distribution, Supabase schema, and everything in between. So other Algorand builders can use it as a reference or build on top of it. Would love to hear any thoughts or questions from the community!!

I’m going to wait for the block 60mil and then submit again after being advised to do so. But here is what the proposal will say:

Multi-Pool Soft Staking Infrastructure with Merkle Proof Reward Distribution on Algorand

We have built and are operating a fully functioning staking platform on Algorand that currently holds approximately 600,000 ALGO worth of assets in total value locked across 22 pools with 151 unique stakers. The platform supports single token staking, NFT staking, and LP token staking, with daily and weekly reward distribution models.

The core innovation is a soft staking architecture combined with an off-chain merkle proof reward system. Tokens never leave the staker’s wallet, stakes are recorded off-chain in a Supabase database with on-chain balance verification at claim time. Rewards are calculated via an epoch script that builds a merkle tree of cumulative claimable amounts. The merkle root is published on-chain by the pool creator, and stakers claim rewards by submitting a merkle proof to the smart contract, which verifies the proof and pays out the difference from their last claimed cumulative. Pool creators can choose to publish their own epochs or let out automated system do it for them. This system scales to any number of stakers without on-chain storage costs, and keeps reward distribution transparent and verifiable.

We are open sourcing the complete stack as a reference implementation for Algorand builders: smart contracts, Supabase database schema, stake management and merkle proof edge functions, the epoch generation script, and full architecture documentation.

You can try it out for yourself if you own a Node Keeper (we gate access to the pools, they require at least 1 Node Keeper in your wallet. @nodekeepers, @rxelms dao.polaris.city (website)

80,000

DeFi

Retroactive

Your proposal is in the drafting & discussion phase

13d 21h 45m

View the discussion

DeleteEdit

Submit

About the team
We are dedicated to making our overall project a success, the rxelms project is about to get a complete make over, new website and rebranding to Polaris. The staking platform/DAO is key to our plans as soon it will also include on-chain voting allowing our community to help shape the project. We’re currently about to release a free to play version of the fighting game we made on Google Play. A new version of NFTURBO is set to be released soon and with every day that passes we are getting closer to launching the metaverse. Also getting built is Unity tooling to allow people to easily add Algorand blockchain functions to their Unity projects which I think will be great for the community.

Additional Info
Retroactive funding from xGov would make a significant difference to our ability to continue developing. We are a small team building across multiple products simultaneously — the staking platform, the DAO, a fighting game, NFTURBO, Unity blockchain tooling, and a metaverse, all driven by genuine passion for what Algorand can become.

1 Like