Skip to content

csima/avacoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ava Coin

ICO for Ava Coin

This entire project started out as a way to learn more about blockchain and in turn crypto currencies. Everybody has an ICO these days my new daughter might as well have one too! Thus Ava Coin was born! Hey what other newborn has their own crypto currency? Plus you can trade avacoin in for great photos and videos of her.. that is very much worth it.

Although the code is not much (please no comments, it is ugly) what I did learn is that understanding the intricacies of building an app and deploying it can be quite complicated. Nothing works as it should and doing a straight deploy from a testnet to other testnets do not work. Also to be blunt, blockchain sucks for app development. It's buggy, slow, not scaleable and is hard as hell to debug. I digress, here are my pointers for figuring this stuff out to do it yourself.

Code

The code is pretty simple. It is an easy read. I used OpenZepplin as a base for the contracts. I applaud this approach as it really made this easy and btw they have some fantastic written articles.

OpenZeppelin is a library for writing secure Smart Contracts on Ethereum.

  • /contract - is the truffle deployment folder. All contracts, migrations etc
  • /website - is the avacoin crowdsale website. The frontend.

Important Files

deploy.sh You will notice this pulls from my docker repo which is private. You will need to change this to your docker image which is easy because the Dockerfile is very easy.

main.js This contains most of the code for the frontend. You will need to modify the 'token_address' and 'crowd_address' to the deployed addresses of those contracts.

That's it! If you have any problems or want some help you can file an issue or ping me on keybase (https://keybase.io/csima)

About

ICO for Ava Coin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published