Skip to content

gitter-badger/knowledge-contracts

 
 

Repository files navigation

Knowledge Ethereum Contracts

StandardJS Style Collaborative Etiquete Travis FOSSA Status

This repository contains all Ethereum Smart Contracts used at Knowledge.

Truffle is our development, testing and deployment framework.
OpenZeppelin is the solidity library we use for writing secure Smart Contracts on Ethereum.
We follow the Knowledge Project Guidelines and Consensys Best Practices.

Contents

Features

  • Smart contract compilation, deployment and binary management.
  • Automated contract testing with Mocha and Chai.
  • Solidity code linting with Solium.
  • JavaScript code linting with StandardJS.
  • Secure solidity utility functions with OpenZeppelin Solidity
  • Continuous integration testing with Travis CI
  • Configurable build pipeline with support for custom build processes.
  • Scriptable deployment & migrations with Truffle framework.
  • Network management for deploying to many public & private networks.
  • Interactive console for direct contract communication.
  • Instant rebuilding of assets during development.
  • External script runner that executes scripts within a Truffle environment.

Getting Started

For you to able to understand and execute the code in this repository advanced knowledge of JavaScript, Node.js and Ethereum Solidity is required. If you are not familiar with these technologies we suggest you to visit ethereum.org and learnnode.com.

Environment Dependencies

You need some global environment configurations

Project Dependencies

In the project root directory run npm install to install all project dependencies

Running Development Mode

In separate tabs of your console run the following commands:

ganache-cli
npm run develop
npm run deploy

For more information visit the Truffle Framework documentation.

Testing your code

We do both static linting and analysis and functional tests.

ganache-cli
npm run lint
npm run test

Deploying to the TestNet

work in progress...

Contributing

Read the contributing guidelines for details.

Bug Reporting

Please report bugs big and small by opening an issue. No possible bug report is too small.

License

MIT © Knowledge
See LICENSE for more info

FOSSA Status


About Knowledge

Blockchain technology is rebuilding the internet in a trustless, decentralized way, allowing for fundamental core improvements on existing business models and industries, and a new breed of dot-io powerhouse frameworks are emerging. Knowledge.io is producing an ecosystem that offers significant improvement in the areas of ad tech, commerce, education, and employment, and a supply and demand marketplace of goods and services, all based around rewarding users for what the massive and centralized supergiants utilize to make extraordinary profits - people’s data. The Knowledge.io ecosystem is built on the foundation of decentralization and rewarding people for sharing their knowledge.

knowledge.io

Knowledge Twitter Knowledge Facebook Knowledge Github

About

Knowledge Ethereum Smart Contracts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%