Jump to content

XRP-L's smart contracts


Recommended Posts

Hello xrpchat community,

I am interested in knowing more about XRP-L's smart contracts since there are little to no information regarding this topic.  Hope you are able to answer a few of my question about it.

So,  are there any books or websites that i can buy/visit to learn about the technical sides of XRPL's smart contract programming?  Here are my main questions about this subject.
- what programming language is being used to code a smart contract in XRP-L? 
- what are the challenges on programming and publishing smart contracts?
- could smart contract exchange messages/data with each other?
- why is this better than Flare's smart contract or in general,  the Flare Network itself.

It would also be very kind of you if you could add some important information regarding this subject.  Thank you.

Link to comment
Share on other sites

Within the RippleX community of developers XRPL Labs is working on native/XRPL-based smart contract functionality via an amendment called "Hooks." Flare Networks is a touring-complete Federated Byzantine Agreement (FBA) smart contract platform. The first Hooked article below explains/details the difference between native smart contract functionality (Hooks) vs Flare Networks (touring-complete).

  1. Hooked #1: Smart Contracts on the XRP ledger
  2. Hooked #2: Hooks & Security (Smart Contracts on the XRP ledger)
  3. Hooked #3: Tech Preview Release (Play with Smart Contracts on the XRP ledger!)
  4. Hooked #4: Every Microsecond Counts
  5. Hooked #5: Consensus
  6. Hooks GitHub

Ripple also has Codius which was developed way back in 2015 by Ripple's former CTO, Stefan Thomas (now CEO of Coil and Chairman of the Interledger Foundation). It has been pretty much in stealth-mode since then. In the Codius link I referenced, Stefan goes into the reason(s) Codius has yet to be fully realized. Recently, Stefan added a bit more color to picture on Twitter about how he and Evan Schwartz (Coil Board member and President of the Interledger Foundation) worked on Interledger and Web Monetization to provide the infrastructure that will help facilitate more rapid up-take of Codius (worth a read). On a recent podcast Ripple's current CTO & co-creator of the XRPL, David Schwartz, further elaborates as to the reason(s) Codius has yet to be implemented and his thoughts on Flare Networks.

Edited by King34Maine
Link to comment
Share on other sites

  • 1 month later...
41 minutes ago, VanGogh said:

 

Codius, by design, is not run by the nodes of a distributed ledger. It's about using a separate network of distributed software hosting to run the smart contracts. Also, while Codius isn't dead, it's basically on life support.

I think Stephan is right. When crypto is mature, keeping your payments network on a separate layer from your business logic is now things will be done. But I don't see that mature ecosystem where Stephan's vision will thrive as coming anytime soon. We will get there, I just don't know when.

Link to comment
Share on other sites

39 minutes ago, brianwalden said:

When crypto is mature

Yes, he says Codius is a ledger agnostic tech. Still, it was first created with the XRPL in mind. Stefan Thomas confirmed that "yes" Codius is still and ongoing project, and said "we'll try to be ready . . . . as ILP becomes established". I don't see anything about it being on "life support". Nor, do I see anything about it having to be "mature". In my view ILP is in the process now of becoming established. Suit yourself, though, put the least favorable spin on "recent" facts.

Edited by VanGogh
clarity
Link to comment
Share on other sites

3 hours ago, VanGogh said:

Yes, he says Codius is a ledger agnostic tech. Still, it was first created with the XRPL in mind. Stefan Thomas confirmed that "yes" Codius is still and ongoing project, and said "we'll try to be ready . . . . as ILP becomes established". I don't see anything about it being on "life support". Nor, do I see anything about it having to be "mature". In my view ILP is in the process now of becoming established. Suit yourself, though, put the least favorable spin on "recent" facts.

I agree, suit yourself. I disagree with your assessment that I'm putting the least favorable spin on the facts. I could think of far less favorable spins to take.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...