Skip to content

Challenge

SCAND was asked to create blockchain smart contracts to power an NFT gaming platform in the metaverse. This included building web applications that would allow users and admins to manage and use different types of tokens—both fungible and non-fungible—as well as participate in both on-chain and off-chain gaming activities.

This meant the solution needed to work with the blockchain, handle events from smart contracts, and enable users to perform actions that combined communication with apps and the blockchain.

The challenge was also to support several blockchains, such as Ethereum and Binance Smart Chain, where events from both chains affect users or their characteristics.

The solution had to include several individual but inter-connected products, such as a blockchain lottery system, ERC20 token vesting and staking, governance mechanisms, referral programs with blockchain rewards, sale of lucky wheel spins, and support of game leaderboards and achievements

Approach

Our approach focused on establishing a stable and reliable connection to the blockchain, ensuring that both users and the system could easily sign transactions and access important data through a web3 experience.

For this purpose, we used trusted blockchain node providers like Chainstack and popular WalletConnect SDKs. Additionally, we created a special module that allowed the system to sign blockchain transactions while securely storing all related wallet private keys.

The user app was developed in Vue.js/Nuxt supporting animations, and diverse and complex UI elements, such as graphs, diagrams, tables, etc.

Blockchain smart contracts were verified and audited by an external auditor, Certik, to ensure compliance with the decentralized approach and bug-free status.

The management functions were handled by a special smart contract, requiring a specific quorum of signatures for any decision made.

Key Features

SCAND has developed the following features for the project:

  • Gaming Environment: Including leaderboards, special boosts for certain NFT holders, and rewards for achievements.
  • In-Game Purchase Management: Allowing users to buy items using integrated payment providers and a custom smart contract for payments with ERC20 tokens.
  • Referral Program: Offering rewards for players who refer others, with blockchain-based claims.
  • NFT Buying and Minting: Users can purchase and create NFTs (ERC721, BEP721).
  • Blockchain Lottery: Features a random number generator to pick winners, automatically starts and ends game rounds, and allows users to claim rewards.
  • ERC20 Token Vesting: Managing the distribution of ERC20 tokens over time.
  • Token Staking Rewards: Allowing users to stake their ERC20 tokens for additional rewards, with extra benefits for NFT holders.
  • NFT Renting Mechanism: A smart contract mechanism for renting NFTs, with custom fees.
  • Social Quest Game: The game automatically tracks users' task completion and lets them earn rewards.
  • Governance Functionality: Enabling token holders to propose ideas, vote on them, and track how winning proposals are carried out.

Result

The project resulted in the deployment of several blockchain smart contracts in Ethereum and Binance Smart chains that supported the ERC20 token management, game NFTs, token vesting, staking, blockchain game rewards, NFT rent, decentralized lottery, and other functionalities.

The solution also included a comprehensive architecture environment to support on-chain and off-chain activities, a user-friendly web Dashboard app and multiple product websites, and the admin panel to manage the system.

Need a Similar Project?

Please enter your name.
Please enter a subject.
Please enter a message.
Please agree to our Terms and Conditions and the Privacy Policy.

This site uses technical cookies and allows the sending of 'third-party' cookies. By continuing to browse, you accept the use of cookies. For more information, see our Privacy Policy.