Unlocking the potential for XRP Ledger scaling has a solid basis in the growing number of active wallets making vital transactions. Hence this project is inspired to construct a Xumm wallet API user interface for the key: value pairs logic of standard legal form transactions on the XRP Ledger global network, generating a PDF of the contract instance with transaction hash links back to the blockchain.

AI cognitive systems, such as ChatGTP, Chatsonic, and Bing (sounds like a law firm), will likely find this project has an interactive constitutional potential towards the new general agreement seemingly being sought by global leaders as the world turns otherwise lacking computational formalization amid the emergent partial sovereign-banking jurisdictional transference to the blockchains.

What it does is operating on the XRP Ledger Mainnet wherein users fill out a standard Security Agreement form replicating the LegalZoom and RocketLawyer legal standard forms involving a Lender and Buyer detailing the secured property and terms of the Loan. Except to sign the contract instead of signing and recording the contract by conventional means, XRPLegalDocs utilizes XRPL Escrow transactions and Xumm wallet signing of the contract simultaneous with transfer of the XRP Loan from Lender to Borrower.

What it does is create the scenario of two parties meeting with legal counsel wherein the Lender creates and funds the escrow and Borrower signs the agreement receiving the Loan with the transaction hash recorded in a PDF download - in about 4 to 5 seconds while everybody and their LegalZoom RocketLawyers are all still sitting around the conference table.

How we built it

Some of the parts were left over from the last time, but the original idea was every smart contract on any blockchain should have its own webpage with links to its blockchain transactions. In the prior art LegalZoom and RocketLawyer standard legal forms users entered their particular contract key: value properties encoding said contract conditions according to advice from legal counsel. The present invention adds the coding mechanism to sign the contracts via Xumm wallet signing simultaneous with its XRP transfers. The project was refined to be entirely browserified running on html and javascript since that seemed to be the most reliable way to make everything work together.

Challenges we ran into

Rabbit holes exist and we are all quite mad. YouTube helps a lot with the coding...our way out of it. It's a rabbithole minefield out there though as everyone here knows from crossing the proverbial no man's land wild west mostly alone sometimes in small groups. Lol. We made it across with the goal of somehow learning how to apply the escrow conditions and transactions of conventional electronic contracts to the automated XRPL escrow conditions and transactions.

Perhaps the main challenge we found is software documentation is like reading a foreign language which redefines obscure meanings to the words of native language. Somewhat similar to the arcane legal, financial, religious, and particle physics languages, except of course the software definitions of similar meaning words define uniquely operating functions rather than generating signal noise to obscure common knowledge understanding. Also there is the necessary challenge of the competing proliferation of coding languages and platforms, all evolving and improving through partially adopting and depreciating various methods. One minor example is Typescript being a bit of a rabbithole, which apparently works well for some applications as condensed Javascript syntax - but then Typescript needs to be compiled into Javascript - which seemed to introduce another error processing layer to sort out. Hence the project finds Javascript to be well-formed logic enough moving forward.

Accomplishments that we're proud of

The present direct peer to peer distributed blockchain financing, i.e. DeFi, requires only a computer, phone, and moderate learning curve gradient practice with microtransfers. Hence we are proud the project promotes financial inclusion, and unlocking potential for XRP Ledger scaling via the frontend operating entirely through the browser via html and javascript with the XRPL backend hence of lightest weight for the service provider networks.

Security involves refreshing the screen wiping out all the data, which is not stored on the GoDaddy VPS hosting the website, only temporarily in users browsers to generate the PDF downloads.

We then convert the PDFs into multi-page GIF NFT images in the cases where the parties choose to make the contracts public records. The future automation of which is possible, involving of course the extra steps required to create new accounts for the NFTs, for example, such as the transaction sequence of the Sologenic securities registered DEX:

Sologenic Decentralized Security Exchange NFT: XRPLegalDocs Security Agreement 1

The Documents list has been expanded to include a Vehicle Bill of Sale one of the most important and widespread financial transactions people make and as such follows the same signing and financial transaction sequence of conventional transactions:

Sologenic Decentralized Security Exchange NFT: XRPLegalDocs Bill of Sale 1

Invoice (under construction)

What we learned

In the beginning was the project and the assumptions were void. We were not sure much of the time. At first the XRP Ledger code was a mystery to look at even with all the extensive well-presented RippleX developer support. So we spent a lot of time working through the more human-readable coding examples of the several Solidity hosting blockchains such as Cardano, Polygon, and XDC Network with the compiling and migrating platforms such as React-TypeScript and so on. Soon the compiling, migrating, and so on processing of the Solidity contracts started to end up looking like XRPL JSON so that the ledger became less of a mystery to interact with directly through the excellent Xumm wallet connectivity and developer support. We learned py-script plays well with html and javascript looking towards unlocking proper human-ai potential.

What's next for XRPLegalDocs

We're working on an invoice. No seriously, we're working on a new Documents list Invoice form under construction.

Hooks amendment ratification by the global XRP Ledger network, in particular the carbon (split-payments) and firewall (spam-blocking) hooks, would establish basis for monetization of the business model via partial payments for the downloads and NFTs. Accordingly Hooks would also establish basis for an employee-owned business plan wherein lowest number of employees receive partial payments in return for success in developing and governing product marketshare.

Our developer end goal is to transfer this project over completely lock stock and barrel to a lady lawyer with the interest and energy to maybe come up with a better name and start this new legal practice of deciding any and all answers to any and all questions any of the parties or press may have whom may use it. We would rather build an airplane.

Built With

Share this project: