Coder Social home page Coder Social logo

sprint1-challenges's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.