One of our team-mate was on etherscan exploring some transactions and saw an advertisement of https://stake.com/ which was giving 200% bonus on first deposit, when our team-mate deposited the 120 USDT into this platform they gave him 360 USDT as total balance and when our teammate started playing game he was shocked to see that he was only able to play with 1$ per game of Play Plinko Online - Pachinko Casino Game on Stake.com and was unable to increase the betting amount coz he was using the bonus scheme of 200% and when he tried to explore and play other games on the platform he got to know that this platform he had been cheated under the name of terms and conditions as he was new to the web3 and web3 gambling platforms and the platform only allows player to play with 1$ per game so basically he have to play 12,300 times to use up the $360.

When he tried to withdraw money they showed him this rule list of wager limit which said that if he wants to withdraw the deposited amount then he have to play $12,300 worth of game play and this was the big shock for him where he was explained a maths logic by their live support. Thereby, In the hope of getting the deposited money back he played the game pachinko entire night and lost all money.

He was very annoyed of this and that's why he wanted to make a game which is a combination of defi, ai and gamefi all in one platform where new web3 users can play games, perform gambling but have a safe, secure, transparent platform that does not scam any of their users. Also we wanted to address common issues in traditional gaming platforms, such as high fees, lack of true ownership, and centralized control, by leveraging the power of Chainlink and other blockchain solutions like Polygon Amoy, Cardona, Avalanche C-Chain, Scroll and Metis.

3 Main Features

PowerPlay offers a multifaceted platform with three main features:

Social Aspect:

  • Users create AI-generated NFT profile pictures based on keywords.
  • View a community leaderboard.
  • Explore other players' profiles, recent activity, and ENS.

Gaming Aspect:

  • PowerPlay includes a fully functional European roulette game.
  • Users can place various types of bets such as straight, split, street, corner, six line, column, dozen, red, black, high, low, even, and odd.
  • The roulette wheel, powered by Chainlink VRF, randomly generates winning values.
  • Winnings are automatically calculated and transferred to the users' wallets using Chainlink Automation.

Lending Aspect:

  • Users can deposit any tokens on any chain as collateral to borrow LINK.
  • Facilitates gameplay without the need to sell existing holdings.
  • Ensures players have the necessary assets to participate in games seamlessly using Chainlink Data Feeds for real-time asset prices.

How we built it

PowerPlay was developed using a combination of Chainlink services and blockchain technologies:

  • Chainlink Functions: Used to mint NFTs on Avalanche with DALL-E3 (Open AI).
  • IPFS Server: We built our own server to save costs and ensure smooth integration with our internal API, which stores NFTs and metadata.
  • Polygon Network: Deployed the roulette game logic for fast transaction speeds.
  • Chainlink VRF: Implemented to randomly generate winning values in the roulette game.
  • Chainlink Automation: Used to automate the roulette wheel spin, calculate winnings, and withdraw winnings to users' wallets.
  • Chainlink CCIP: Implemented Chainlink CCIP for cross chain transfers and communication across chains to make it convenient for users and ease their struggle of jumping between chains.
  • Chainlink Data Feeds: Employed to fetch the latest asset prices for calculating the maximum borrowable amounts in the lending contract and displaying up-to-date prices on the UI.
  • Scroll: We deployed the DeFi aspect of PowerPlay on Scroll's Sepolia Testnet, leveraging its EVM compatibility to ensure seamless interaction with our smart contracts.
  • Metis: We drew inspiration from existing GameFi applications on Metis and implemented features to merge gaming with financial blockchain mechanics. Deployed Contracts too.
  • Polygon Cardano: Our MVP is deployed on the Polygon Cardano Testnet, featuring a functional frontend for seamless interaction with our smart contracts. This deployment leverages the scalability and compatibility of the Cardano zkEVM Testnet.
  • Polygon Amoy: The lending feature of PowerPlay is deployed on the Polygon PoS network, utilizing its high throughput and low transaction fees to revolutionize financial services within our platform.
  • Avalanche Fuji C-Chain: Deployed Contracts and Utilized Avalanche's Fuji testnet for its high throughput and low latency, deploying parts of our platform to leverage these features for a seamless user experience.

