Everytime you guys are posting and refining your ideas and introducing new ones, I'm already working out how and if code can actually do that.
This is going to be an epic few weeks/months of vodka coffee, google and github.
I go with cake and stackoverflow.com myself. Remember that not all of this needs to happen at once, it can be released bit by bit but basic p2p loans in v2.0 (even just on testnet) would be fantastic.
I envisioned the p2p lending working something like this:
1. Wallet user (Lender) is able to mark a % of their balance as available for lending if they wish. Wallet user (Lender) selects their risk profile and maybe their min interest rate - ie. has some say in who they will lend to.
-> Needs: UI checkbox and amount entry field, some means of storing lender prefs (on chain?) - Amount Borrowalbe either locked or sent to appropriate Risk Level Address - lender has option to pull out / withdraw funds or change preferred risk level somehow if funds not already loaned out.
2. Wallet user (Borrower) is credit scored by the code and presented with a list of single lenders willing to do business with them and/or an option to source the loan truly p2p based on what regular lending users have added to the available pot at various risk levels.
-> Needs: Basic working TrustDB / credit scoring code and client ability to pull suitable lenders from the lender DB and display them.
3. Borrower chooses Lender(s), picks loan amount and repayment terms, clicks GoForIt
-> Needs: Loan request message facility to lender or p2plenders. Check risk match, Lender themselves or network in case of p2p loan sends funds to borrower.
4. Borrower pays back Lender direct, or pays back lender
s by paying to one address from which proportional shares to all lenders are sent. Or just make micropayments direct to all participating lenders in that loan?
-> Needs: Automated invoicing? GoForIt button.
5. In event of dispute, Lender requests Big Al's gang to sort things out, or network decides on behalf of p2p lenders to instigate Big Al's Tutelage & Chastisement Package.
-> Needs: Call Big Al button.
++ a whole crapload of other stuff.
Do we enable all wallet users to mark funds as available for loan or just BNs? If possible I would go with the former, but... legailties... keep it BN for now perhaps if that speeds development and minimises legal voodoo.
If this could be demonstrated working in native BCR* with maybe just BNs as lenders at first, we could then add an in-wallet BTC/BCR facility (I think this should be done anyway**) and the same code template can be applied to BTC too, ie. BTC loans also, same schema. Suddenly we've got a $billions of market cap to provide p2p lending opportunities to anyone with some spare BTC.
*At this point at the latest we should take it to VC/ICO. And keep it closed source IMO, cryptognats will whine about that but nobody else gives a damn, and the blockchain is still an open ledger.
**I'm about as much of an actuary as I am a lawyer, but in order to prevent some whale coming along any buying the entire future mintage for peanuts, we could offer fresh superblock BCR something like...
1000 BCR @ current market price +10%
Each subsequent 1000 BCR at (cost of last 1000 BCR) + 2% cumulative
eg. CMP is 400 sats, 1000 BCR costs 440000 sats, 2000 BCR costs 44000 sats + (1000 * 400 * 1.12), 3000 BCR costs 44000 + (1000 * 400 * 1.14) + (1000 * 400 * 1.16) etc. ... 100000 BCR BN package (50k collateral + 50k working capital) would cost about 0.8 BTC @ 400 sat base price, which is about 10% more than what 100k BCR would cost on Bittrex currently.
Thought I'd jot down some ideas while waiting for the oven timer to beep...
***
***Dinner only slightly burned.