Skip to content

A straight-forward smart contract implemented for testing purpose, allowing to send token to a wallet address.

License

Notifications You must be signed in to change notification settings

carloocchiena/eth_smart_contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 

Repository files navigation

eth_smart_contract

Two smart contracts implementation for studying and testing purpose, and fully working on Remix.ethereum.org.

smart_contract.sol is a strightforward approach with just a token "ping" transaction (+1 ping, +1 token).
marketplace.sol dive into the logics of buyer, seller, price and available funds.

Since those are the first smart contracts I ever created, I took a non-trivial journey scratching at least the surface of how Solidity works, based on Solidity Documentation, YT's DAPP University and Microsoft's Reactor (by Meg Lewis!).

You can see the commented line-by-line code of those researchs in my misc repo Code Chunks: carloocchiena/code_chunks/solidity.

There I digged about the logic of time activation of smart contracts and the logic of ownership.

Proof of the works done by smart_contract.sol:

image image

Proof of the work done by marketplace.sol:

image image

About

A straight-forward smart contract implemented for testing purpose, allowing to send token to a wallet address.

Topics

Resources

License

Stars

Watchers

Forks