Challenges we ran into

We faced several challenges during the development of PowerPlay:

  • Integration of Multiple Chainlink Services: Ensuring seamless integration of Chainlink Functions, VRF, Automation, and Data Feeds required careful planning and testing and understanding Chainlink routers and supported chains was initially difficult.
  • Cost Management: Developing and maintaining our own IPFS server to store NFTs and metadata was a cost-effective solution but required significant initial setup and ongoing maintenance.
  • Cross-Chain Compatibility: Deploying smart contracts across multiple chains and ensuring smooth interoperability was a complex task that demanded thorough testing and troubleshooting.
  • Setting up the DeFi part also posed challenges, as we contemplated creating our own platform token. However, we realized that using LINK tokens would be more efficient and user-friendly.
  • Getting Scroll, Metis testnet tokens was a little bit confusing but we managed to get some. Thanks to their quick respond team.
  • Time constraints did not allowed us for implementing gasless transactions using Moonbeam's Call Permit Precompile but we prioritized delivering a functional and reliable platform.
  • We were also figuring out the Lens protocol integration but did not find a valuable use case in the short timeline.

Accomplishments that we're proud of

All Contracts Tested, Deployed and Verfied:

Contracts Video: https://www.loom.com/share/617e2aab398f413ca8ceaf232b27bb73?sid=aec5eb5b-4681-47cc-96bf-3f0909395350

  • Successfully developing a fair and transparent gaming platform that counters the exploitative practices of existing platforms is a significant achievement.
  • Integrating multiple Chainlink services with Gamefi, Ai and Defi a complete package to ensure a robust and trustworthy system is another milestone we are proud of.
  • PowerPlay as a competitor to Stake.com, offering users a trustworthy and enjoyable gambling experience.
  • PowerPlay offers a visually appealing and user-friendly interface, making it highly accessible and engaging for users another thing we are proud of.

What we learned

We gained extensive knowledge of Chainlink's VRF, Automation, Functions, Data Feeds, CCIP, Polygon, Avalanche, Metis and Scroll. Understanding the complexities of cross-chain lending and developing a seamless user experience were valuable learning experiences. PowerPlay also highlighted the importance of clear and fair terms for user engagement. The roulette conditions, logics, behind the scenes and gameplay mechanics also we learnt.

What's next for PowerPlay

Made Big Plans all though started as a idea for building in the BlockMagic Chainlink Hackathon but now we are thinking to carry forward as a business model and expand further.

  • Applying for Grants: Seeking funding to further develop and expand the platform.
  • Mainnet Launch: Deploying PowerPlay on the mainnet for real-world use.
  • User Testing: Conducting extensive user testing to refine the platform.
  • Promoting the Product: Marketing PowerPlay to attract a wider audience.
  • Mobile App Development: Launching Android and iOS applications for PowerPlay.
  • Designing and Creating Unreal Engine Graphics and Game
  • Introducing new games to the platform
  • Enhance the AI capabilities used for generating NFT profiles to provide even more personalized and engaging user experiences.
  • Explore additional DeFi features like staking, farming, yield strategies to offer more financial services within the platform.
  • We also aim to implement gasless transactions to enhance user convenience.
  • Enabling Developers to build mini games and host it inside the PowerPlay platform and Bringing in new monetization to compensate the casino games/ game creators.
  • Having a inbuilt live streaming for gameplay, allow players to do streaming within the application.
  • Support 50+ new tokens and 20+ new chains within the next few months after the end of the hackathon.
  • Be the biggest gambling / games hub centre of the gaming industry.

By aligning PowerPlay with the hackathon tracks and integrating multiple Chainlink services, we have created a robust and innovative project that stands out from the rest in the decentralized gaming and financial services space.

Built With

  • amoy
  • automations
  • avalanche
  • cardona
  • ccip
  • chainlink
  • dall-e3
  • datafeeds
  • functions
  • hardhat
  • ipfs
  • javascript
  • metis
  • nextjs
  • polygon
  • scroll
  • solidity
  • vrf
Share this project:

Updates