VSC Proposal - Interim - Bring Smart Contracts to Hive

in #vsc4 months ago (edited)

VSC Proposal - Interim - Bring Smart Contracts to Hive

image.png

Greetings HIVE community! We are excited to announce our first DHF funding proposal for the VSC project. This is the first part of a two part proposal, the first proposal will give us an initial burst of funding to build out a basic VSC testnet over the next 4-5 months. Around that same time of the release of the testnet we will put out our second main VSC proposal, which will allow us to continue development for the next year. We'd appreciate the support from the community and we invite you to thoroughly read through this proposal and associated proposal draft (essentially our whitepaper)

For those who don't know, the VSC network is a next generation smart contract system that will power the next generation of HIVE DAPPs. For a very long period of time, HIVE has completely lacked the ability to create, maintain and operate truly open smart contracts either on the base layer or an equivalent L1. VSC aims to completely change that, by providing a universal, composable, and modular layer for DAPPs to customize, create and reuse smart contracts. With the advent of VSC, we could bring HIVE into a flourishing ecosystem of longterm builders and growth.

Additionally and most importantly, VSC isn't just a theoretical project. We've been operating a very basic testnet to demonstrate and experiment with different designs. We already have 10+ community ran witnesses. So far, we've learned a great amount of information about how VSC will look and the challenges ahead of it. We are up for the challenge of this massive endeavor.

The goal

We aim to provide the community with a powerful but flexible system to handle L2 smart contracts. VSC smart contracts will be match and past attempts at bringing smart contracts to HIVE. The time is now to be excited about the future of HIVE.

Aside from addressing already existing concerns, our aim is to also address future concerns of scalable and multi-chain/cross-chain support. Our longterm goals of being scalable require us to use scalable datastructures like CRDTs, DAG, etc and utilize a unique consensus structure to handle the load. Ultimately, this utilizes HIVE as the base layer for communication, providing VSC with lightning fast confirmation times and censorship resistance. We are actively looking into solutions that will help further make both VSC and HIVE more efficient for this type of project.

What you need to know:

VSC Brings:

  • Powerful smart contracts
  • Ethereum User onboarding
  • Wrapping of BTC to HIVE
  • Smart addresses - for payment processors and custom payment logic
  • Smart Contract Controlled HIVE accounts
  • Offchain accounts (DID standard)
  • Long term scalability
  • Opportunities for DeFi on HIVE
  • Aid the development of the SPK network, Games, NFTs and many other projects on Hive.
  • Bring HIVE up to speed with the latest technology
  • …And more

We will be releasing several blogs over the following months to further clarify each of these points and why they are ultimately important.

For more information about the core of what VSC is, see our website and draft proposal below.

https://peakd.com/vsc/@vsc.network/our-first-dhf-proposal-initial-draft

Why VSC:

image.png

…along with many others showing their support.

Scope

  • Support for offchain accounts (DIDs)
  • Minimum scaling capabilities - with room to improve
  • MVP smart contract APIs and capabilities
  • MVP bitcoin wrapping interface
  • No fees
  • Demo of VSC multisig & “contract output actions”
  • Build out of P2P protocol for mempool & multisig operations
  • Minimum security

Core Components

  • Development of standards for VSC data formats and underlying structures
  • Develop and maintain a full fledged smart contract layer.
  • Open and customizable smart contracts
  • Graphql Interface
    • Supporting smart contract state
    • Transaction info
    • Node Info
    • Indexed searches
    • Custom models
    • Etc
  • Anchor Chain

Witness system

  • Also known as validators
  • Voted in DPoS style
  • Only a single main validator set
  • Responsible for the multisig
  • Acts as the final arbiter of the network
  • Produces blocks, TX validation, helps keep track of global state (anchor chain)
  • Very lightweight node operation

Smart contracts

  • Javascript/Webassembly based smart contracts
  • Provide DAPPs with a versatile and flexible smart contract
  • Ability for smart contracts to own on chain funds
  • Simple key/value store for storing basic contract state - mimic LevelDB
  • TX input options
    • HIVE account
    • Included block
    • Signed by authority

Executor pools

Executors pools are responsible for the sharding & maintainership of smart contracts on VSC. Each pool is a separate set of nodes from other executor pools & the main witness system. This does not mean a node will be excluded from operating in multiple pools, rather the goal is to enforce horizontal sharding as the number of nodes on the network increases with usage.

  • One of many pools for scaling
  • Higher node requirements per node
  • Maintains the state of smart contracts
  • [Research] Joining smart contracts
  • [Research] Shuffling pools
  • [Research] Fraud requests / Fraud Proofs

Standardized smart contracts

  • Development of common use case smart contracts
  • Ownership/ledger contract
  • Token contract
  • NFT contract
  • DEX contract for both NFTs and tokens
  • Bitcoin chain relay
  • (More will be added in the future)

Decentralized Bitcoin wrapping

