The One Question bounty closes Thursday 10 December.

Join in
We Them Media logo We Them Media Support us

CoreDAO workshop

The picture loads from YouTube. The player loads only when you press Play. Turn on captions in the player if you need them.

Two speakers from Core, named in the talk as Daniel and Ajay, present a layer 1 blockchain secured by Bitcoin and compatible with Ethereum tools. The first covers its consensus design, staking products and non-custodial Bitcoin staking, and the second shows deploying a contract with Hardhat by swapping in the Core RPC address.

Not by We Them Media Channel: Web3Bridge. Published Sunday 13 October 2024.

Titles are the owner’s. It plays from their channel.

Transcript

This transcript may contain errors. This video belongs to Web3Bridge. Letters mark each change of speaker.

These are the speakers’ own words. We have not checked their claims.

0:09 A: Okay, so, uh, while he's getting it set up, so, uh, Core is a layer 1, uh, blockchain. Um, I think the other guy that came, um, Rootstock or something, said they are the first to be aligned with Bitcoin. I think that's not so true. Forgive me. Uh, so we're the first Bitcoin-aligned, uh, blockchain, but then EVM compatible. What it means is that our blockchain is secured by the Bitcoin blockchain, right? But then you can build smart contracts, okay, on the Ethereum side, right? So, um, our consensus mechanism is the Satoshi Plus consensus mechanism. which combines, um, 3 things in one, right? Decentralized proof of work- sorry, um, delegated proof of work, delegated proof of stake, and the non-custodial BTC staking. Okay, so these are the 3 components of our consensus mechanism. So, uh, what does this mean for developers? For- because I know that a lot of people here are here for the technical session. This is a developer's class, right? So what this means for developers is that- so this is an opportunity for you to build, um, decentralized applications, dApps, that are secured by the Bitcoin blockchain. Okay, you build on Ethereum but your, your, your application will be secure. Your smart contract will be secured by the Bitcoin blockchain. We all know how, um, strong or how secure the Bitcoin blockchain is, being the first. So, um, what are some of our products? What are some of our core, our core, core products? So we have the Okay, I think we have them here. Okay, um, the STCORE. What is STCORE? STCORE simply means staking core. Okay, so this is a token that you stake, okay, to earn rewards, returns, or interest. Okay, we have, um, the Core BTC. The Core BTC is, is BTC that is wrapped, wrapped BTC. Okay, we've seen these tokens that are wrapped, right, on different chains. For instance, this is Bitcoin, but then it's on the core blockchain this time around, so it's wrapped on the core blockchain. Okay, then, um, the last one is the non-custodial staking BTC. So what is this and what does it do? What does it allow you to do? It allows you to, um, stake Bitcoin So one thing with Core is that it gives you this, um, opportunity or privilege to be able to use Bitcoin in a decent- in a DeFi manner, okay? Decentralized finance, okay? So Core, now on Core you can stake Bitcoin non-custodial. Remember what that means is that your Bitcoin stays with you in your wallet, right? In your Web3 wallet, but then you can stake it. and then earn, um, rewards. How this is- this works is that it's going to be locked for the amount of time, the period, for, for a time, um, stick for a staking period, okay? It will be locked for that time. You can't take it out, but it's right there in your wallet. You can't take it out, but it's right there in your wallet. So why is the- why is it like that? You know, a lot of times we've heard of, um, when centralized exchanges went down, right? like FTX and the rest. Let me not, uh, talk down on other people, but so these are applications that went down with people's funds and all that. So why are we- this is the reason why we're, we're making our own non-custodial. So nobody takes your Bitcoin away from you, it stays right in your wallet, but it's locked. You can't access it for the time period that is locked because you're earning interest on it. Okay. So, so the next thing I want to talk about is the- our tools, the tools you use for development as developers, right? How do you build on core? So we have our tools, even though it's EVM compatible completely. The language we write- okay, I'm a smart contract developer as well, okay? But then I work as a technical ambassador here. So, um, the language we use is Solidity, okay? The normal Solidity, you know, okay? But then we have some few settings, some few changes that we have on our own blockchain. So these are some of our resources, right? And then, um, our, our, our docs can be accessed at docs.coreDAO.org. I think you can see the address up there, docs.coreDAO.org. So, so right here, this very area, I think you can see it from there, um, Core Blockchain Testnet Resources. So what are these? These are tools that allow you to build on the test chain, on the core test chain. Okay, okay. Um, here is our Test Explorer, right? You open it, you can- when you deploy your contracts, this is where you can come to, to, to verify them, to check them and all that. These are our RPC endpoints. I will not say so much on this because, uh, my colleague Ajay will come and speak on them. Um, so I think let me even stop here since he will take the technical side more, right? Okay, so let me just allow him to go from here. These are basically the mainnet resources. Up is the testnet. So thank you.

