bumi f8b75cca61 Manually set networkId
By default kredits-contracts gets the networkId from the web3 object.
This causes some random JSON RPC errors when using MetaMask:
https://github.com/MetaMask/metamask-plugin/issues/1538

This set the default networkId to 17 which is our custom private
network. For development purposes the networkId can also be set
dynamically through the config:networkId local storage entry.
2017-06-04 19:28:14 +02:00
2017-06-04 19:28:14 +02:00
2017-06-04 19:28:14 +02:00
2017-02-05 11:43:36 +08:00
2017-02-07 21:12:08 +08:00
2017-05-14 16:27:43 +02:00
2017-01-30 19:42:20 +08:00
2017-01-31 17:40:17 +08:00
2017-01-31 11:56:51 +08:00
2017-01-31 11:56:51 +08:00

Build Status

kredits-web

This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd kredits-web
  • npm install
  • bower install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.

Working with locally deployed contracts

For development you might want to run your own development chain with your own development contracts. The kredits-contracts helper scripts are available in kredits-web. See kredits-contracts for more information.

Start your parity node with a KreditsChain:

npm run kredits-parity

Deploy the contracts to your local chain:

npm run kredits-deploy

Run kredits-web with your localy deployed contracts:

KREDITS_CONTRACT_ADDR=`kredits-inspect -c Kredits -r -w address` \
TOKEN_CONTRACT_ADDR=`kredits-inspect -c Token -r -w address` \
npm start

You need to have `./node_modules/.bin` in your path for this to work. Otherwise simply copy the contract addresses and set the environment variables manually.
2.3.0 Latest
2025-02-17 06:35:52 +00:00
Languages
JavaScript 97.8%
Handlebars 1.4%
SCSS 0.7%
HTML 0.1%