Skip to content

RON is a layer 2 token(ERC-20) deployed on Ropsten(ETH) TESTNET. The smart contract is written in solidity on truffle. The dApp is built using Next.js. Redis is used as the primary datastore. Deployed on Vercel platform. Used TypeScript with React for developing the frontend. Wrote the ERC20 interface from EIP‐20: Token Standard. Created methods…

Notifications You must be signed in to change notification settings

SD170/ethereum-ronaldo-coin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deploy with Vercel

Ethereum Ronaldo Coin (RON)

Address - 0x8a0ebdffCE83A68bef140Ca07b061E93A6f88074

RON is a layer 2 token(ERC-20) deployed on Ropsten(ETH) TESTNET. The smart contract is written in solidity on truffle. The dApp is built using Next.js. Redis is used as the primary datastore. Deployed on Vercel platform. Used TypeScript with React for developing the frontend.

Wrote the ERC20 interface from EIP‐20: Token Standard. Created methods to imitate an Initial Coin Offering (ICO), where tokens are minted and sent automatically if ether transactions are made.

Important files

The directory is divided into two folders. /truffle holds all files regarding the smart contract. /client is for the next.js files for the dApp.

Directory Link and Description
/truffle/contracts Holds the ERC20 contracts and interfaces, RonaldoCoin contract.
/truffle/test Unit tests using Chai and Mocha.
/client/pages/index Holds the entrypoint to the next.js dApp.
/client/lib Ethereum provider setup with Metamask, for connecing to Ropsten.
/client/lib/redis Redis schema using Redis OM.
/client/pages/api API to communicate with redis cloud.

Usage

  1. Clone the project.

    git clone https://github.com/SD170/ethereum-ronaldo-coin
    
  2. Change directory.

    cd client
    
  3. Install the dependencies. Use pnpm.

    pnpm install
    
  4. Add a ".env" file to the project root directory.

    touch .env.local
    echo REDIS_URL=<your redis url> >> .env.local
    
  5. Build project.

    npm run build
    
  6. run project.

    npm start
    

Tech-stack

  • Solidity - For Smart contract development
  • Truffle - For Smart contract development
  • Next.Js - For dApp development
  • Vercel - For dApp deployment

RON-logo

Thanks for checking out

About

RON is a layer 2 token(ERC-20) deployed on Ropsten(ETH) TESTNET. The smart contract is written in solidity on truffle. The dApp is built using Next.js. Redis is used as the primary datastore. Deployed on Vercel platform. Used TypeScript with React for developing the frontend. Wrote the ERC20 interface from EIP‐20: Token Standard. Created methods…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published