You’re 10 lines of code away from your own Cryptocurrency?

  • Wallet transfers — sending tokens from one account to another
  • Buying and selling on cryptocurrency exchanges
  • Purchasing tokens in an crowd sale (ICO), this is one for another post
  • It has a transfer function.
  • It accepts the correct arguments.
  • It fails if the user doesn’t have enough tokens to transfer, i.e., an insufficient balance.
  • It transfers the balance from the sender’s account to the receiver’s account.
  • It triggers a sell event.
  • It returns the correct value, e.g., true.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Louis Q

Louis Q

Principal Engineer at Igloo Energy