6:32 B: So on GMGM, um, it's nice seeing some old and new faces here. And, um, it's late in the day, so I don't think I'll take much of your time. So, um, as my colleague Daniel has said, um, Core is a layer 1 blockchain. So we leverage the security of Bitcoin while enjoying the scalability of Ethereum. So, um, I just think I have- I'll just show us how just to deploy a contract because I believe most of us here are smart contract developers. I don't need to start telling you how to write a contract again. So, um, so let me see. I have a repo here. Yeah. So I have a repo. Just, I think we'll just go through the Haddad config. Okay. So, just- okay.

7:56 A: So, I think it's trying to clone the repository, right?

8:10 B: Okay. Okay. So this is just a simple contract, like it's a simple staking contract, but I'll be more interested in the Haddad configuration. So we all- we mostly know how to deploy. Yeah, so I think it's, um, to deploy. Okay, there's no .env file, that's why it's complaining a lot. So let me just add the .env. Then please, um, I'm assuming that most people are familiar with what I'm doing. I don't know if you are not and you need me to just explain something, then I can pause and explain, but Okay. Okay. So, we need an .env file and I think Okay, let me install my dependencies. So, so I think I will just need my API, my API key here, and, um, I need that, I need my account private key. Is it? Oh God, it's picking up now. Yeah. And API, then. Okay. So I think from my Hadoop config, these are the variables I will need. And probably it's not hard to get. So I think it's here. Okay, so I get my RPC from here. Yeah. So these are our PC. Daniel, can I open? Okay, because I'll need to get, uh, I need to get private key. So, uh, or should we open another account for the test? Yes. Okay, so let's get your private key. You don't cast, okay? So And don't worry, please don't park our test tokens. Yes, yes. So okay, um, I think the major thing we are supposed to get out of this is, um, since we are EVM compatible and it's the same thing, it's just like deploy- deploying on Sepolia, Leaks- okay, Leaks too, no, Sepolia, Polygon and stuff. So what you just need mostly is our RPC URL. So once you have the RPC URL and you go to your Hardhat config file, And where you put your Sepolia RPC URL, you just replace it with Core RPC URL. And I think it's the same thing. Then you're good to go. Then it's just npx hadath runscript/deploy.js or ts --network test-core, I think. Yeah. Then the private key, to get our private key, to get your Etherscan, our API key, Yeah, you opened it somewhere. Are you signed in? Because, okay, you just come, um, you come to our site, you create an account. Just if not created, and we can run through that. Or better still, okay, um, I've been warned twice about time, so it's not hard. You just go, you come here when you register. It's just like registering on Alchemy. You've registered on Alchemy and you've gotten your Etherscan API key. Yeah, so it's straightforward. Most things- why I like Web3 is most things are straightforward. There's no confusion. It's just to go where- to know where to go. Like, anytime you feel lost, you can just Google, um, CoreTest faucet. I think if you Google CoreTest faucet, you get a link straight to get faucet. If you Google, uh, CoreTest NetScan, you get- you go straight to the scan. You don't need to get the URL complete. So, um, with that, I think, um, I've come to the end. So if you have any question, any clarity, anything that you need me to iron out for you, then I will take questions now. But if none, thank you very much and cheers.

More from this hub

Something wrong, or a video you want off this page? Write to wethem.xyz@gmail.com and it is fixed or taken down within 48 hours.