This is Smart Contract and Documentation for Viddo Token. Smart Contract is implemented using Truffle FrameWork.
Robert Magier - [email protected]
- ERC20 Standard Token - https://en.wikipedia.org/wiki/ERC20
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)
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/
cd smartcontract
truffle compile
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/
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