About the talk
Xiaohui Liu gives an update on the progress being made with smart contract development to CoinGeek’s Hannah Jackson.
Read More: https://coingeek.com/scrypt-founder-talks-smart-contracts-on-bsv-at-coingeek-london-video/
Subscribe to the CoinGeek channel to watch more CoinGeek videos on Bitcoin and blockchain. https://www.youtube.com/coingeek
⏰ Time Stamps ⏰
00:25 - Introduction of sCrypt founder Xiaohui Liu
01:04 - Release of sCrypt language 0.1
13:29 - Xiaohui Liu interview
Sign up for our newsletter to get CoinGeek get the latest cryptocurrency news and blockchain information! https://coingeek.com/
Interested in learning about Bitcoin and blockchain? Read our Bitcoin for Beginners section here: https://coingeek.com/bitcoin101/
If you have a Bitcoin SV Project idea, we’d like to know about it. Submit your Bitcoin investment idea so we can launch your business right away! https://coingeek.com/bitcoin-ventures/
Be part of the next CoinGeek Conference. Pre-register for CoinGeek New York now! https://coingeekconference.com/
Get more information about Bitcoin SV today! https://bitcoinsv.com/
Buy BSV using your credit card. https://buybsv.com/
Xiaohui Liu, founder and CEO of sCrypt, took the virtual stage at the recently held Bitcoin SV DevCon 2020 to teach the audience how to create Bitcoin smart contracts. sCrypt is a company in the Bitcoin ecosystem offering integrated smart contract solutions; during his presentation, Liu showed the audience how sCrypt works, how they can get started, and demonstrated how to write a bit of syntax via sCrypt.View the profile
I met some presentation today, I'm going to very excited you report. Someone a lot of progress we have been made in the past 4 months. So first of course we have the I'm happy to release the a script language 0.1 so that a lot of features I think without going too much into details. So here number one, we see here is the so-called one of my favorite is best to need that allows you to reuse other contact through the South quadrant important tax. So here are
very primitive example. Here this contact wherever you sent, because that's what happens on the script level is the so-called Patriot publicly hash Contact. So what is that is? First, it takes the public key hashes at compel and make sure this, the, hash matches, whatever the address representing an app that you can take the publicly and the signature at you verify the signature. So you can kind of breaking into two parts and the laugh is dependency that you can
import it and second. Now we have a dependency. Now, we can import, of course. We talked about a lot of language. The typical way to wrap a bar in the standard Library. So developers. They don't have to write Mandarin example here. I have also have the picture to k, h contract as a standard Library, so you can just one life. And then you can, you can use it in your account. Just one lie. So, for now, can we Go to the. My can we switch the screen, please? Thanks. So I'm super excited today to
announce our first released after our desktop ID card, to a switch you can not today you can go to go to visual studio code, if you use it, which is the one that most popular I did in the work. So you can go to the market place. You can search quick and that you would show up. That's all right. You can. So you can see it at the have a lot of features around here and also I'm going to do a lot of a walk-through about the how it works. Is you trying to make the experience as similar
as to develop any kind of an application. So if example, if you can go to stomp left foot, Lambo system, contracts here. So here I have a contact. Now, I want you to see What is the is the syntax is highlighted, right? Like another kind of language and then you can put down for you fast at typing. Salad starter number, maybe next day. Okay. So, if I start typing, you can say or do completion. For example, I can choose from these functions. Are this property. The last day I choose, this is a function. I can call. Okay, now
that you were action, right? So that's a, I go to another contract. You can click on the on the right and then you can say, Okay. Okay, then you can show you where that is passing through, and Is that easy? And also let's say if you Say you accidentally are you didn't FaceTime format? Okay, so you're going to say, okay, selecting days. SA. Call match the selection and then boom. It comes to your selections and also you can choose to format or the the documented as a hoe. So can we can we go
to Switchback? So this is a get you a sentence about that idea. Best need to let you to write any kind of. Strands of a developing, any other? High-level language. And also one piece. We cannot miss his testing park by so especially we are trying to deal with real money here. You want you don't want you to lock them fast which you cannot recover later. This is great risk, their security is Paramount importance. You do for that. We have that testing framework here too, but we also go back to the screen
again for the demo. Please So I got here, I sure want example. So let's say I have the contract here, fascinated. What did that is? So pay attention to numbers XY. And then the way you lock, it is through that you provide the Sun. So, On the right side, you can I can show there with the test. The best knee is, very least, so is one line. So busy, we have the SDK could ask her if the test once you're in pain that you can stay one lie. You can say, I hope you had me this country Classics, the best, knee it. Now, unless you to play with this contact, which is demo, as if it's a
And the next question is, now you have that. I have 11 mph and also you have to develop into it. What, what can you do with it? That has the number one question, so I can update you, give you a sense. Actually, a lot of things can be built on top of this is actually very powerful, much more powerful than at least what I expected. I shall find this contact Les you to access the transaction that this contract is is worthy. So this is privat Nate. This is almost considered as impossible to do it because
when you look at the scripts, opcode, that's no, I'll push transaction submitted, if you cannot. So, how do you do it? It's a very nice technique. You push the current transaction that and then you give me some you signed with some private key, but don't worry too much about this privately is not, it's just too. To show this. This transaction is what you have that the current conductor. It doesn't affect any any any kind of private key is fine. So after you have the private key, then you do that. You still caught. You said you say they say you do that
dip digital signature whizzing squirt. So thanks to the Genesis. Now, we can finally do it yourself. We don't have to rely on external competition. After you have that sickness. Do you have to do you put you on that public at that? You can do it the check signature. If it checks this transaction you posting this exactly at the current transaction. So also you can I follow a little bit of the the code, you can kind of get a chance. Now you is doing whatever they show we showed above. So, Can we?
Switch to, thanks. So, I can see why you plant over here. This is That's enough. I mean, a script, so it's better to see whether it works. You reality, right? So that's why I construct some transaction. Wish you can see it's not the usual switch. You usually say it's Bethany. You can pass pretty big. You can see around the I think Daniel can initial earlier. Sebastian is this is what are you sure? I'm showing the earlier and now this is a quick. You can say is
I don't know about you but I did was ask her but I would rather not to a program, this you screw it directly, maybe you can cut it but it's just that I feel is more convenient to do. You say a script? Okay, can we go back again? All right. So here it is. Another very good trick. I like so if all four people who know that, that's a cop-out, the court developers, that is such a clock time verify. So, basically what it is that you sent the money to do a dress, right? When you sent to address,
then the receiver can't spend any Mutiny by the Basin. It puts a lot into the transit in, through the out door into the so-called utxo not unlock transaction. How you doing? I wish I showed that trick. You can get the current transaction right? Once you have the access contact, Bethany to give you the transaction and then you can pop it, you can get the and locked out of it. And then at the last day you check the analog time is is greater or you go to the number, the mature time you specify. So also a Niagara
Daniel. What is the original source code? Okay, so is this person to make sure you can understand before the Emoji, what happened? Okay. So I just give us only a few examples and this is actually am bound as my title says it. You can also do a lot of other things that's because now you can have the transaction, you put conditions on the outdoor on an Impulse. To one thing you can do is the mad at you. And also, you can say, instead of a lock to unlock time, you can only spend a faster than you can say. Oh, you can only spend between
this month. And next month, you can say, any kind of mint condition. Also, you can talk about, you lost some payment. If, if a cat is 8/8, satoshi's, then to be also get to see you can split and dependent and just do as well. I just show it and stuff. We just sitting here for a lot of a thank you. Toilet, the queen bee. Call Amanda Lynn Hayes. Shaft, y Leo from Scripps. Tell me about that. Accurate where a company that you're trying to have a small Concrete Solutions on top of the Bitcoin at 3.
sting. So I would definitely love to have all the developers check into a scrape and uses ID very excited to see what the people filled with it. I'd like to know what about welcome behind the scenes, and then you'll hear announcing it. How do you feel right now working for your now, so it's most needed to find the dogs behind the same side. I tried have some people to test it out by this is so much like real babies. Like you got showing it to the real world and in front of the biggest, the crowd ever, so, I've been to corned beef since the first one, the Hong Kong so I can definitely
see the crossed-out growing. So, unreal. It is from attending,. I get to see other people on stage to be invited is yet and Jen. Is that a stereo installations on your business, and of course will baby. Thank you.
Buy this talk
Buy this video
Our other topics
With ConferenceCast.tv, you get access to our library of the world's best conference talks.