Coder Social home page Coder Social logo

agent-voting's Introduction

Manage votes from an Agent app

โ‰๏ธ Don't know what an Agent app is? Check out all its possibilities!

๐Ÿšง At the moment, you are only able to generate transaction data to create votes from an Agent.

Usage

  1. Install node.js 8+
  2. Clone this repo, do an npm install inside of it
  3. Set up the votes you'd like an Agent to create (see the examples)
  4. Run npm run create:vote -- <agent app address> <path to votes (see examples/)> <voting app address (optional; only required if votes don't specify one)>
  5. Depending on how you'd like to create votes:
  • Via agent.execute(): send transactions to agent.execute() with the voting address and each vote's transaction data
  • Via agent.forward(): send a single transaction to agent.forward() with the forwarding data

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.