-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add eslint add npm-watch add README.md modify js syntax modify repository
- Loading branch information
Showing
11 changed files
with
3,997 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"extends": "standard", | ||
"rules": { | ||
"no-control-regex": 0 | ||
}, | ||
"globals": { | ||
"artifacts": true, | ||
"web3": true, | ||
"contract": true, | ||
"assert": true, | ||
"describe": true, | ||
"context": true, | ||
"before": true, | ||
"beforeEach": true, | ||
"after": true, | ||
"afterEach": true, | ||
"it": true, | ||
"expect": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Ethername Smart Contract ([ethername.co](https://ethername.co)) | ||
> It is designed for any DAPPs to have username feature without extra implementation. | ||
## Running the tests | ||
|
||
### Prerequisites | ||
You need truffle (https://github.com/trufflesuite/truffle) and ganache (https://github.com/trufflesuite/ganache-cli) to test. | ||
|
||
``` | ||
ganache-cli | ||
truffle migrate | ||
``` | ||
|
||
### Manual Test | ||
``` | ||
truffle test | ||
``` | ||
|
||
### Auto Test | ||
``` | ||
npm install | ||
npm run watch | ||
``` | ||
|
||
## Author | ||
**M.H. Kang** <<guap.root@gmail.com>> (https://github.com/cancue) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
var Migrations = artifacts.require("./Migrations.sol"); | ||
let Migrations = artifacts.require('./Migrations.sol') | ||
|
||
module.exports = function(deployer) { | ||
deployer.deploy(Migrations); | ||
}; | ||
module.exports = function (deployer) { | ||
deployer.deploy(Migrations) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
let Ethername = artifacts.require("./Ethername.sol") | ||
let Ethername = artifacts.require('./Ethername.sol') | ||
|
||
module.exports = function (deployer) { | ||
|
||
deployer.deploy(Ethername) | ||
|
||
}; | ||
} |
Oops, something went wrong.