Simple, Poetic, Pithy
Don't communicate by sharing memory, share memory by communicating.
Concurrency is not parallelism.
Simple, Poetic, Pithy
Don't communicate by sharing memory, share memory by communicating.
Concurrency is not parallelism.
pragma solidity >=0.5.0 <0.7.0; | |
contract Test { | |
// Variable Example | |
// Unsigned integer that is visibile to derived contracts equal to 10 | |
uint256 internal _demoOne = 10; | |
// boolean equal to true that is visible to everyone | |
bool public _demoTwo = true; |
There are two types of Oracles with resource links listed below: price feed and generalized oracle.
The generalized oracle can be used to send requests for off-chain information to any external API. Usually this requires a custom configuration.
pragma solidity >=0.5.0 <0.7.0; | |
contract Coin { | |
string public name; //publicly accessible name paratmer | |
string public symbol; //publicly accessible symbol parameter | |
mapping (address => uint) private balances; //creates a "table" for matching address to token balance | |
event Transfer(address indexed _from, address indexed _to, uint256 _value); //emits a standard ERC-20 Transfer event |
Last update: Nov 2, 2020
Conflux Network is a PoW blockchain that achieves 3000+ transactions per second (TPS) through the DAG-based (directed acyclic graph) Tree-Graph algorithm.
For developers: