Semantic versioning uses the format:
MAJOR.MINOR.PATCH
→ 1.2.3
- MAJOR: Incompatible API changes
- MINOR: Backward-compatible new features
- PATCH: Backward-compatible bug fixes
// This is an example to auto detect if the current chain is ISC EVM Testnet and if not, switch to it. | |
// If chain doesn't exist on Metamask yet, this script will also add it. | |
// A metamask pop-up will appear and you can approve after verifying the details. | |
// This config can be set for any EVM compatible chain as such. | |
const chainName = 'ISC Testnet' | |
const chainId = 1074 // ISC EVM | |
const rpcUrl = 'https://evm.wasp.sc.iota.org' | |
const blockExplorerUrl = 'https://explorer.wasp.sc.iota.org' |
// package.json | |
{ | |
"dependencies": { | |
"web3": "0.20.0", | |
"solc": "^0.4.19" | |
} | |
} | |
//Create file Ecrow.sol and create 3 variables: a buyer, a seller, and an arbiter | |
contract Escrow { |
I hereby claim:
To claim this, I am signing this object:
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master
branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
file (it’s ignored by default by Yeoman).
Abstract
Introduction
System Model
Service Properties
The Algorithm
pragma solidity ^0.4.11; | |
contract BlindAuction { | |
struct Bid { | |
bytes32 blindedBid; | |
uint deposit; | |
} | |
address public beneficiary; | |
uint public auctionStart; |
Beneficial because it's keeping tasks DRY and config.json can be used by another task runner, like grunt
.