8000 GitHub - transducer/ethlance: Ethlance is the first job market platform built entirely on the Ethereum blockchain. Free to use forever!
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Ethlance is the first job market platform built entirely on the Ethereum blockchain. Free to use forever!

License

Notifications You must be signed in to change notification settings

transducer/ethlance

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ethlance

Repository for ethlance.com

Ethlance is first job market platform written in Clojurescript and Solidity working completely on Ethereum blockchain with 0% service fees.

Ethereum Smart Contracts are at /resources/public/contracts/src

Using Ethlance

MetaMask

  1. Download the MetaMask Chrome extension
  2. Create a wallet and fund it with some Ether
  3. Go on Ethlance

Mist Browser

  1. Download the Mist Browser
  2. Wait for blockchain to download
  3. Fund with ether
  4. Go on Ethlance

Running on localhost

Following instructions assume you're familiar with Clojure language and have lein installed on your machine.

To start autocompile smart contracts (requires solc installed):

lein auto compile-solidity

Start testrpc

testrpc --port 8549

Start Clojurescript browser REPL

lein repl
(require 'figwheel-sidecar.repl-api)
(figwheel-sidecar.repl-api/start-figwheel! (figwheel-sidecar.config/fetch-config))
(figwheel-sidecar.repl-api/cljs-repl)

Make sure in ethlance.db/default-db you have following configuration:

:load-node-addresses? true
:node-url "http://localhost:8549"

Visit localhost:6229 on browser without MetaMask. I use Chrome Incognito window.

To redeploy all smart contracts, run following in REPL. After you see in browser console all contracts have been deployed, refresh the page.

(in-ns 'ethlance.events)
(dispatch [:reinitialize])

To redeploy only single or few specific smart contracts run:

;; Redeploys and hot swaps EthlanceUser smart contract. No need to refresh page.
(dispatch [:reinitialize [:ethlance-user]])

To build advanced compilation run:

lein clean && lein cljsbuild once min

Contributing

Anyone is welcome to contribute to the ethlance project, here are some brief guidelines:

  • Squash commits
  • Reference issue numbers in your pull request
  • Rebase your changes on upstream (git remote add upstream https://github.com/madvas/ethlance.git) master before pushing (git pull --rebase upstream master)
  • Make changes in a separate well-named branch in your forked repo like improve-readme

About

Ethlance is the first job market platform built entirely on the Ethereum blockchain. Free to use forever!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 96.5%
  • JavaScript 1.4%
  • CSS 1.2%
  • Other 0.9%
0