Skip to content

bit-country/sprint1-challenges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

Sprint 1 Challenges

This challenge designed for all contributors to Bit.Country Tewai Chain who would like to get involved in Bit.Country development.

You can submit the challenges by sending an email to [email protected] or feel free to invite Bit.Country Core Contributor to your repo to review your code.(check out who are contributors on Challenge 1).

Let's get started!

Challenge 1:

Getting to know and understand the concept of Bit.Country chain.

  • Clone Bit.Country Blockchain repo using challenges-v1 branch Don't forget to leave a Star to show your support.
  • git clone -b challenges-v1 https://github.com/bit-country/Bit-Country-Blockchain.git
  • Ensure everything works as expected by compiling the code

Challenge 2:

Implement Auction unit-test.

You may have seen the auction pallet has implemented some basic functionality of auctioning the Asset in the Bit.Country. However, there are missing some unit test for the Auction functionality.

You need to write at least 5 test cases to ensure the Auction pallet working as expected.

Here are some sample test cases but not limited to

  • Create auction
  • Bidding successful.
  • Biding fail due to insufficient fund
  • Simulate expired block number to ensure the Asset ownership transfer correctly after the end of the auction
  • Self bidding should be rejected
  • Bid on expired Auction

Challenge 3:

Country Staking Pallet Design

Design the staking pallet that allows staking on country to earn reward per era. For the sake of simplicity, please consider the following into the consideration

Challenge 4:

Country Staking Pallet implementation.

Implement into code based on the Design from Challenge 3. The code need to follow the naming convention, syntax standard, proven logic by having unit test covered.

About

This is Sprint One Challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published