Giter Site home page Giter Site logo

district0x / ethlance Goto Github PK

View Code? Open in Web Editor NEW
696.0 62.0 125.0 23.76 MB

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

Home Page: http://ethlance.com

License: GNU General Public License v3.0

Shell 0.27% Clojure 55.30% HTML 0.04% JavaScript 2.96% Makefile 0.08% Solidity 4.07% Hack 9.89% PHP 3.76% Less 23.27% Procfile 0.03% Dockerfile 0.34%
ethereum blockchain clojurescript freelance solidity district

ethlance's Issues

Escrow Service

Is Escrow Service something that you offer ? It makes total sense to protect both the buyer and the seller.

UI does not detect changing of account in metamask

UI does not recognize if I select another account in metamask. You need to manually reload the page so it picks up the new selected account.

Metamask only ever exposes one account (web3.eth.accounts[0]) to the dapp. Currently there is no nice way of getting a callback or similar when the account changes. Instead a dapp needs to watch accounts[0] for changes. Code sample from the metamask developer faq:

var account = web3.eth.accounts[0];
var accountInterval = setInterval(function() {
  if (web3.eth.accounts[0] !== account) {
    account = web3.eth.accounts[0];
    updateInterface();
  }
}, 100);```

Next Page of Freelancers

If I enter the site for the first time (without being logged in) and I click on "find candidates" and then go to next page without specifying a skill it says "no more candidates are available".

Connecting Github account fails

I have an existing freelancer account on Ethlance, from before GH-connecting was implemented. After connecting my Github identity, the "Save User" button fails to provide any feedback, and I notice a JS console error:

    at r (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/scripts/inpage.js:6703:24032)
    at Object.c [as encode] (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/scripts/inpage.js:6703:24748)
    at Object.l [as fromUtf8] (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/scripts/inpage.js:6700:17541)
    at i.f [as _inputFormatter] (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/scripts/inpage.js:6700:8923)
    at i.encode (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/scripts/inpage.js:6700:13941)
    at chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/scripts/inpage.js:6700:6039
    at Array.map (native)
    at d.encodeParams (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/scripts/inpage.js:6700:6012)
    at s.toPayload (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/scripts/inpage.js:6701:5246)
    at s.sendTransaction (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/scripts/inpage.js:6701:6016)
r @ inpage.js:6703
c @ inpage.js:6703
l @ inpage.js:6700
f @ inpage.js:6700
i.encode @ inpage.js:6700
(anonymous) @ inpage.js:6700
d.encodeParams @ inpage.js:6700
s.toPayload @ inpage.js:6701
s.sendTransaction @ inpage.js:6701
s.execute @ inpage.js:6701
UR @ app.js?v=1.2.2:1381
CX.o @ app.js?v=1.2.2:1563
CX.I @ app.js?v=1.2.2:1563
q.h @ app.js?v=1.2.2:627
m8 @ app.js?v=1.2.2:2228
(anonymous) @ app.js?v=1.2.2:1539
nW @ app.js?v=1.2.2:1523
zW @ app.js?v=1.2.2:1525
g.Uh @ app.js?v=1.2.2:1536
FW @ app.js?v=1.2.2:1527
g.Xh @ app.js?v=1.2.2:1531
HW @ app.js?v=1.2.2:1528
(anonymous) @ app.js?v=1.2.2:1533
g.Sh @ app.js?v=1.2.2:1535
DW @ app.js?v=1.2.2:1526
(anonymous) @ app.js?v=1.2.2:1532
b.port1.onmessage @ app.js?v=1.2.2:1287

Using MetaMask

How you make money

Hi,

Just wanted to know how you make money with Ethlance ?
Is it a "pure altruism-based" application ?

Improve hyperlink unfurls

When posting job links (e.g. https://ethlance.com/#/job/354) into clients like Slack, Discord, etc. the unfurl that is displayed only contains generic information for the Ethlance website.

At minimum, we should change these unfurl patterns to accommodate:

  • Job postings, including the title of the job post, truncated description, and possibly the employers logo. Any other relevant metadata that can be formatted to fit is welcom.

As a bonus, we should also accommodate:

  • Freelancer profiles, including their headshot and profile description and any other relevant metadata (join date, rating?)
  • Employer profiles, including their logo and a description of the company

Implementing Coinbase app store redirect for mobile users who don't have a wallet present

Using re-frame events provided by https://github.com/district0x/district-ui-window-size and https://github.com/district0x/district-ui-web3

Depending on whether ethlance will work with district-ui-web3, I can fallback to cljs-web3 for determining web3 presence.

Suggested Enhancement involves first checking if a mobile device is accessing ethlance without using a software wallet. If it is determined that they have no software wallet, a modal should appear suggesting the use of a supported software wallet for their mobile device (Install Coinbase from the App Store, Play Store!)

Can't see messages sent to candidates

Hello!
I have candidates applied for my job.
I went to a job proposal screen (https://ethlance.com/#/job-proposal/1080), selected "Send message" tab, entered a message, and clicked "Send".
But I can not see my message in the history.
Chat at the top contains only candidate's message.

ethlance-cant-see-sent-message-in-history

I tried this for 2 candidates, with the same result: can't see my sent message.

I have not accepted the job proposals yet.

Do I have to accept the proposal to start chatting?

Failed job posting due to gas is not explained

What

I tried to make a job posting, but was unsuccessful. I was redirected to Job page without explanation. I thought I was charged ETH for the transaction, but the contract never appeared.

Hypothesis

When I initially paid for the contract, the gas was too low, so the contract was unsuccessful. The
"create job" page was stuck in a "loading" state after the failed contract, so I refreshed the page. After refreshing, I re-entered the information and then submitted. After adjusting the gas, I was successfully redirected to the "My jobs" page.

Issue

The contract that was successful, but didnt result in a job can be seen with this transaction: 0x7f442b0d4d330023e907ed7fdca93c858aa21c476c5f29db7094617cf7385662.

The contract that was failed, and forced me to restart can be seen with this transaction.
0x0bc10f232919ba1e6f8c75d7f458ca83a4db5459a5d805739a22b63b6afe0458

Actual issue

As seen in the first contract link, the failed contract was "Out of gas". This was never addressed on the front-end and led to a confusing UI.

Can't upload my profile picture

Hi,

I created a Freelancer profile, when I created the profile I couldn't change de default profile picture.
I can't change it now when I click on the profile picture.

Is it normal ?

Sending a message to candidates

Perhaps there's something I couldn't find, how can I message candidates that I find appropriate to let them know I want to work with them ?

Statistics

Where can we see how many users ethlance has ?

HTTPS Switch is URGENT

Hello, a site running on http and not https, seems like a lack of care for security, which severely degrades credibility of the platform.

This should be something you proceed to do ASAP !

Move contract data from state into events/IPFS

In many places, such as:

arbiterData.paymentValue = paymentValue;
arbiterData.currencyType = currencyType;
arbiterData.paymentType = paymentType;

bidOption = _bidOption;
estimatedLengthSeconds = _estimatedLengthSeconds;
includeEtherToken = _includeEtherToken;
isInvitationOnly = _isInvitationOnly;
metahash = _metahash;
rewardValue = _rewardValue;

amountRequested = _amountRequested;
dateCreated = now;
dateUpdated = now;

fromUserAddress = feedback.fromUserAddress;
toUserAddress = feedback.toUserAddress;
fromUserType = feedback.fromUserType;
toUserType = feedback.toUserType;
metahash = feedback.metahash;
rating = feedback.rating;
dateCreated = feedback.dateCreated;
dateUpdated = feedback.dateUpdated;

We're storing data in smart-contract state unnecessarily, because it's nowhere used for trustless logic within smart-contracts. All data that doesn't need to be accessed from other smart-contracts, should be passed to an event or stored as IPFS hash and server will reconstruct it from there. This way lot of gas will be saved. You can actually combine event and IPFS approach into the one, by not even storing IPFS hash in smart-contract, but just passing it into event. You can learn more about this approach here:
https://medium.com/@childsmaidment/stateless-smart-contracts-21830b0cd1b6

Interest in the deploy

Hi madvas, can you show the deploy workflow on Ethereum public blockchain and IPFS, i think the automate deploy script may be very useful to others developing dapps.

Odd transaction (incomplete)

Hi there. I am attempting to register as a freelancer.

However, upon sending the appropriate funds via metamask, I was being told that my transaction was undervalued.

So I sent a preposterous amount of gas with the value from ethstats.

Here is the transaction: https://etherscan.io/tx/0xdf105b80480eedcdc4d6f570655f9bc8fa2c18106e9434d84367a9f9375be609

For some reason, the value is slated at 0ETH, and has run out of gas and I have not received a refund.

Also, the website itself simply kept displaying the loading screen without telling me of any error.

Change the name

The site is excellent, not a single complaint. I used it to post a job.

I was just thinking, before this thing takes off and everyone knows who you are (because that will happen), you should change the name of the site. eth-anything is starting to get really old, and it will soon sound very old-fashioned. Branch out to a name that doesn't have the word 'eth' in it. I'm pretty sure you'll be glad you did.

You can close this issue if you want. It's just a suggestion.

New Ethlance home page changes

  1. Add third button Become an Arbiter
    image

  2. Let's change "No restrictions and free membership" to "No restrictions, no fees and free membership" (icon might need some update as well). And then we'll replace "0% service fees" with "Decentralised dispute resolution, anyone can become an arbiter" (new icon will be needed)
    image

  3. Add third tab "Arbiter" with following steps: Complete your profile, Receive invitation for job supervision, Investigate the problem, Resolve the dispute, Receive Ether, Leave feedback
    image

  4. Add third button Become an Arbiter
    image

Improve code documentation

I think ethlance is a shining example of a decentralized market platform. It is inspiring me to try to create one of my own, but unfortunately I'm having a hard time learning from the codebase because of lack of comments.

"First name" calculation is slightly off

Not sure where all on the site freelancer names get abbreviated as first-name-only, but at least on the toolbar, it's a bit weird when I write my name formally as first letter of first name, full middle name:

screen shot 2017-02-21 at 11 12 39

Just a minor gribble though. Maybe it would make sense to take every word up until the last, rather than just the first word? Seeing g. nicholas everywhere instead of g. feels a bit less like a robot is trying to guess what to call me.

(Ideally, it'd be nice to have a separate field for "friendly name" or whatever, because, for instance, the name I use formally is not the same as the name I tell people to call me)

-Nick

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.