"Unleash Your Potential: Engage, Collaborate, Succeed!" Step into our innovative blockchain experience! Our platform combines the thrill of interactive gameplay, the power of community engagement, and the charm of personal storytelling within a dynamic digital environment.
Traditional digital experiences often lack interactive, educational, and secure elements. Users typically engage in passive activities with limited control, meaningful interaction, or assurance of fairness and security.
We're redefining the digital experience, creating a space where user actions and community interactions shape their journey and enhance their chances of success. This innovative approach combines gaming, personal expression, and active community involvement in a secure, fair, and transparent setting.
- Personalization & Customization: Tailor your digital assets (NFTs) and contribute to a shared digital landscape.
- Engaging Storylines: Participate in narrative-driven adventures where your decisions have a real impact.
- Educational and Thematic Challenges: Explore subjects like finance, history, science through engaging activities.
- Competitive Elements & Recognition: Take part in community challenges, earn your place in the rankings and receive rewards.
- Real-World Integration: Engage in activities that bridge digital and physical realms, offering real-life rewards.
- Social Impact Initiatives: Get involved in social causes and contribute to meaningful projects.
- Ongoing Events and Updates: Enjoy events tied to current trends and community feedback.
- Engaging & Educational: An active, fun-filled journey of learning.
- Community Building: Fosters collaboration and social connections.
- Dynamic & Inclusive: Regular updates and diverse content for broad appeal.
- Socially Responsible: Contributes to societal causes through thematic lotteries.
- Denigma Site Repository on GitHub for source code and more.
- Live Site: Check out the live version of Denigma.
Explore key functionalities in our code:
-
Chainlink Integrations:
- Chainlink Automation: Implementation details in our code base.
- Chainlink VRF: Integration of Chainlink VRF.
- Chainlink Data Feed: Chainlink Data Feed integration.
- Chainlink Functions: Repository containing Enigma's Chainlink Function calls, including interactions with ChatGPT API.
- Chainlink CCIP:
- Receiver Contract: CCIP receiver implementation in our smart contract.
- Receiver Contract Additional Code: Update dNft state.
- Sender Contract: Implementation of the CCIP sender smart contract.
- Please note: The CCIP functionality is currently experiencing issues, particularly with data transmission to the receiver contract. We are actively working to resolve these problems.
-
Core Smart Contract Features:
- Functions: Overview of the main functions in our smart contract.
- Buy and Sell Token Logic: Detailed implementation of buy and sell token functionalities.
- Update dNFT: Code for updating dNFT.
- Metadata Implementation: Metadata functionalities in our contract.
Avalanche (AVAX) Network Usage:
- We chose the Avalanche network for deploying our smart contracts due to its rapid transaction processing and lower costs. This choice enhances the efficiency and accessibility of our platform.
a) Deploy a new contract:
- Using Foundry :
- forge init new_project
- forge install openzeppelin/openzeppelin-contracts --no-commit
- forge install smartcontractkit/[email protected] --no-commit
- Import dNFT.sol and DeployedNFT.s.sol
- Update .env
- forge script script/DeployedNFT.s.sol --rpc-url $FUJI_RPC_URL --private-key $SEPOLIA_PRIVATE_KEY --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY
- Create a subscription : https://vrf.chain.link/sepolia/ and add a consumer address (Contract address)
- Create a new Upkeep : https://automation.chain.link/sepolia/ and use Custom logic
- Create a new Upkeep with Time-based to call updateBetScore(0)
- Setup CCIP :
- Deploy Receiver Contract (dNFT) : 0x554472a2720e5e7d5d3c817529aba05eed5f82d8 (ROUTER FUJI)
- Deploy Sender Contract : 0xD0daae2231E9CB96b94C8512223533293C3693Bf (ROUTER SEPOLIA), 0x779877A7B0D9E8603169DdbD7836e478b4624789 (LINK SEPOLIA) and write on it the receiver address.
- Fund with link the Sender Contract
- You can stack your token. Just verify 14767482510784806043 (Chain selector Fuji)
b) Run the site:
- Denigma Site Repository : To run the site, please visit the following repository for source code, detailed instructions, and more.