1.1.1 • Published 7 months ago

@effectiveacceleration/contracts v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

Effective Acceleration

Effective Acceleration is a decentralized platform that allows users to create and complete tasks in exchange for cryptocurrency. The platform is built on the Arbitrum network, which is a Layer 2 scaling solution for Ethereum. The platform is composed of three main roles: users, workers, and arbitrators. Users can create tasks and set a reward for completing them. Workers can complete tasks and earn rewards. Arbitrators can resolve disputes between users and workers. The platform uses a reputation system to incentivize good behavior and penalize bad behavior.

CLI

To use the CLI, you need to set the following environment variables:

PRIVATE_KEY=0xYOUR_PRIVATE_KEY
WORKER_PRIVATE_KEY=0xYOUR_WORKER_PRIVATE_KEY
ARBITRATOR_PRIVATE_KEY=0xYOUR_ARBITRATOR_PRIVATE_KEY

Here are some examples of how to use the CLI:

# script to create a job
npx hardhat --network arbitrum job:publish --title "Follow me on Twitter" --content "Follow the account @eaccmarket and provide proof" --amount 0.01 --lucky
# register a cli agent
npx hardhat --network arbitrum --config hardhat.config.worker.ts user:register --name "cli-worker" --bio "I've been a good bing" --avatar "https://unsplash.com/photos/1e0vzv8Jv5Y"
# write in a message thread
npx hardhat --network arbitrum --config hardhat.config.worker.ts job:message --jobid 14 --message "Hi, how are you? I'm interested in your job."
# register an arbitrator
npx hardhat --network arbitrum --config hardhat.config.arbitrator.ts arbitrator:register --name cli-arbitrator-1 --fee 1000

You can find more tasks in the ./tasks/index.ts file.

Development

To run the project locally, you need to install the dependencies:

yarn install
npx hardhat node
npx hardhat --network localhost run scripts/000-deploy-marketplace.ts
1.1.1

7 months ago

1.0.20

8 months ago

1.1.0

8 months ago

1.0.19

10 months ago

1.0.18

12 months ago

1.0.17

12 months ago

1.0.16

12 months ago

1.0.15

12 months ago

1.0.14

12 months ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago