ethlance

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

Github星跟蹤圖

ethlance

Build Status

Repository for ethlance.com

Ethlance is the first job market platform written in ClojureScript and Solidity working completely on the 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

Running on localhost

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

To start autocompiling smart contracts (requires solc installed):

lein auto compile-solidity

Start testrpc

testrpc --port 8549

Start Clojurescript browser REPL, first start a clojure repl

lein repl

When a clojure prompt is present, type:

(start-ui!)

The clojurescript repl will appear once you navigate to http:://localhost:6229

See ethlance.el on how to run the above commands in Emacs via ethlance-jack-in and ethlance-start.

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

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

Visit localhost:6229 in your browser without MetaMask. I use the Chrome Incognito window.

To redeploy all smart contracts, run the following in REPL.

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

After you see in browser console all contracts have been deployed, refresh the page.

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

主要指標

概覽
名稱與所有者district0x/ethlance
主編程語言Clojure
編程語言Shell (語言數: 11)
平台
許可證GNU General Public License v3.0
所有者活动
創建於2016-11-20 23:18:10
推送於2025-06-27 15:35:49
最后一次提交2025-06-27 17:35:49
發布數1
最新版本名稱old-newlance (發布於 2019-10-15 15:28:20)
第一版名稱old-newlance (發布於 2019-10-15 15:28:20)
用户参与
星數707
關注者數60
派生數127
提交數1.4k
已啟用問題?
問題數217
打開的問題數3
拉請求數178
打開的拉請求數2
關閉的拉請求數60
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?