Code Monkey home page Code Monkey logo

winklink's Introduction

Wink Link

WinkLink is an Oracle and simplifies the communication with blockchains. This initial implementation is intended for use and review by developers, and will go on to form the basis for WinkLink's decentralized oracle network. Further development of the WinkLink Node and WinkLink Network will happen here, if you are interested in contributing please contact us, email: [email protected]

Build

  1. Install MySQL (v5.7)

  2. Install Java

  3. Install NodeJS (>=10.0)

  4. Build

./gradlew clean build

Run node

After build successfully, node-{version}.jar will be generated in dir node/build/libs.

  1. Start MySQL first. Initializing the tables using the latest sql file in path node/src/main/resources/db/migration.

  2. Start the WinkLink node:

java -jar node-v1.0.jar --key key.store 2>&1 &
// customize some configuration
java -jar node-v1.0.jar --server.port=8081 --spring.profiles.active=dev --key key.store 2>&1 &

Note:

  • The key.store file contain the private key that this node use. The format refer to: node/src/main/resouces/key.store.template.
  • You can just put a new application.yml or application-{ENV}.yml in the working dir to replace the default spring config file.
  • There is a set of demo contracts deployed on nile network, the node will listen on nile when starting node with the command: --env dev

Project Structrue

WinkLink is is a monorepo containing several logicaly separatable and relatable projects.

  • tvm-contracts - smart contracts
  • node - the core WinkLink node
  • @node/webapp - the webapp for WinkLink node

winklink's People

Contributors

running-tomato avatar fyyhtx avatar kevinlee2015 avatar neverhit avatar spidemen avatar tomatoishealthy avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.