LarissaKim / token-swap

Experimenting with Ethereum ERC20 tokens using Solidity.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Token Experiments

Experimenting with Ethereum tokens using Solidity.

Roadmap

Solidity

  • TestNetToken: handle false return value for transfer(), approve()
  • TestNetToken: implement increase/decrease allowance methods
  • TestNetCrowdSale: handle false return value for transfer method in buyTokens(), endSale()
  • TestNetSwap: finalize sellTokens functionality
  • TestNetSwap.test: Update test for Buy Tokens > "Should revert if transaction would exceed exchange contract's total supply"
  • Explore options for safe arithmetic operations (e.g. OpenZeppelin's SafeMath)
  • Check for vulnerabilities in code
  • Refactor contracts to use OpenZeppelin's ERC20 standard where applicable
  • Deploy to at least one live testnet (e.g. Rinkeby)

Front-end

  • Revise styling
  • Add Identicon
  • Add non-MetaMask wallet option
  • Connect contracts with browser (web3-react)
  • Implement conditional rendering when waiting for wallet connection
  • Implement conditional rendering when transaction in progress
  • Keep wallet connection on refresh
  • Update ETH/TNT balances live (e.g. after transaction)
  • Implement defensive checks for form input
  • Reset form when transaction submitted
  • Implement conditional status text for wallet modal button
  • Display error message if user connects on an unsupported chain
  • Code clean-up

References

Tech Stack

This project was bootstrapped with Create React App. Learn more in the Create React App documentation.

About

Experimenting with Ethereum ERC20 tokens using Solidity.


Languages

Language:JavaScript 89.0%Language:Solidity 9.5%Language:HTML 1.5%