Tokens for barter - Based on the core ERC20 standard functionality.

RenaudRenaud BelgiumMember Posts: 2
Proposition of a solidity smart contract code to issue simple, standards-compliant tokens on Ethereum, based on the core ERC20 standard functionality.
The purpose is to extend the standard functionality to manage barter: users give objects. User gets tokens for each object entering the inventory and he can use his tokens to get other objects.

Mainly 2 functions are added:
1) mintToken() functionality to add tokens when new assets enter the inventory.
2) removeToken() functionality when assets are removed from the inventory.

See HumanAssetStandardToken.sol

Advises are welcome.
Sign In or Register to comment.