Giter Site home page Giter Site logo

tweether's Introduction

tweether

Install

Clone, cd into directory.

Run: npm install

Testing

Run: npm run test

Compile

Run: npm run build

Linting

Solidity: npm run lint:sol Javascript: npm run lint:js

Chainlink Oracle

In order to deploy the OracleClient you'll have to add the governance contract address. Only that address can call the node.

The Chainlink oracle should only respond to requests coming from the Tweether Governance protocol. You can update this with the following command in your database.

update initiators set requesters = '0x0000000000000000000000000000000000000000' where job_spec_id = 'job-id-of-tweet-sender';

Instead of having to add new jobs everytime you go to test something new. Replace the burn address (0x00...) with the address of the requester. This should always been the governance address.

Integration test

After running the tests above, to test everything is working, here's what you do: Update send-tweet.js to have a new status. You'll need your chainlink oracle and external adapter set up. This will set your account as the governance contract. This will mock it that you are the governance contract.

truffle migrate --reset --network kovan
truffle exec scripts/fund-oracle-client.js --network kovan
truffle exec scripts/send-tweet.js --network kovan

And you should get a successful tweet send from the contract.

Current Twitter Oracle Listing

View on market.link

Current Twitter account associated

Contracts

Tweether

NFTwe

OracleClient

tweether's People

Contributors

alexroan avatar patrickalphac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

jonathanzwiebel

tweether's Issues

Mintable $TWE

Enable TWE to be minted by supplying LINK, and burned in the opposite direction

Voting For A Proposal

  • Vote TWE towards a proposal
  • Final vote kicks off oracle call and transfers Proposal NFTwe

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.