Launch a customized L2 rollup for the Ape community with governance token, swaps, and voting in one click with the OP stack!
Every Ape can be the tribal leader for creative projects and new dapps - and this requires far better scalability than relying on the expensive layer 1s! Apeverse offers the solution to spin up customized L2 rollups for each ape to build their communities. The apeverse rollup comes with native governance token, a swap feature with the apecoins, and governance proposal and voting methods! Moreover, after the initialization of the rollup, all the interactions happen in a game format: one can plant and harvest $banana as the rollup token, and swap or vote by the participation cumulated tokens. We need scalable and decentralized solutions for metaverse innovations that are yet beginning.
The game is created with Phaser.js and backed with ethers.js to enable smart contract interactions through the node modules. I tried to use Godot for the game engine but constantly hit into issues with web3 compatibility and therefore found Phaser as a better choice. The contracts are written in Solidity and tested and deployed with truffle, hardhat, and remix. I referenced various AMM and swap contracts as well as the Compound governance and Openzeppelin's governance contracts to design the contracts. The most heavily lifting work is deploying the L2 rollup on top of a L1, and this is done through the amazing OP stack with its geth, node, and sequencer engines. Alchemy is used as the L1 Goerli RPC, while local RPCs with my local machines are used for the rollup.