Skip to content

This is a DeFi to deploy in a Private Ethereum Blockchain Network

Notifications You must be signed in to change notification settings

dariusjvc/My-Java-DeFi

Repository files navigation

Rest API created to stake tokens in a private blockchain network

Description:

There are 3 smart contacts:

MainToken, RewardToken and StakingToken

  1. The admin will create tokens (StakingTokes), which will then send them to the user
  2. The user will delegate to the MainToken the permission so that he can stake his tokens
  3. The user will stake
  4. The admin will issue some RewardToken to the user, which will be the reward for staking

How to deploy:

  1. git clone https://github.com/dariusjvc/My-DeFi.git.
  2. Deploy smart contracts
  3. Open with Intellij IDEA and play

API url :

http://localhost:8080/ethereum-api/swagger-ui/index.html#/

About

This is a DeFi to deploy in a Private Ethereum Blockchain Network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published