Aside from VSC bringing smart contracts to HIVE, VSC also plays an important role in making wrapped Bitcoin a reality on HIVE. Due to the nature of VSC smart contract scalability, VSC contracts are a perfect fit for the data intensive task of handling cross chain wrapping. To do this, we've created a technology called the "chain relay." The easiest way to explain is it's essentially a compressed copy of the Bitcoin blockchain into a relatively light weight smart contract. This contract gives us the ability to prove or disprove wrapping operations on the Bitcoin mainnet. Handing out wrapped Bitcoin or slashed collateral where needed.

The chain relay can also do more than just wrapped. It enables dapps to create arbitrary functionality reliant on something happening on the Bitcoin mainnet. For example a VSC smart contract using the chain relay, can help coordinate a swap of a Bitcoin Ordinal between a seller and buyer.

We will ultimately need to build:

  • Collateralization of wrapping providers - redeem or slash
  • Bitcoin price oracle.
  • Indexing of wrapping providers
  • Health checks and balancing collateral distribution.
  • Bitcoin chain relay (currently being built/in testing)

User facing Applications

image.png

As a few of you already know, we are in the process of building a specialized frontend for handling the wrapping/unwrapping of Bitcoin. The frontend would not only handle wrapping, but also trading between HIVE/HBD, not unlike tribaldex/simpleswap. However, we have a lot more planned for what this will ultimately turn into, so stayed tune for a release date and our future plans. You will not be disappointed.

  • “VSC Tokens” Portal
    • Ability to wrap BTC into HIVE from web app
    • Trade wBTC against HBD/HIVE/Other supported tokens
    • Simple interface for handling wrapping, trading and other standard DeFi features
    • Send / receive wBTC
    • ..longer term plans will be released at a later date.

Name Subject to change

Research

To assist with the future development of the VSC project. We have established multiple research projects that we will pursue to guide the subsequent phases of VSC development. These may or may not be worked during the timeframe of this proposal, but our goal is to work on them. Additional development of these goals will mainly be placed on future proposals.

  • Fully trustless L1 < — > L2 bridging
  • Fully trustless L2 < - > L2 bridging
  • Research and partial implementation of “sharded proof of stake” consensus (SPOS)
  • Research and partial implementation of improved cryptographic formats for higher efficiency consensus and lower storage impacts of consensus.
  • Research Smart contract inheritance - Allows smart contracts to inherit properties from standardized smart contracts. Example usecase: token contract with a custom burn function.
  • Fraud proofs & security measures to accommodate for smart contract state sharding
  • VSC specific functions & Various data types

Budget

We are asking for $55,491 over the next 4 months. This will serve as a transformational phase between now and the testnet we will release in around 4-5 months, along with setting the vision for what VSC will ultimately look like. While this might seem like a relatively small amount, we will need your continuous support on this proposal and future proposals to ultimately build out this project.

Thank you for letting us be part of the HIVE community.

Timeline

  • Initial DHF funding Proposal
  • Proof of concept Bitcoin Wrapping Demo
  • Testnet Release 3-4 months from now
  • “Production” release of Bitcoin Wrapping
  • Mainnet around end of 2024

image.png

Subject to change due to unforeseen challenges or new scope

Team

  • @vaultec - Founder
    • The founder of VSC and proven web3 developer. Originally joining Hive in 2018, he has a long history of working with web3 technologies and platforms. Currently building SPK, 3Speak and VSC
  • @platinium - Core Contributor
    • Fullstack developer with a strong interest in web3 and blockchain technology. He has been working in his free time on core VSC features such as the accounting system.
  • @piyushjha - Frontend Developer
    • Frontend developer intern recently started with the VSC project. He is currently building the bitcoin swap UI.
  • @manuphotos - Community Manager / Social Media team
    • Founder of HiveCuba | Photographer | Community Manager of Hive Keychain | Developer
  • We will expand the team where needed.

Socials

Website: https://vsc.eco

Twitter: @vsc_eco

Hive: https://peakd.com/@vsc.network

Github: https://github.com/vsc-eco

Repo: https://github.com/vsc-eco/vsc-node


VSC_1.gif

Vote on Peakd
Vote on Ecency
Vote on Hivesigner

Sort:  

Withdrawing my support. Receiving spam notices to support your proposal is bad enough. Receiving spam notices to support your proposal on accounts that have already voted for it by proxy tells me that your team either doesn't have the Hive blockchain knowledge or lacks the technical sophistication required to do something like this safely.

What's worse than not having smart contracts?

....

Having smart contracts that ARE NOT SAFE because the developers don't have sufficient knowledge or sophistication.

I don't know whether anybody will keep looking at this proposal, but I'm upvoting the preceding comment for (minimal) visibility.

simplest logic
3-speak starting second layer 2 network. 3 proposals for spk network, 2 L2 networks to run it.
I wonder what happened to peerplays, @theycallmedan don't you think people play you sometimes?
I guess if this network will succeed spk is going to drop dlux and use this one
then other proposal for dlux is pure waste of money for HIVE?
Didn't look up the code, it could be much worse if it's just fork of their previous work(I guess dlux in this case?)
It's weird enough already looking by people building together on one network to start another network eventually...

