Skip to content

robertmagier/Viddo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Viddo

This is Smart Contract and Documentation for Viddo Token. Smart Contract is implemented using Truffle FrameWork.

Author

Robert Magier - [email protected]

Functionality

Please have in mind that token won't be recognized by etherscan.io as token unless Transfer event is emitted. It also have o have implemented all functions mentioned in above link

  • Burnable: Yes
  • Mintable: No
  • Pausable: No
  • Name: VIDDOtoken
  • Symbol: VDT
  • Decimals: 0
  • Total supply: 100 000 000 (100 * 10 ** 6)

Truffle Framework

Smart Contract Part of this projected was implemented in Truffle Framework. To read more about this framework and get installation version go here http://truffleframework.com/

Running compilation, migration and test

To compile smart contract execute

cd smartcontract
truffle compile

To migrate smart contract execute

cd smartcontract
truffle migrate or truffle migrate --reset if you want to repeat migration again. Please have in mind that you have to run your local node on your development machine. You can use ganache which is part of truffle framework. http://truffleframework.com/ganache/

To run unit tests execute

cd smartcontract
truffle test

To compile and deploy this contract from Remix it is best to first create flat file. Flat file can be generated in smart contract direcotry using command:

truffle-flattener .\contracts\ViddoToken.sol

To install run command: npm install -g truffle-flattener

You have to use Flat file to run code verification process on etherscan.io and also to be able to debug your smartcontract in remix. Truffle allows to compile, migrate and test smartcontract which import another files ( multifile smartcontract ), but it is not yet possible in http://remix.ethereum.org and http://Etherscan.io

About

Viddo Smart Contract and Documentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published