InstaDApp Smart Contracts.
Go to file
2020-02-09 12:55:26 +05:30
.circleci Smart contract initial setup 2019-03-11 18:00:45 +05:30
contracts updated to new oasis contract 2020-02-09 12:55:26 +05:30
docs Test Suite Setup 2019-04-06 18:19:08 +05:30
flats Test Suite Setup 2019-04-06 18:19:08 +05:30
migrations Smart contract initial setup 2019-03-11 18:00:45 +05:30
test Test Suite Setup 2019-04-06 18:19:08 +05:30
.babelrc Smart contract initial setup 2019-03-11 18:00:45 +05:30
.env.sample Smart contract initial setup 2019-03-11 18:00:45 +05:30
.eslintignore Smart contract initial setup 2019-03-11 18:00:45 +05:30
.eslintrc.js Smart contract initial setup 2019-03-11 18:00:45 +05:30
.gitattributes Smart contract initial setup 2019-03-11 18:00:45 +05:30
.gitignore Smart contract initial setup 2019-03-11 18:00:45 +05:30
.prettierignore Smart contract initial setup 2019-03-11 18:00:45 +05:30
.prettierrc Smart contract initial setup 2019-03-11 18:00:45 +05:30
.solcover.js Test Suite Setup 2019-04-06 18:19:08 +05:30
.soliumignore Smart contract initial setup 2019-03-11 18:00:45 +05:30
.soliumrc.json Smart contract initial setup 2019-03-11 18:00:45 +05:30
compiler.json Test Suite Setup 2019-04-06 18:19:08 +05:30
CONTRIBUTING.md Smart contract initial setup 2019-03-11 18:00:45 +05:30
diagram.png added diagram 2019-03-11 02:54:52 +05:30
LICENSE Smart contract initial setup 2019-03-11 18:00:45 +05:30
mocha-smart-contracts-config.json Smart contract initial setup 2019-03-11 18:00:45 +05:30
package.json Test Suite Setup 2019-04-06 18:19:08 +05:30
README.md Smart contract initial setup 2019-03-11 18:00:45 +05:30
truffle-security.json Test Suite Setup 2019-04-06 18:19:08 +05:30
truffle.js Test Suite Setup 2019-04-06 18:19:08 +05:30

InstaDApp V2 Contracts

Smart contracts comprising the business logic of the InstaDApp.

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) 2019 InstaDApp

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.