That's from someone who is really interested in any L2 on hive, bridges, contracts and all that. I think you ignore some things on very basic level that's why overall it ends with fails streak, but I know nothing about L2 networks on HIVE.

Please keep in mind VSC is a completely separate project from SPK/DLux. VSC is being built completely from the ground up and no such forking has occurred. We are building VSC to be a powerful smart contract core for all HIVE DAPPs not just SPK, or any of the like. In comparison, Dlux is primarily a project specific L2 network, whereas VSC is meant to be a hive engine replacement and successor. The intent here is to build technology anyone can use for NFTs, tokens, airdrops, backends, wrapping, etc, and make that as open and freely available as possible plus provide sophisticated tools to tackle onboarding and scalability.

Everything is public on our github repo: https://github.com/vsc-eco/vsc-node

Feel free to ask me any further questions, I'd be happy to answer.

Very eager to see the outcome of this. This could expand the network towards a hole new future. And this is all thanks to all the community building HIVE layer one, now able to cope with further developing like this. Plus probably many more compatible iterations of it.

Super excited to see this... totally why the fund exists!

Supported

Supported. Cannot be more excited about this development on Hive! 😍😍😍

I thought core devs were working on a smart contract for Hive or am I wrong on that? If that's the case why double up the efforts? (serious question not being smart or sarcastic)

The contracts you speak of would be L2 and not directly on Hive. There would be no on chain footprint and is just a special version of HAF. There is also no release date or concrete plans at the moment and afaik is mainly experimentation. Aside from that, VSC is MUCH more than simply bringing smart contracts to Hive, there are huge implications of scalability, onboarding, cross chain, etc.

Thank you for the feedback and explanation you have my vote. Let's make hive great in 2024!

This is great! Keep up the great work guys 👍 !PGM

Sent 0.1 PGM - 0.1 LVL- 1 STARBITS - 0.05 DEC - 1 SBT - 0.1 THG - 0.000001 SQM - 0.1 BUDS - 0.01 WOO - 0.005 SCRAP tokens

remaining commands 11

BUY AND STAKE THE PGM TO SEND A LOT OF TOKENS!

The tokens that the command sends are: 0.1 PGM-0.1 LVL-0.1 THGAMING-0.05 DEC-15 SBT-1 STARBITS-[0.00000001 BTC (SWAP.BTC) only if you have 2500 PGM in stake or more ]

5000 PGM IN STAKE = 2x rewards!

image.png
Discord image.png

Support the curation account @ pgm-curator with a delegation 10 HP - 50 HP - 100 HP - 500 HP - 1000 HP

Get potential votes from @ pgm-curator by paying in PGM, here is a guide

I'm a bot, if you want a hand ask @ zottone444


This is a great initiative. Best of luck

Thank you so much for building this greatly needed feature on Hive! Fully supported :)

@tipu curate

Voted. Looks promising project to me.
!DHEDGE

1


This post has been selected for upvote from our token accounts by @seckorama! Based on your tags you received upvotes from the following account(s):

- @dhedge.bonus

@seckorama has 10 vote calls left today.

Hold 10 or more DHEDGE to unlock daily dividends and gain access to upvote rounds on your posts from @dhedge. Hold 100 or more DHEDGE to unlock thread votes. Calling in our curation accounts currently has a minimum holding requirement of 100 DHEDGE. The more DHEDGE you hold, the higher upvote you can call in. Buy DHEDGE on Tribaldex or earn some daily by joining one of our many delegation pools at app.dhedge.cc.

Congratulations @vsc.network! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You received more than 2000 upvotes.
Your next target is to reach 2250 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

You have my vote

Congratulations @vsc.network! Your post has been a top performer on the Hive blockchain and you have been rewarded with this rare badge

Post with the highest payout of the day.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

I voted for the proposal but I would like to hear some details on what are you going to deliver if you get the funding.

Everything under the "scope" and "research" section we will generally try to accomplish. Of course, these are large goals to accomplish and may shift around.
At the very least we will release:

  • A testnet demonstrating Smart Contracts on Hive while being close to production stability/security and utilizing the underlying technology we sought to build.
  • Wrapped Bitcoin on VSC/HIVE

If you have any specific questions, we'd be happy to clarify further.

I have been waiting to support your DHF Proposal. You are doing some incredible work!

Supported. Smart contracts are very important!

Supported! 😎

That looks great! Supported!

Vote for your proposal!!!

Supported!!

Fantastic! You have my support, 100%. Let's do it!

Voted. I like to see Bitcoin wrapping by April next year.

https://inleo.io/threads/rzc24-nftbbg/re-rzc24-nftbbg-2hjb8opdc
The rewards earned on this comment will go directly to the people ( rzc24-nftbbg ) sharing the post on LeoThreads,LikeTu,dBuzz.

Loading...