Smart contracts comprising the business logic of the InstaDApp
Go to file
2018-10-23 13:22:31 +05:30
.circleci Initial Commit 2018-10-23 13:22:31 +05:30
.github/ISSUE_TEMPLATE Initial Commit 2018-10-23 13:22:31 +05:30
contracts Initial Commit 2018-10-23 13:22:31 +05:30
migrations Initial Commit 2018-10-23 13:22:31 +05:30
test Initial Commit 2018-10-23 13:22:31 +05:30
.babelrc Initial Commit 2018-10-23 13:22:31 +05:30
.env.sample Initial Commit 2018-10-23 13:22:31 +05:30
.eslintignore Initial Commit 2018-10-23 13:22:31 +05:30
.eslintrc.js Initial Commit 2018-10-23 13:22:31 +05:30
.gitattributes Initial Commit 2018-10-23 13:22:31 +05:30
.gitignore Initial Commit 2018-10-23 13:22:31 +05:30
.prettierignore Initial Commit 2018-10-23 13:22:31 +05:30
.prettierrc Initial Commit 2018-10-23 13:22:31 +05:30
.solcover.js Initial Commit 2018-10-23 13:22:31 +05:30
.soliumignore Initial Commit 2018-10-23 13:22:31 +05:30
.soliumrc.json Initial Commit 2018-10-23 13:22:31 +05:30
.travis.yml Initial Commit 2018-10-23 13:22:31 +05:30
CODE_OF_CONDUCT.md Initial Commit 2018-10-23 13:22:31 +05:30
CONTRIBUTING.md Initial Commit 2018-10-23 13:22:31 +05:30
LICENSE Initial Commit 2018-10-23 13:22:31 +05:30
mocha-smart-contracts-config.json Initial Commit 2018-10-23 13:22:31 +05:30
package.json Initial Commit 2018-10-23 13:22:31 +05:30
PULL_REQUEST_TEMPLATE.md Initial Commit 2018-10-23 13:22:31 +05:30
README.md Initial Commit 2018-10-23 13:22:31 +05:30
truffle.js Initial Commit 2018-10-23 13:22:31 +05:30

Moat Contract

License: MIT Build Status Coverage Status CircleCI

Smart Contracts powering Moat Fund

Show some ❤️

GitHub stars GitHub forks GitHub watchers GitHub followers

This project uses:

Installation

  1. Install Truffle and Ganache CLI globally.
npm install -g truffle@beta
npm install -g ganache-cli
  1. Create a .env file in the root directory and add your private key.

Commands:

Compile contracts:                  truffle compile
Migrate contracts:                  truffle migrate
Test contracts:                     truffle test
Run eslint:                         npm run lint
Run solium:                         npm run solium
Run solidity-coverage:              npm run coverage
Run lint, solium, and truffle test: npm run test

License

MIT License

Copyright (c) 2018 Moat Network

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.