We are seeking a skilled Solidity developer to create a staking contract on the Solana blockchain. The contract will allow users to stake NFTs from specific collections for a predetermined time of 2 weeks. After the staking period ends, users must return to either restake or withdraw their asset. The smart contract needs to be robust, secure, and have 100% test coverage to ensure flawless functionality.
Key Responsibilities:
- Develop a staking smart contract on Solana that accepts NFTs from designated collections.
- Implement logic for a 2-week staking period after which users need to restake or withdraw.
- Ensure the contract includes appropriate measures for security, including protection against common vulnerabilities.
- Write comprehensive unit tests to achieve 100% test coverage.
Required Expertise:
- Proficient in Rust and smart contract development.
- Experience with Solana blockchain and NFT standards.
- Strong understanding of blockchain security best practices.
- Proficiency in writing unit tests and achieving high test coverage.
Rewards
Payment terms will be negotiated based on the developer's experience and the final quality of the deliverables. Bonus incentives may be available for exceptional work, including the optimization of gas fees and implementation of innovative staking features.
Acceptance Criteria
- Functionality: The contract must correctly manage the staking process, including the correct handling of the 2-week period, restaking, and withdrawal.
- Security: The smart contract should be secure, with no vulnerabilities, and adhere to best practices for NFT staking on Solana.
- Code Quality: Code should be well-structured, maintainable, and include thorough documentation.
- Test Coverage: The contract must have 100% test coverage with comprehensive unit tests covering all possible scenarios.
- Deployment: Successful deployment of the contract on the Solana testnet with evidence provided.
- Innovation: Any additional features or optimizations that enhance the staking experience will be viewed favorably.
Submission Requirements
- GitHub Repository: A public or private repository containing all source code, tests, and documentation.
- Test Results: A report detailing the test coverage along with the results of all tests.
- Deployment Proof: Evidence of the smart contract deployment on the Solana testnet, including the contract address.
- Loom Video: A short video walkthrough explaining the staking contract's functionality, including the staking and withdrawal process.
- Timeline: The project should be completed within 2 weeks from the start date.
Resources
- Solana Documentation: Solana Developer Docs
- NFT Standards: Solana NFT Standard