156 points · by nahollander · 9y ago · 61 comments
My name's Nadav Hollander, and I'm the Founder of Dharma.
Dharma is building an open-source library that makes it really easy to programatically borrow and lend cryptocurrencies using smart contracts on the Ethereum blockchain.
Today we're launching our Alpha Testnet release -- a command line tool that allows you to
1. Access a line of cryptocurrency credit from the command line in under 5 minutes 2. Easily build a bot that auto-invests in loans under hyper-customizable, programmable criteria
Check it out: https://github.com/dharmaprotocol/dharma-cli
Why I Think This Is Cool:
1. Loans in the Dharma Protocol are basically miniature ICOs issued by borrowers -- an investor's stake in a loan is held in a digital token that entitles them to future cash flows. That means loans are just as tradeable and moddable as Bitcoin or Ether, and packaging loan tokens into tranched debt instruments of all shapes and sizes is relatively trivial to implement in an Ethereum smart contract.
2. Dharma is an open protocol. This opens the door for any client application, including existing online lending platforms, to tap into a non-proprietary army of lending bots as a source of lending capital. This has the potential to dramatically lower the cost of capital for online lenders -- and, in turn, borrowers.
How This Can Be Better:
1. Loans in the Dharma Protocol are slow and expensive. Ether gas costs are fairly steep for writing the requisite loan data onto the Ethereum blockchain, and an on-chain auctioning mechanism places a bottleneck on how fast a loan can be funded. We plan to address these issues by migrating towards an off-chain auctioning mechanism layered on top of a Kademlia-style P2P network.
2. The identity verification mechanisms we use to assess baseline creditworthiness are very weak -- any mainnet release of the protocol would necessitate much more robust KYC flows.
Please play around with the CLI -- would love to hear feedback!
What is used as a source of identity of the borrower? IE, how do you punish bad borrowers on future loans? Or does that fall outside of this?
In short -- borrowers have to get a cryptographically signed attestation from what's called a Risk Assessment Attestor in order to request a loan in Dharma. RAAs use whatever means they have to assess a borrower's identity and creditworthiness -- be that through social media logins, uploaded identification documents, authenticated phone numbers, their loan history both on and off chain, etc. They are compensated for this by a fee that is allotted to them in the loan contract. Ostensibly, borrowers are deterred from defaulting on their loans insofar as their future creditworthiness on the platform will be marred.
For the time being, Dharma Labs is the sole RAA of the protocol, but, as time goes on, we hope to build mechanisms for allowing other trusted third parties to enter the ecosystem as RAAs.
Your ownership in a loan on Dharma is denominated by a cryptographic token like Bitcoin, Ether, or any other, meaning its just as easy to trade your stake in a loan as it is to trade a cryptocurrency.
Assets built on open protocols are fundamentally easier to build products and technologies around -- insofar as they lower the barrier to entry for developing financial applications, their openness is extremely valuable.
Do the RAAs also lose money if they approve a loan that turns out bad? The creditors do.
What is the relationship is between an RAA and creditors? I assume they are separate entities.
Whee, racial profiling!
> deterred from defaulting on their loans insofar as their future creditworthiness on the platform will be marred
Oooh, scary :-) You're not even threatening to half-assedly try to involve authorities if someone just runs with the money?
I think this is a very interesting engineering feat, but it does seem to suffer from the basic problem that there is no real connection between the real world and this fantasy world called "the blockchain".
Also, a small comment on the README:
> submitting to the contract any subset of the investors' bids whose total cash amount is equal to the desired principal
If you really mean "equal" here, you are looking at the NP-complete subset sum problem in general. Also, there might just not be solutions at all. Maybe you don't actually mean "equal", it should become more practical if you allowed some deviations from the borrower's initially specified amount.
Some startups do similar things to this (Tala) to lend in countries without credit bureaus and IIRC they can achieve loan repayment rates >= 'prime' US borrowers.
It reminded me of my time working on credit models for subprime mortgages. We forecasted 2 variables: frequency and severity of default. The total loss prediction was the product of the two. If your severity is always 100% at least it makes your model simpler.
I would imagine if you have some expertise in that area, it would be of interest here. Might also help put some confidence in your specific use case.
For what it's worth -- I'm a former engineer at Coinbase / Google and recently graduated from Stanford. Though I didn't touch Solidity as part of my work at Coinbase, I've been following Ethereum extremely closely since its beginnings, and any mainnet release I'd push forward would certainly undergo rigorous third-party auditing at the smart contract level. I've also been iterating on this protocol for the better part of the past 9 months, so this is by no means a weekend project.
Now, I'm someone with ~10yrs experience in finance/production engineering/regulation. That doesn't mean I'm right, just that I've been in the trenches for far longer and seen this type of domain from a number of sides over the course of many years. I need to at least mention that, well, this project is probably a bomb and you should be really careful with it. I, at least, wouldn't want to be the next DAO dev (e.g. project takes off quickly, unseen exploit exists, I lose some 10's of millions of other people's money) at mostly a personal (I'd feel guilty) and career trajectory level.
The Parity multi-sig bug occurred in a solidity shop that was founded by the father of the language itself. It got past a serious audit and had the best eng process known (for solidity) enforced. The odds that your code -- currently unaudited correct? -- doesn't have an exploit are, while impossible to accurately calculate, quite remote. Even an audit, as shown by Parity, is no guarantee. And while yes, we're all human so there is always the chance for a bug, your system could be the next ITO market and thus could gain a huge amount of attention (from both regular folks, regulators, and hackers).
I'm not saying you shouldn't do it (I wouldn't but you do you) or that you must have more exp to do it. I'm just recommending to be careful. Have fun and good luck!
But, after all, a dark horse 20 year old college dropout spearheaded the development of Ethereum, and the technology now secures nearly 20B worth of value.
Maybe it's impossible to truly build processes for secure software deployment auditing in this space -- in which case, it's unlikely blockchain tech will succeed as a technology in general -- but I hold an optimistic view that, as formal verification techniques for smart contracts get fleshed out and easier to use, best practices will emerge and it will become easier to build secure contracts on blockchains.
Hopefully, until that point in time, Dharma won't get caught on the wrong side of history.
Forgive my youth and naïveté :)
OP should also definitely consult a lawyer before making this public. Eth advocates love to parrot the 'code is the contract' slogan, but the actual law could very well disagree.
>The Parity multi-sig bug occurred in a solidity shop that was founded by the father of the language itself. It got past a serious audit and had the best eng process known (for solidity) enforced. The odds that your code -- currently unaudited correct? -- doesn't have an exploit are, while impossible to accurately calculate, quite remote.
I think this is very inaccurate. There have been devastating bugs in Ethereum, namely the bug in the DAO and the one in the Parity multisig contract. But there are numerous smart contracts that have not been found to be vulnerable. You cannot extrapolate what happened to two contracts to the entire ecosystem. It's inaccurate to claim that the probability that the loan contract he's working on will not have critical bugs once it's live is "remote", and a red herring to point out that it is unlikely to be bug free now, when it is still in development.
Yeah, I don't think that is true, at all. Dharma is a concept and you've listed books (or close enough to books).
According to Wikipedia,
> In certain contexts, dharma designates human behaviours considered necessary for order of things in the universe, principles that prevent chaos, behaviours and action necessary to all life in nature, society, family as well as at the individual level.
With this definition, I think the author has given the project a fine name.
Beyond that, I really think you're getting bent out of shape about something very insignificant and don't think this has anything to do with "westerners [yanking] Buddhist words". It's no different than naming something Apache, Vista, Yahoo, or Google. It's just a name.
And just to add, also according to Wikipedia,
> The antonym of dharma is adharma (Sanskrit: अधर्म), meaning that which is “not dharma”. As with dharma, the word adharma includes and implies many ideas; in common parlance, adharma means that which is against nature, immoral, unethical, wrong or unlawful.
So, either you don't know what Dharma or Adharma is yourself or you just don't know what's an antonym.
Dharma is also used by Hindus--I'm not Hindu, so I won't comment on what the word means for them.
Saying "it's just a name" is a valueless claim. Of course it's just a name. Names have meaning, and in this case, the word has four thousand years of history in Asia. I just don't understand why this particular name was chosen, and why borrowing something fundamental to two major world religions is the logical choice for a protocol.
"The Gospel", in my understanding of the Christian term, is also a concept, and not a book.
Yes, I'm being facetious, but I think GP has a point. It seems as though a cool sounding word was chosen and used for the fun of it. And this is what words become, it just feels somewhat irresponsible to start a potential change in culture to favour your hot new tech over sage advice to better the human condition. So while the original word isn't gone, it is always at risk, and with the loss of words comes blunted ability to explain concepts. So while I would not describe it as 'yanking', I would more describe it as 'eroding', which doesn't have to be a good thing or a bad thing, but it's happening.
I'm hardly one to talk about "cultural appropriation", as nobody in particular really has claim to ownership of culture, but the naming does sit somewhat off with me, though it's just a personal preference of course.
Adorno wrote about the commodification of art in The Culture Industry. Can the same be said about our ideas? Gramsci wrote about cultural hegemony, can the same be observed in our replacement of the meaning of words in this way?
Consider the case of the javascript test runner, Karma. It was originally named testacular. Possibly a play on spectacular, but also close enough to testicular to make female consumers of the library a bit uncomfortable. Ultimately, products have to be sold to someone, and this is a problem that makes that job harder.
Dharma does carry a secular sanskrit definition, but sanskrit is not a precise written language like English. The meanings of words are often only discoverable in context, and approachable only with a prior familiarity of common illustrations and allegories depicting the concept. Westerners, unfamiliar with such depictions as the Bhagavad Gita, which MOST Indians are familiar with, are severely disadvantaged in discussing the true concept behind the word. Relying on a particular English transliteration is risky.
But for the part about it being different in this regard from English, this is probably true of Sanskrit.
But that's not a different from English; lots of things in English require similar (local and cultural) contextual information to understand.
> Yeah, I don't think that is true, at all. Dharma is a concept and you've listed books (or close enough to books).
When someone labels something as cultural appropriation is not a matter of whether it is a true label or not, what matters is that some number of people from that culture consider it to be cultural appropriation. If they do, then it's a problem and the project owners need to decide if they'll change the name or not.
At the beginning of the project, there's no large cost to changing the name, so I'd change it if it was my project.
That said, coming up with names is hard. I've been told I'm good at it. Not sure if that's true, but here are three alternatives: Lifeline, EthereaL, Enablr, Xtension. The Dharma project owners may use any of these names to rename their project for free in perpetuity, if they wish. Post here if you do though, because otherwise I have ideas for several of them (not ethereum loans, or even loans).
[1] https://blog.district0x.io/introducing-the-district0x-networ...
From what I understand, third party entities responsible for vetting borrowers. These entities referred to as "Risk-Assessment Attestor"(RAA) are incentivized to do quality risk assessment as they get a piece of the loans they vet.
Here's a section from the white paper, discussing the importance of RAAs and how they might deter habitual defaulters
"Moreover, RAAs are capable of reporting borrower defaults to relevant credit bureaus on the behalf of lenders. Thus, borrowers are disincentivized from defaulting on loans insofar as their future creditworthiness, both within the Dharma network and in traditional loan markets, will be adversely affected."
---
1. And/or things like this.
Is there an estimated release date for the Dharma Loan Browser?