New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@windingtree/wt-contracts

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@windingtree/wt-contracts

Smart contracts of the Winding Tree platform

  • 0.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
Maintainers
3
Weekly downloads
 
Created
Source

WT Smart Contracts

Smart contracts of the Winding Tree platform.

The smart contracts in the hotel folder and airline folder are designed to upload inventory and interact with it in the WT platform.

Build Status Coverage Status

Requirements

LTS Node 10.3.0 is required for running the tests.

Install

git clone https://github.com/windingtree/wt-contracts
npm install

Deploy

keys.json example:

{
  "mnemonic": SEED_PHRASE,
  "infura_apikey": API_KEY
}
npm run deploy-NETWORK

Test

  • To run all tests: npm test

  • To run a specific test: npm test -- test/WTHotel.js

  • To generate coverage report: npm run coverage

Flattener

A flattener script is available by running npm run flattener, this will create flattened version of the contracts without imports in one single file for all contracts in the contracts folder. This is needed if you plan to use tools like etherscan verifier or securify.ch.

Documentation

Here

License

Winding Tree contracts are open source and distributed under the GPL v3 license.

Keywords

FAQs

Package last updated on 14 Jan 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc