PK Score
axios is winner.
axios is better than cg-api-challenge.
More interesting! Play with axios's owner and cg-api-challenge's owner PK.
open Graph Image
open Graph Image
description
Hello and welcome! Your mission, should you choose to accept it, is to build a simple decentralized application that allows users to stake their tokens. This dApp is very minimal and does not need a user interface (interaction through Remix or Truffle is fine.) It does need to have a blockchain event listener to easily allow users to call up an API to see how many tokens they have staked, and how much they’ve earned in rewards. Product Requirements: - Create an ERC20 contract using OpenZeppellin standard with 18 decimal places - Create a contract that allows users to send their tokens to stake and earn rewards (Reward is receiving more of the same ERC20 token, rewarding system can be very simple for the sake of this challenge) - Have a Springboot service (using Java or Kotlin) to track the events coming from the blockchain. - Have the Springboot service aggregate the data from the events and expose them using GraphQL or RESTful API. - GET /stakedTokens/${publicAddress} -> Returns the holder’s staked tokens - GET /stakingRewards/${publicAddress} -> Returns the user’s rewards from staking User interface: - You may develop a user interface for this but it’s fine if the user interactions are all coming from something like Remix or truffle.
description
Promise based HTTP client for the browser and node.js
homepage
https://axios-http.com
url
https://githubhelp/roninx991/cg-api-challenge
url
https://githubhelp/axios/axios
owner Avatar
owner Avatar
Recommend Projects
-
-
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
An Open Source Machine Learning Framework for Everyone
-
The Web framework for perfectionists with deadlines.
-
A PHP framework for web artisans
-
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
Some thing interesting about web. New door for the world.
-
A server is a program made to process requests and deliver data to clients.
-
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Some thing interesting about visualization, use data art
-
Some thing interesting about game, make everyone happy.
-
Recommend Org
-
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Open source projects and samples from Microsoft.
-
Google ❤️ Open Source for everyone.
-
Alibaba Open Source for everyone
-
Data-Driven Documents codes.
-
China tencent open source team.
-