Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mehrankazeminia/smart-blockchain-with-solidity
Currency offering contract, with solidity language and using the idea "Smart Blockchain".
https://github.com/mehrankazeminia/smart-blockchain-with-solidity
currency-offering-contract smart-blockchain smart-contract solidity solidity-language soliset
Last synced: 15 days ago
JSON representation
Currency offering contract, with solidity language and using the idea "Smart Blockchain".
- Host: GitHub
- URL: https://github.com/mehrankazeminia/smart-blockchain-with-solidity
- Owner: MehranKazeminia
- Created: 2020-08-25T14:55:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-09T16:29:30.000Z (almost 4 years ago)
- Last Synced: 2025-01-22T12:49:31.789Z (15 days ago)
- Topics: currency-offering-contract, smart-blockchain, smart-contract, solidity, solidity-language, soliset
- Language: Solidity
- Homepage: https://www.mehrankazeminia.com
- Size: 6.95 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Read the full description in the following article:
# Description:
The **SmartCreator101.sol** file is a smart contract that generates tokens according to the ERC20 standard.
The **SmartCreator102.sol** file is another smart contract that, in addition to generating ERC20 tokens, stores all transaction details and member account details.
In addition, this contract can verify the transaction of its own tokens and does not allow anyone to double-spending. In other words, this contract does not require the services of Ethereium network miners to verify transactions.
The mathematical logic of the codes of this agreement is much stronger than the logic of various consensus mechanisms, and the general ledger of this intelligent agreement is quite reliable.
The **SmartCreator102x.sol** file is the same as the previous contract, except that in the third transaction, it sends the transaction amount twice to the recipient.
This was done simply to simulate double-spending. Of course, we saw that immediately in the fourth transaction, the contract was able to identify the error or fraud and change the balance of all accounts to the correct state.
The **SmartCreator103.sol** file is the final version of this smart contract. This contract has five more functions than the second stage contract, and with these functions, new features have been added to the contract.