New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

gametoken

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gametoken

Game token for filp coin game.

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

GameToken

Build Status

Simple ethereum token.

Do not use this in production environment.

Usage

npm install gametoken

import 'gametoken/contracts/GameToken.sol'

Or

import 'gametoken/contracts/SecureGameToken.sol'

Development

npm install

Test

Before run test, make sure you have installed truffle.

npm install -g truffle
  • Run test with truffle and testrpc.

    npm install -g testrpc

Run testrpc

testrpc

Run test

truffle test
  • Run test with private blockchain.

    truffle test --network private

Remember to modify providers/private.js

  • Run test without install testrpc globally.

    truffle test --network test

container

If you want to type host name like testrpc or geth in truffle.js, you can use docker or other virtual service to do.

  • write docker-compose.yml

  • run container

Keywords

Ethereum

FAQs

Package last updated on 22 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts