๐ง At the moment, you are only able to generate transaction data to create votes from an Agent.
- Install node.js 8+
- Clone this repo, do an npm install inside of it
- Set up the votes you'd like an Agent to create (see the examples)
- 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)>
- Depending on how you'd like to create votes:
- Via
agent.execute()
: send transactions toagent.execute()
with the voting address and each vote's transaction data - Via
agent.forward()
: send a single transaction toagent.forward()
with the forwarding data