submitted by j0j0r0 to ethereum [link] [comments]
Dragonchain Public Proposal TL;DR:Dragonchain has demonstrated twice Reddit’s entire total daily volume (votes, comments, and posts per Reddit 2019 Year in Review) in a 24-hour demo on an operational network. Every single transaction on Dragonchain is decentralized immediately through 5 levels of Dragon Net, and then secured with combined proof on Bitcoin, Ethereum, Ethereum Classic, and Binance Chain, via Interchain. At the time, in January 2020, the entire cost of the demo was approximately $25K on a single system (transaction fees locked at $0.0001/txn). With current fees (lowest fee $0.0000025/txn), this would cost as little as $625.
Watch Joe walk through the entire proposal and answer questions on YouTube.
This proposal is also available on the Dragonchain blog.
Hello Reddit and Ethereum community!I’m Joe Roets, Founder & CEO of Dragonchain. When the team and I first heard about The Great Reddit Scaling Bake-Off we were intrigued. We believe we have the solutions Reddit seeks for its community points system and we have them at scale.
For your consideration, we have submitted our proposal below. The team at Dragonchain and I welcome and look forward to your technical questions, philosophical feedback, and fair criticism, to build a scaling solution for Reddit that will empower its users. Because our architecture is unlike other blockchain platforms out there today, we expect to receive many questions while people try to grasp our project. I will answer all questions here in this thread on Reddit, and I've answered some questions in the stream on YouTube.
We have seen good discussions so far in the competition. We hope that Reddit’s scaling solution will emerge from The Great Reddit Scaling Bake-Off and that Reddit will have great success with the implementation.
Executive summaryDragonchain is a robust open source hybrid blockchain platform that has proven to withstand the passing of time since our inception in 2014. We have continued to evolve to harness the scalability of private nodes, yet take full advantage of the security of public decentralized networks, like Ethereum. We have a live, operational, and fully functional Interchain network integrating Bitcoin, Ethereum, Ethereum Classic, and ~700 independent Dragonchain nodes. Every transaction is secured to Ethereum, Bitcoin, and Ethereum Classic. Transactions are immediately usable on chain, and the first decentralization is seen within 20 seconds on Dragon Net. Security increases further to public networks ETH, BTC, and ETC within 10 minutes to 2 hours. Smart contracts can be written in any executable language, offering full freedom to existing developers. We invite any developer to watch the demo, play with our SDK’s, review open source code, and to help us move forward. Dragonchain specializes in scalable loyalty & rewards solutions and has built a decentralized social network on chain, with very affordable transaction costs. This experience can be combined with the insights Reddit and the Ethereum community have gained in the past couple of months to roll out the solution at a rapid pace.
Response and PoCIn The Great Reddit Scaling Bake-Off post, Reddit has asked for a series of demonstrations, requirements, and other considerations. In this section, we will attempt to answer all of these requests.
A live proof of concept showing hundreds of thousands of transactionsOn Jan 7, 2020, Dragonchain hosted a 24-hour live demonstration during which a quarter of a billion (250 million+) transactions executed fully on an operational network. Every single transaction on Dragonchain is decentralized immediately through 5 levels of Dragon Net, and then secured with combined proof on Bitcoin, Ethereum, Ethereum Classic, and Binance Chain, via Interchain. This means that every single transaction is secured by, and traceable to these networks. An attack on this system would require a simultaneous attack on all of the Interchained networks.
24 hours in 4 minutes (YouTube):
24 hours in 4 minutes
The demonstration was of a single business system, and any user is able to scale this further, by running multiple systems simultaneously. Our goals for the event were to demonstrate a consistent capacity greater than that of Visa over an extended time period.
Tooling to reproduce our demo is available here:
Source code (for on & off-chain components as well tooling used for the PoC). The source code does not have to be shared publicly, but if Reddit decides to use a particular solution it will need to be shared with Reddit at some point.
How it works & scales
Architectural ScalingDragonchain’s architecture attacks the scalability issue from multiple angles. Dragonchain is a hybrid blockchain platform, wherein every transaction is protected on a business node to the requirements of that business or purpose. A business node may be held completely private or may be exposed or replicated to any level of exposure desired.
Every node has its own blockchain and is independently scalable. Dragonchain established Context Based Verification as its consensus model. Every transaction is immediately usable on a trust basis, and in time is provable to an increasing level of decentralized consensus. A transaction will have a level of decentralization to independently owned and deployed Dragonchain nodes (~700 nodes) within seconds, and full decentralization to BTC and ETH within minutes or hours. Level 5 nodes (Interchain nodes) function to secure all transactions to public or otherwise external chains such as Bitcoin and Ethereum. These nodes scale the system by aggregating multiple blocks into a single Interchain transaction on a cadence. This timing is configurable based upon average fees for each respective chain. For detailed information about Dragonchain’s architecture, and Context Based Verification, please refer to the Dragonchain Architecture Document.
Economic ScalingAn interesting feature of Dragonchain’s network consensus is its economics and scarcity model. Since Dragon Net nodes (L2-L4) are independent staking nodes, deployment to cloud platforms would allow any of these nodes to scale to take on a large percentage of the verification work. This is great for scalability, but not good for the economy, because there is no scarcity, and pricing would develop a downward spiral and result in fewer verification nodes. For this reason, Dragonchain uses TIME as scarcity.
TIME is calculated as the number of Dragons held, multiplied by the number of days held. TIME influences the user’s access to features within the Dragonchain ecosystem. It takes into account both the Dragon balance and length of time each Dragon is held. TIME is staked by users against every verification node and dictates how much of the transaction fees are awarded to each participating node for every block.
TIME also dictates the transaction fee itself for the business node. TIME is staked against a business node to set a deterministic transaction fee level (see transaction fee table below in Cost section). This is very interesting in a discussion about scaling because it guarantees independence for business implementation. No matter how much traffic appears on the entire network, a business is guaranteed to not see an increased transaction fee rate.
Scaled DeploymentDragonchain uses Docker and Kubernetes to allow the use of best practices traditional system scaling. Dragonchain offers managed nodes with an easy to use web based console interface. The user may also deploy a Dragonchain node within their own datacenter or favorite cloud platform. Users have deployed Dragonchain nodes on-prem on Amazon AWS, Google Cloud, MS Azure, and other hosting platforms around the world. Any executable code, anything you can write, can be written into a smart contract. This flexibility is what allows us to say that developers with no blockchain experience can use any code language to access the benefits of blockchain. Customers have used NodeJS, Python, Java, and even BASH shell script to write smart contracts on Dragonchain.
With Docker containers, we achieve better separation of concerns, faster deployment, higher reliability, and lower response times.
We chose Kubernetes for its self-healing features, ability to run multiple services on one server, and its large and thriving development community. It is resilient, scalable, and automated. OpenFaaS allows us to package smart contracts as Docker images for easy deployment.
Contract deployment time is now bounded only by the size of the Docker image being deployed but remains fast even for reasonably large images. We also take advantage of Docker’s flexibility and its ability to support any language that can run on x86 architecture. Any image, public or private, can be run as a smart contract using Dragonchain.
Flexibility in ScalingDragonchain’s architecture considers interoperability and integration as key features. From inception, we had a goal to increase adoption via integration with real business use cases and traditional systems.
We envision the ability for Reddit, in the future, to be able to integrate alternate content storage platforms or other financial services along with the token.
Cost estimates (on-chain and off-chain) For the purpose of this proposal, we assume that all transactions are on chain (posts, replies, and votes).On the Dragonchain network, transaction costs are deterministic/predictable. By staking TIME on the business node (as described above) Reddit can reduce transaction costs to as low as $0.0000025 per transaction.
Dragonchain Fees Table
How to run itBuilding on Dragonchain is simple and requires no blockchain experience. Spin up a business node (L1) in our managed environment (AWS), run it in your own cloud environment, or on-prem in your own datacenter. Clear documentation will walk you through the steps of spinning up your first Dragonchain Level 1 Business node.
Getting started is easy...
ArchitectureDragonchain is an open source hybrid platform. Through Dragon Net, each chain combines the power of a public blockchain (like Ethereum) with the privacy of a private blockchain.
Dragonchain organizes its network into five separate levels. A Level 1, or business node, is a totally private blockchain only accessible through the use of public/private keypairs. All business logic, including smart contracts, can be executed on this node directly and added to the chain.
After creating a block, the Level 1 business node broadcasts a version stripped of sensitive private data to Dragon Net. Three Level 2 Validating nodes validate the transaction based on guidelines determined from the business. A Level 3 Diversity node checks that the level 2 nodes are from a diverse array of locations. A Level 4 Notary node, hosted by a KYC partner, then signs the validation record received from the Level 3 node. The transaction hash is ledgered to the Level 5 public chain to take advantage of the hash power of massive public networks.
Dragon Net can be thought of as a “blockchain of blockchains”, where every level is a complete private blockchain. Because an L1 can send to multiple nodes on a single level, proof of existence is distributed among many places in the network. Eventually, proof of existence reaches level 5 and is published on a public network.
APIs (on chain & off)
Known issues or tradeoffs
Costs and resources
Summary of cost & resource information for both on-chain & off-chain components used in the PoC, as well as cost & resource estimates for further scaling. If your PoC is not on mainnet, make note of any mainnet caveats (such as congestion issues).Every transaction on the PoC system had a transaction fee of $0.0001 (one-hundredth of a cent USD). At 256MM transactions, the demo cost $25,600. With current operational fees, the same demonstration would cost $640 USD.
For the demonstration, to achieve throughput to mimic a worldwide payments network, we modeled several clients in AWS and 4-5 business nodes to handle the traffic. The business nodes were tuned to handle higher throughput by adjusting memory and machine footprint on AWS. This flexibility is valuable to implementing a system such as envisioned by Reddit. Given that Reddit’s daily traffic (posts, replies, and votes) is less than half that of our demo, we would expect that the entire Reddit system could be handled on 2-5 business nodes using right-sized containers on AWS or similar environments.
Verification was accomplished on the operational Dragon Net network with over 700 independently owned verification nodes running around the world at no cost to the business other than paid transaction fees.
This PoC should scale to the numbers below with minimal costs (both on & off-chain). There should also be a clear path to supporting hundreds of millions of users.During Dragonchain’s 24 hour demo, the above required numbers were reached within the first few minutes.
Reddit’s total activity is 9000% more than Ethereum’s total transaction level. Even if you do not include votes, it is still 700% more than Ethereum’s current volume. Dragonchain has demonstrated that it can handle 250 million transactions a day, and it’s architecture allows for multiple systems to work at that level simultaneously. In our PoC, we demonstrate double the full capacity of Reddit, and every transaction was proven all the way to Bitcoin and Ethereum.
Reddit Scaling on Ethereum
Solutions should not depend on any single third-party provider. We prefer solutions that do not depend on specific entities such as Reddit or another provider, and solutions with no single point of control or failure in off-chain components but recognize there are numerous trade-offs to considerDragonchain’s architecture calls for a hybrid approach. Private business nodes hold the sensitive data while the validation and verification of transactions for the business are decentralized within seconds and secured to public blockchains within 10 minutes to 2 hours. Nodes could potentially be controlled by owners of individual subreddits for more organic decentralization.
Usability Scaling solutions should have a simple end user experience.
Users shouldn't have to maintain any extra state/proofs, regularly monitor activity, keep track of extra keys, or sign anything other than their normal transactionsDragonchain and its customers have demonstrated extraordinary usability as a feature in many applications, where users do not need to know that the system is backed by a live blockchain. Lyceum is one of these examples, where the progress of academy courses is being tracked, and successful completion of courses is rewarded with certificates on chain. Our @Save_The_Tweet bot is popular on Twitter. When used with one of the following hashtags - #please, #blockchain, #ThankYou, or #eternalize the tweet is saved through Eternal to multiple blockchains. A proof report is available for future reference. Other examples in use are DEN, our decentralized social media platform, and our console, where users can track their node rewards, view their TIME, and operate a business node.
Transactions complete in a reasonable amount of time (seconds or minutes, not hours or days)All transactions are immediately usable on chain by the system. A transaction begins the path to decentralization at the conclusion of a 5-second block when it gets distributed across 5 separate community run nodes. Full decentralization occurs within 10 minutes to 2 hours depending on which interchain (Bitcoin, Ethereum, or Ethereum Classic) the transaction hits first. Within approximately 2 hours, the combined hash power of all interchained blockchains secures the transaction.
Free to use for end users (no gas fees, or fixed/minimal fees that Reddit can pay on their behalf)With transaction pricing as low as $0.0000025 per transaction, it may be considered reasonable for Reddit to cover transaction fees for users.
All of Reddit's Transactions on Blockchain (month)
Community points can be earned by users and distributed directly to their Reddit account in batch (as per Reddit minting plan), and allow users to withdraw rewards to their Ethereum wallet whenever they wish. Withdrawal fees can be paid by either user or Reddit. This model has been operating inside the Dragonchain system since 2018, and many security and financial compliance features can be optionally added. We feel that this capability greatly enhances user experience because it is seamless to a regular user without cryptocurrency experience, yet flexible to a tech savvy user. With regard to currency or token transactions, these would occur on the Reddit network, verified to BTC and ETH. These transactions would incur the $0.0000025 transaction fee. To estimate this fee we use the monthly active Reddit users statista with a 60% adoption rate and an estimated 10 transactions per month average resulting in an approximate $720 cost across the system. Reddit could feasibly incur all associated internal network charges (mining/minting, transfer, burn) as these are very low and controllable fees.
Reddit Internal Token Transaction Fees
Reddit Ethereum Token Transaction Fees
When we consider further the Ethereum fees that might be incurred, we have a few choices for a solution.
Users should be able to view their balances & transactions via a blockchain explorer-style interfaceFrom interfaces for users who have no knowledge of blockchain technology to users who are well versed in blockchain terms such as those present in a typical block explorer, a system powered by Dragonchain has flexibility on how to provide balances and transaction data to users. Transactions can be made viewable in an Eternal Proof Report, which displays raw data along with TIME staking information and traceability all the way to Bitcoin, Ethereum, and every other Interchained network. The report shows fields such as transaction ID, timestamp, block ID, multiple verifications, and Interchain proof. See example here.
Node payouts within the Dragonchain console are listed in chronological order and can be further seen in either Dragons or USD. See example here.
In our social media platform, Dragon Den, users can see, in real-time, their NRG and MTR balances. See example here.
A new influencer app powered by Dragonchain, Raiinmaker, breaks down data into a user friendly interface that shows coin portfolio, redeemed rewards, and social scores per campaign. See example here.
Exiting is fast & simpleWithdrawing funds on Dragonchain’s console requires three clicks, however, withdrawal scenarios with more enhanced security features per Reddit’s discretion are obtainable.
Interoperability Compatibility with third party apps (wallets/contracts/etc) is necessary.Proven interoperability at scale that surpasses the required specifications. Our entire platform consists of interoperable blockchains connected to each other and traditional systems. APIs are well documented. Third party permissions are possible with a simple smart contract without the end user being aware. No need to learn any specialized proprietary language. Any code base (not subsets) is usable within a Docker container. Interoperable with any blockchain or traditional APIs. We’ve witnessed relatively complex systems built by engineers with no blockchain or cryptocurrency experience. We’ve also demonstrated the creation of smart contracts within minutes built with BASH shell and Node.js. Please see our source code and API documentation.
Scaling solutions should be extensible and allow third parties to build on top of it Open source and extensible
Documentation should be clear and completeFor full documentation, explore our docs, SDK’s, Github repo’s, architecture documents, original Disney documentation, and other links or resources provided in this proposal.
Third-party permissionless integrations should be possible & straightforward Smart contracts are Docker based, can be written in any language, use full language (not subsets), and can therefore be integrated with any system including traditional system APIs. Simple is better. Learning an uncommon or proprietary language should not be necessary.Advanced knowledge of mathematics, cryptography, or L2 scaling should not be required. Compatibility with common utilities & toolchains is expected.
Dragonchain business nodes and smart contracts leverage Docker to allow the use of literally any language or executable code. No proprietary language is necessary. We’ve witnessed relatively complex systems built by engineers with no blockchain or cryptocurrency experience. We’ve also demonstrated the creation of smart contracts within minutes built with BASH shell and Node.js.
Bonus Points: Show us how it works. Do you have an idea for a cool new use case for Community Points? Build it!
TIMECommunity points could be awarded to Reddit users based upon TIME too, whereas the longer someone is part of a subreddit, the more community points someone naturally gained, even if not actively commenting or sharing new posts. A daily login could be required for these community points to be credited. This grants awards to readers too and incentivizes readers to create an account on Reddit if they browse the website often. This concept could also be leveraged to provide some level of reputation based upon duration and consistency of contribution to a community subreddit.
Dragon DenDragonchain has already built a social media platform that harnesses community involvement. Dragon Den is a decentralized community built on the Dragonchain blockchain platform. Dragon Den is Dragonchain’s answer to fake news, trolling, and censorship. It incentivizes the creation and evaluation of quality content within communities. It could be described as being a shareholder of a subreddit or Reddit in its entirety. The more your subreddit is thriving, the more rewarding it will be. Den is currently in a public beta and in active development, though the real token economy is not live yet. There are different tokens for various purposes. Two tokens are Lair Ownership Rights (LOR) and Lair Ownership Tokens (LOT). LOT is a non-fungible token for ownership of a specific Lair. LOT will only be created and converted from LOR.
Energy (NRG) and Matter (MTR) work jointly. Your MTR determines how much NRG you receive in a 24-hour period. Providing quality content, or evaluating content will earn MTR.
Security. Users have full ownership & control of their points.All community points awarded based upon any type of activity or gift, are secured and provable to all Interchain networks (currently BTC, ETH, ETC). Users are free to spend and withdraw their points as they please, depending on the features Reddit wants to bring into production.
Balances and transactions cannot be forged, manipulated, or blocked by Reddit or anyone elseUsers can withdraw their balance to their ERC20 wallet, directly through Reddit. Reddit can cover the fees on their behalf, or the user covers this with a portion of their balance.
Users should own their points and be able to get on-chain ERC20 tokens without permission from anyone elseThrough our console users can withdraw their ERC20 rewards. This can be achieved on Reddit too. Here is a walkthrough of our console, though this does not show the quick withdrawal functionality, a user can withdraw at any time. https://www.youtube.com/watch?v=aNlTMxnfVHw
Points should be recoverable to on-chain ERC20 tokens even if all third-parties involved go offlineIf necessary, signed transactions from the Reddit system (e.g. Reddit + Subreddit) can be sent to the Ethereum smart contract for minting.
A public, third-party review attesting to the soundness of the design should be availableTo our knowledge, at least two large corporations, including a top 3 accounting firm, have conducted positive reviews. These reviews have never been made public, as Dragonchain did not pay or contract for these studies to be released.
Bonus pointsSee above
Compatibility with HSMs & hardware walletsFor the purpose of this proposal, all tokenization would be on the Ethereum network using standard token contracts and as such, would be able to leverage all hardware wallet and Ethereum ecosystem services.
Minting/distributing tokens is not performed by Reddit directlyThis operation can be automated by smart contract on Ethereum. Subreddits can if desired have a role to play.
One off point burning, as well as recurring, non-interactive point burning (for subreddit memberships) should be possible and scalableThis is possible and scalable with interaction between Dragonchain Reddit system and Ethereum token contract(s).
Fully open-source solutions are strongly preferredDragonchain is fully open source (see section on Disney release after conclusion).
ConclusionWhether it is today, or in the future, we would like to work together to bring secure flexibility to the highest standards. It is our hope to be considered by Ethereum, Reddit, and other integrative solutions so we may further discuss the possibilities of implementation. In our public demonstration, 256 million transactions were handled in our operational network on chain in 24 hours, for the low cost of $25K, which if run today would cost $625. Dragonchain’s interoperable foundation provides the atmosphere necessary to implement a frictionless community points system. Thank you for your consideration of our proposal. We look forward to working with the community to make something great!
Disney Releases Blockchain Platform as Open SourceThe team at Disney created the Disney Private Blockchain Platform. The system was a hybrid interoperable blockchain platform for ledgering and smart contract development geared toward solving problems with blockchain adoption and usability. All objective evaluation would consider the team’s output a success. We released a list of use cases that we explored in some capacity at Disney, and our input on blockchain standardization as part of our participation in the W3C Blockchain Community Group.
Open SourceIn 2016, Roets proposed to release the platform as open source to spread the technology outside of Disney, as others within the W3C group were interested in the solutions that had been created inside of Disney.
Following a long process, step by step, the team met requirements for release. Among the requirements, the team had to:
The Disney Open Source Committee approved the application known as OSSRELEASE-10, and the code was released on October 2, 2016. Disney decided to not issue a press release.
Original OSSRELASE-10 document
Dragonchain FoundationThe Dragonchain Foundation was created on January 17, 2017. https://den.social/l/Dragonchain/24130078352e485d96d2125082151cf0/dragonchain-and-disney/
submitted by sidhujag to ethereum [link] [comments]
We are excited to participate and present Syscoin Platform's ideal characteristics and capabilities towards a well-rounded Reddit Community Points solution!
Our scaling solution for Reddit Community Points involves 2-way peg interoperability with Ethereum. This will provide a scalable token layer built specifically for speed and high volumes of simple value transfers at a very low cost, while providing sovereign ownership and onchain finality.
Token transfers scale by taking advantage of a globally sorting mempool that provides for probabilistically secure assumptions of “as good as settled”. The opportunity here for token receivers is to have an app-layer interactivity on the speed/security tradeoff (99.9999% assurance within 10 seconds). We call this Z-DAG, and it achieves high-throughput across a mesh network topology presently composed of about 2,000 geographically dispersed full-nodes. Similar to Bitcoin, however, these nodes are incentivized to run full-nodes for the benefit of network security, through a bonded validator scheme. These nodes do not participate in the consensus of transactions or block validation any differently than other nodes and therefore do not degrade the security model of Bitcoin’s validate first then trust, across every node. Each token transfer settles on-chain. The protocol follows Bitcoin core policies so it has adequate code coverage and protocol hardening to be qualified as production quality software. It shares a significant portion of Bitcoin’s own hashpower through merged-mining.
This platform as a whole can serve token microtransactions, larger settlements, and store-of-value in an ideal fashion, providing probabilistic scalability whilst remaining decentralized according to Bitcoin design. It is accessible to ERC-20 via a permissionless and trust-minimized bridge that works in both directions. The bridge and token platform are currently available on the Syscoin mainnet. This has been gaining recent attention for use by loyalty point programs and stablecoins such as Binance USD.
SolutionsSyscoin Foundation identified a few paths for Reddit to leverage this infrastructure, each with trade-offs. The first provides the most cost-savings and scaling benefits at some sacrifice of token autonomy. The second offers more preservation of autonomy with a more narrow scope of cost savings than the first option, but savings even so. The third introduces more complexity than the previous two yet provides the most overall benefits. We consider the third as most viable as it enables Reddit to benefit even while retaining existing smart contract functionality. We will focus on the third option, and include the first two for good measure.
Syscoin + Matic IntegrationMatic and Blockchain Foundry Inc, the public company formed by the founders of Syscoin, recently entered a partnership for joint research and business development initiatives. This is ideal for all parties as Matic Network and Syscoin Platform provide complementary utility. Syscoin offers characteristics for sovereign ownership and security based on Bitcoin’s time-tested model, and shares a significant portion of Bitcoin’s own hashpower. Syscoin’s focus is on secure and scalable simple value transfers, trust-minimized interoperability, and opt-in regulatory compliance for tokenized assets rather than scalability for smart contract execution. On the other hand, Matic Network can provide scalable EVM for smart contract execution. Reddit Community Points can benefit from both.
Syscoin + Matic integration is actively being explored by both teams, as it is helpful to Reddit, Ethereum, and the industry as a whole.
Proving Performance & Cost SavingsOur POC focuses on 100,000 on-chain settlements of token transfers on the Syscoin Core blockchain. Transfers and burns perform equally with Syscoin. For POCs related to smart contracts (subscriptions, etc), refer to the Matic Network proposal.
On-chain settlement of 100k transactions was accomplished within roughly twelve minutes, well-exceeding Reddit’s expectation of five days. This was performed using six full-nodes operating on compute-optimized AWS c4.2xlarge instances which were geographically distributed (Virginia, London, Sao Paulo Brazil, Oregon, Singapore, Germany). A higher quantity of settlements could be reached within the same time-frame with more broadcasting nodes involved, or using hosts with more resources for faster execution of the process.
Addresses used: 100,014
The demonstration was executed using this tool. The results can be seen in the following blocks:
It is important to note that this POC is not focused on Z-DAG. The performance of Z-DAG has been benchmarked within realistic network conditions: Whiteblock’s audit is publicly available. Network latency tests showed an average TPS around 15k with burst capacity up to 61k. Zero-latency control group exhibited ~150k TPS. Mainnet testing of the Z-DAG network is achievable and will require further coordination and additional resources.
Even further optimizations are expected in the upcoming Syscoin Core release which will implement a UTXO model for our token layer bringing further efficiency as well as open the door to additional scaling technology currently under research by our team and academic partners. At present our token layer is account-based, similar to Ethereum. Opt-in compliance structures will also be introduced soon which will offer some positive performance characteristics as well. It makes the most sense to implement these optimizations before performing another benchmark for Z-DAG, especially on the mainnet considering the resources required to stress-test this network.
Cost SavingsTotal cost for these 100k transactions: $0.63 USD
See the live fee comparison for savings estimation between transactions on Ethereum and Syscoin. Below is a snapshot at time of writing:
ETH price: $318.55 ETH gas price: 55.00 Gwei ($0.37)
Syscoin price: $0.11
Snapshot of live fee comparison chart
Z-DAG provides a more efficient fee-market. A typical Z-DAG transaction costs 0.0000582 SYS. Tokens can be safely redeemed/re-spent within seconds or allowed to settle on-chain beforehand. The costs should remain about this low for microtransactions.
Syscoin will achieve further reduction of fees and even greater scalability with offchain payment channels for assets, with Z-DAG as a resilience fallback. New payment channel technology is one of the topics under research by the Syscoin development team with our academic partners at TU Delft. In line with the calculation in the Lightning Networks white paper, payment channels using assets with Syscoin Core will bring theoretical capacity for each person on Earth (7.8 billion) to have five on-chain transactions per year, per person, without requiring anyone to enter a fee market (aka “wait for a block”). This exceeds the minimum LN expectation of two transactions per person, per year; one to exist on-chain and one to settle aggregated value.
Tools, Infrastructure & Documentation
Syscoin BridgeMainnet Demonstration of Syscoin Bridge with the Basic Attention Token ERC-20
A two-way blockchain interoperability system that uses Simple Payment Verification to enable:
APITools to simplify using Syscoin Bridge as a service with dapps and wallets will be released some time after implementation of Syscoin Core 4.2. These will be based upon the same processes which are automated in the current live Sysethereum Dapp that is functioning with the Syscoin mainnet.
DocumentationSyscoin Bridge & How it Works (description and process flow)
Superblock Validation Battles
HOWTO: Provision the Bridge for your ERC-20
HOWTO: Setup an Agent
Developer & User Diligence
Trade-offThe Syscoin Ethereum Bridge is secured by Agent nodes participating in a decentralized and incentivized model that involves roles of Superblock challengers and submitters. This model is open to participation. The benefits here are trust-minimization, permissionless-ness, and potentially less legal/regulatory red-tape than interop mechanisms that involve liquidity providers and/or trading mechanisms.
The trade-off is that due to the decentralized nature there are cross-chain settlement times of one hour to cross from Ethereum to Syscoin, and three hours to cross from Syscoin to Ethereum. We are exploring ways to reduce this time while maintaining decentralization via zkp. Even so, an “instant bridge” experience could be provided by means of a third-party liquidity mechanism. That option exists but is not required for bridge functionality today. Typically bridges are used with batch value, not with high frequencies of smaller values, and generally it is advantageous to keep some value on both chains for maximum availability of utility. Even so, the cross-chain settlement time is good to mention here.
CostEthereum -> Syscoin: Matic or Ethereum transaction fee for bridge contract interaction, negligible Syscoin transaction fee for minting tokens
Syscoin -> Ethereum: Negligible Syscoin transaction fee for burning tokens, 0.01% transaction fee paid to Bridge Agent in the form of the ERC-20, Matic or Ethereum transaction fee for contract interaction.
Z-DAGZero-Confirmation Directed Acyclic Graph is an instant settlement protocol that is used as a complementary system to proof-of-work (PoW) in the confirmation of Syscoin service transactions. In essence, a Z-DAG is simply a directed acyclic graph (DAG) where validating nodes verify the sequential ordering of transactions that are received in their memory pools. Z-DAG is used by the validating nodes across the network to ensure that there is absolute consensus on the ordering of transactions and no balances are overflowed (no double-spends).
APISyscoin-js provides tooling for all Syscoin Core RPCs including interactivity with Z-DAG.
DocumentationZ-DAG White Paper
Useful read: An in-depth Z-DAG discussion between Syscoin Core developer Jag Sidhu and Brave Software Research Engineer Gonçalo Pestana
Trade-offZ-DAG enables the ideal speed/security tradeoff to be determined per use-case in the application layer. It minimizes the sacrifice required to accept and redeem fast transfers/payments while providing more-than-ample security for microtransactions. This is supported on the premise that a Reddit user receiving points does need security yet generally doesn’t want nor need to wait for the same level of security as a nation-state settling an international trade debt. In any case, each Z-DAG transaction settles onchain at a block target of 60 seconds.
Syscoin SpecsSyscoin 3.0 White Paper
(4.0 white paper is pending. For improved scalability and less blockchain bloat, some features of v3 no longer exist in current v4: Specifically Marketplace Offers, Aliases, Escrow, Certificates, Pruning, Encrypted Messaging)
WalletsWeb3 and mobile wallets are under active development by Blockchain Foundry Inc as WebAssembly applications and expected for release not long after mainnet deployment of Syscoin Core 4.2. Both of these will be multi-coin wallets that support Syscoin, SPTs, Ethereum, and ERC-20 tokens. The Web3 wallet will provide functionality similar to Metamask.
Syscoin Platform and tokens are already integrated with Blockbook. Custom hardware wallet support currently exists via ElectrumSys. First-class HW wallet integration through apps such as Ledger Live will exist after 4.2.
Current supported wallets
Syscoin Spark Desktop
ExplorersMainnet: https://sys1.bcfn.ca (Blockbook)
Thank you for close consideration of our proposal. We look forward to feedback, and to working with the Reddit community to implement an ideal solution using Syscoin Platform!
With the development of blockchain technology, obtaining data on the chain only is no longer satisfying and how to bridge the real world and the blockchain world has always been the direction of the technological breakthrough. Under this background, Oracle Machine came to our attention. In particular, with the popularity of the DeFi concept, the industry starts to witness a boom of the application of Oracle Machine in financial derivatives, trading platforms, gambling games, and prediction markets.submitted by ThemisOracle to u/ThemisOracle [link] [comments]
At present, Oracle Machine represented by Themis is developing fast with a good momentum, leading the trend of the development of Oracle Machine and continuing to consolidate the basic technical support for the DeFi revolution. Themis’ mining system has been launched in the market, which is refreshing and appealing (see https://themisoracle.com/#/credit for details on the Themis mining).
90% of MIS, the native token of Themis, will be used for mining output. The entire mining mechanism runs through a distributed oracle protocol, which sets up three roles: data provider, data validator, and arbitration node. Reward and punishment mechanisms are applied to ensure the smooth ecological operation.
How does Themis mining work? Is it a new way to become wealthy? What are the characteristics? To answer these questions, we need to analyse the distribution mechanism, mining mechanism, and token value of Themis.
With a fairer mining mechanism, small and medium-sized miners can enjoy better benefits
One of the core values of blockchain is fairness and justice, and allowing everyone in the network to play a role in the system without permission. However, Bitcoin mining is now monopolized by several mining machine vendors such as Bitmain, leaving little space for other miners to participate. If those old PoW public chains, such as Bitcoin, has formed the head effect in mining, what about those new projects? Let's take Cosmos as an example. Since Binance joined its validator node, it has instantly ranked top with the strong financial strength and user base of the top exchange, making the small and medium nodes hard to participate.
After comparison, we can find that the mining mechanism of MIS is very friendly to ordinary users. Assuming that there are 12 mining transactions in a block, the ranking according to the MIS pledged by each transaction would be as follow:
The pledge ranking is based on the jump ranking weighting algorithm rather than the weighted average of the user pledge amount, which can prevent MIS from being controlled by a small number of people, avoid monopoly, creating a win-win situation in the Themis community.
Compared with other mining projects, Themis has introduced a unique pledge ranking method in the mining design. Users in the best ranking area will get the most benefits, which is a good mechanism guarantee for attracting more users to participate in mining. At the same time, it can lead to the decentralization of data providers, ensuring the decentralization of the oracle system and the positive development of the community.
How can miners join in Themis mining? The answer is to become a part of the ecology by playing the role of either data provider, data validator, or arbitration node.
The data provider is mainly responsible for providing various types of data, and the data validator verifies and challenges the data offered by the data provider and provides new data. The arbitration node arbitrates the query raised by the data validator and come up with the final result.
Both the data providers and validators of Themis need to pledge MIS to obtain the qualifications, and the caller of external data also needs to pay MIS assets when accessing the data of Themis oracles. If the data has been verified as correct, data providers and validators will receive mining rewards, and the more they pledge, the more rewards they will receive.
In the mining design of Themis, miners can acquire MIS by providing verifiable random number or offering the price of in-chain assets. Whenever miners call mining contracts, the system will charge no service fee (excluding the service fee of ETH). In addition, if no mining transaction occurs within a certain period of time, the first newly-emerging block containing mining transactions will acquire all the MIS rewards. In this way, miners can be encouraged to continue mining and maintain the ecological stability of Themis.
The number of MIS mining for each mining transaction of miners is calculated as follows:
First, calculate the number of MIS mining rewards N contained in the block of the packaged mining transaction. If the height difference between the block and the previous block containing the mining transaction is y, then N = y * 20.
The MIS mining quantity of this mining transaction is M, then M=Xi/(📷)×N. Among them, X is the ranking of the MIS pledge amount in the block, and those who pledge the same amount of MIS have the same ranking.
Few official pre-mining, while 90% belongs to the community
Based on the official announcement, the distribution of MIS is:
The total amount of MIS is 1 billion, 10% is reserved for early project promotion, the remaining 90% are produced by mining, in which 75% are directly awarded to data providers, 10% to developers, and 5% as reward for arbitration nodes and ecological incentive. The production of mining will be progressively decreased and released with ETH. For some current popular VC-invested projects, institutional holdings hold more than half of blocks and unlock the block every month, which is a huge stress for ordinary pledge users. Many projects also went wrong because institutional investors do not abide by the rules. For MIS, because there is fewer official pre-mining, the selling pressure will be smaller, which is more in line with the value of the blockchain.
The release plan of developer and arbitration node and ecological incentive is as follows:
The release plan of data provider incentive is as follows:
The MIS awarded per block reduces by 10% in every 4 million blocks, and the reward per block at present is 20 MIS.
We can see that the allocation of MIS follows the following principles.
First of all, as MIS is the platform certificate of Themis, it is very reasonable to reserve 10% of MIS for early project promotion.
Secondly, 90% of MIS is produced through sustainable mining. This proportion can motivate contract users and miners to conduct contract mining, truly implementing the spirit of win-win community and token economy.
Finally, among the 90% of MIS, better incentive mechanisms have been adapted, mining reward ratios are subdivided, which can attract more investors to participate in mining.
Reasonable mining mechanism highlights the project value of Themis
Themis, as a public chain that provides a mechanism to solve the problems in Oracle Machine, has a unique charm in the value of MIS.
From the perspective of the number of tokens, the total amount of MIS is 1 billion, and the total mining pool is 900 million. 90% of the tokens are generated by mining, and the mining output gradually decreases its release with the Ethereum block, showing a great potential in its future added value. The earlier you participate in mining, the more profit you can gain.
From the perspective of Themis’s ecological design, Themis is committed to the original intention of building a price oracle. The data provider pays on-chain fees and pledges a certain amount of MIS, and determines the income obtained according to the scale of the pledge; the validator can make profit from challenging the data. Also, any smart contract developer or user need to pay the corresponding fee when calling Themis, and this part of the profit will be distributed to the data provider in proportion. Through this design, a logical closed loop is completed to ensure the healthy operation of the entire ecology and achieve the goal of mutual benefit. In Themis, all parties in the ecology can work together to grow more wealth.
In all, MIS has a huge potential for future development and arbitrage, and of course, a great profit potential as well.
Today, public chains like Themis are not just a technology platform, but also a symbol of future economic operation mode which connect between the blockchain and the real world. Themis, with a fair, justice and open network through mining, is building a strong token ecology, connecting external chain data and the systems, realising data interaction between blockchain and the real world, and more importantly, creating a new mode of token economy.
submitted by Smart_Smell to Robopay [link] [comments]
Staking in Ethereum 2.0: when will it appear and how much can you earn on it?
Why coin staking will be added in Ethereum 2.0A brief educational program for those who do not follow the update of the project of Vitalik Buterin. Ethereum has long been in need of updating, and the main problem of the network is scalability: the blockchain is overloaded, transactions are slowing down, and the cost of “gas” (transaction fees) is growing. If you do not update the consensus algorithm, then the network will someday cease to be operational. To avoid this, developers have been working for several years on moving the network from the PoW algorithm to state 2.0, running on PoS. This should make the network more scalable, faster and cheaper. In December last year, the first upgrade phase, Istanbul, was implemented in the network, and in April of this year, the Topaz test network with the possibility of staking was launched - the first users already earned 1%. In the PoS algorithm that Ethereum switches to, there is no mining, and validation occurs due to the delegation of user network coins to the masternodes. For the duration of the delegation, these coins are frozen, and for providing their funds for block validation, users receive a portion of the reward. This is staking - such a crypto-analogue of a bank deposit. There are several types of staking: with income from dividends or masternodes, but not the device’s power, as in PoW algorithms, but the number of miner coins is important in all of them. The more coins, the higher the income. For crypto investors, staking is an opportunity to receive passive income from blocked coins. It is assumed that the launch of staking:
The first payments to stakeholders will be one to two years after the launch of the updateThe minimum validator steak will be 32 ETN (≈$6092 for today). This is the minimum number of coins that an ETH holder must freeze in order to qualify for payments. Another prerequisite is not to disconnect your wallet from the network. If the user disconnects and goes into automatic mode, he loses his daily income. If at some point the steak drops below 16 ETH, the user will be deprived of the right to be a validator. The Ethereum network has to go through many more important stages before coin holders can make money on its storage. Collin Myers, the leader of the product strategy at the startup of the Ethereum developer ConsenSys, said that the genesis block of the new network will not be mined until the total amount of frozen funds reaches 524,000 ETN ($99.76 million at the time of publication). So many coins should be kept by 16,375 validators with a minimum deposit of 32 ETN. Until this moment, none of them will receive a percentage profit. Myers noted that this event is not tied to a clear time and depends on the activity of the community. All validators will have to freeze a rather significant amount for an indefinite period in the new network without confidence in the growth of the coin rate. It’s hard to say how many people there are. The developers believe that it will take 12−18 or even 24 months. According to the latest ConsenSys Codefi report, more than 65% of the 300 ETH owners surveyed plan to use the staking opportunity. This sample, of course, is not representative, but it can be assumed that most major coin holders will still be willing to take a chance.
How much can you earn on Ethereum stakingDevelopers have been arguing for a long time about what profitability should be among the validators of the Ethereum 2.0 network. The economic model of the network maintains an inflation rate below 1% and dynamically adjusts the reward scale for validators. The difficulty is not to overpay, but not to pay too little. Profitability will be variable, as it depends on the number and size of steaks, as well as other parameters. The fewer frozen coins and validators, the higher the yield, and vice versa. This is an easy way to motivate users to freeze ETN. According to the October calculations of Collin Myers, after the launch of Ethereum 2.0, validators will be able to receive from 4.6% to 10.3% per annum as a reward for their steak. At the summit, he clarified that the first time after the launch of the Genesis block, it can even reach 20.3%. But as the number of steaks grows, profitability will decline. So, with five million steaks, it drops to about 6.6%. The above numbers are not net returns. They do not include equipment and electricity costs. According to Myers, after the Genesis block, the costs of maintaining the validator node will be about 4.75% of the remuneration. They will continue to increase as the number of blocked coins increases, and with a five millionth steak, they will grow to about 14.7%. Myers emphasized that profitability will be higher for those who will work on their own equipment, rather than relying on cloud services. The latter, according to his calculations, at current prices can bring a loss of up to minus 15% per year. This, he believes, promotes true decentralization. At the end of April, Vitalik Buterin said that validators will be able to earn 5% per annum with a minimum stake of 32 ETH - 1.6 ETH per year, or $ 304 at the time of publication. However, given the cost of freezing funds, the real return will be at 0.8%.
How to calculate profitability from ETN stakingThe easiest way to calculate the estimated return for Ethereum staking is to use a special calculator. For example, from the online services EthereumPrice or Stakingrewards. The service takes into account the latest indicators of network profitability, as well as additional characteristics: the time of operation of a node in the network, the price of a coin, the share of blocked ETNs and so on. Depending on these values, the profit of the validator can vary greatly. For example, you block 32 ETNs at today's coin price - $190, 1% of the coins are blocked, and the node works 99% of the time. According to the EthereumPrice calculator, in this case your yield will be 14.25% per annum, or 4.56 ETH.
Validator earnings from the example above for 10 years according to EthereumPrice.
If to change the data, you have the same steak, but the proportion of blocked coins is 10%. Now your annual yield is only 4.51%, or 1.44 ETH.
Validator earnings from the second example over 10 years according to EthereumPrice.
It is important that this is profitability excluding expenses. Real returns will be significantly lower and in the second case may be negative. In addition, you must consider the fluctuation of the course. Even with a yield of 14% per annum in ETN, dollar-denominated returns may be negative in a bear market.
When will the transition to Ethereum 2.0 startBen Edgington from Teku, the operator of Ethereum 2.0, at the last summit said that the transition to PoS could be launched in July this year. These deadlines, if there are no new delays, were also mentioned by experts of the BitMEX crypto exchange in their recent report on the transition of the Ethereum ecosystem to stage 2.0. However, on May 12, Vitalik Buterin denied the possibility of launching Ethereum 2.0 in July. The network is not yet ready and is unlikely to be launched before the end of the year. July 30 marks the 5th anniversary of the launch of Ethereum. Unfortunately, it seems that it will not be possible to start the update for the anniversary again. Full deployment of updates will consist of several stages. Phase 0. Beacon chain. The "zero" phase, which can be launched in July this year. In fact, it will only be a network test and PoS testing without economic activity, but it will use new ETN coins and the possibility of staking will appear. The "zero" phase will test the first layer of Ethereum 2.0 architecture - Lighthouse. This is the Ethereum 2.0 client in Rust, developed back in 2018. Phase 1. Sharding - rejection of full nodes in favor of load balancing between all network nodes (shards). This should increase network bandwidth and solve the scalability problem. This is the first full phase of Ethereum 2.0. It will initially be deployed with 64 shards. It is because of sharding that the transition of a network to a new state is so complicated - existing smart contracts cannot be transferred to a new network. Therefore, at first, perhaps several years, both networks will exist simultaneously. Phase 2. State execution. In this phase, various applications will work, and it will be possible to conclude smart contracts. This is a full-fledged working Ethereum 2.0 network. After the second phase, two networks will work in parallel - Ethereum and Ethereum 2.0. Coin holders will be able to transfer ETN from the first to the second without the ability to transfer them back. To stimulate network support, coin emissions in both networks will increase until they merge. Read more about the phases of transition to state 2.0 in the aforementioned BitMEX report.
How the upgrade to Ethereum 2.0 will affect the staking market and coin priceThe transition of the second largest coin to PoS will dramatically increase the stake in the market. The deposit in 32 ETH is too large for most users. Therefore, we should expect an increase in offers for staking from the exchanges. So, the launch of such a service in November was announced by the largest Swiss crypto exchange Bitcoin Suisse. She will not have a minimum deposit, and the commission will be 15%. According to October estimates by Binance Research analysts, the transition of Ethereum to stage 2.0 can double the price of a coin and the stake of staking in the market, and it will also make ETH the most popular currency on the PoS algorithm. Adam Cochran, partner at MetaCartel Ventures DAO and developer of DuckDuckGo, argued in his blog that Ethereum's transition to state 2.0 would be the “biggest event” of the cryptocurrency market. He believes that a 3–5% return will attract the capital of large investors, and fear of lost profit (FOMO) among retail investors will push them to actively buy coins. The planned coin burning mechanism for each transaction will reduce the potential oversupply. However, BitMEX experts in the report mentioned above believe that updating the network will not be as important an event as it seems to many, and will not have a significant impact on the coin rate and the staking market. Initially, this will be more likely to test the PoS system, rather than a full-fledged network. There will be no economic activity and smart contracts, and interest for a steak will not be paid immediately. Therefore, most of the economic activity will continue to be concluded in the original Ethereum network, which will work in parallel with the new one. Analysts of the exchange emphasized that due to the addition of staking, the first time (short, in their opinion) a large number of ETNs will be blocked on the network. Most likely, this will limit the supply of coins and lead to higher prices. However, this can also release some of the ETNs blocked in smart contracts, and then the price will not rise. Moreover, the authors of the document are not sure that the demand for coins will be long-term and stable. For this to happen, PoS and sharding must prove that they work stably and provide the benefits for which the update was started. But, if this happens, the network is waiting for a wave of coins from the developers of smart contracts and DeFi protocols. In any case, quick changes should not be expected. A full transition to Ethereum 2.0 will take years and won’t be smooth - network failures are inevitable. We also believe that we should not rely on Ethereum staking as another panacea for all the problems of the coin and the market. Most likely, the transition of the network to PoS will not have a significant impact on the staking market, but may positively affect the price of the coin. However, relying on the ETN rally in anticipation of this is too optimistic.
Subscribe to our Telegram channel
Lightning Network Exploits Continue to Hinder the Bitcoin Scaling Solution. While bitcoin has run-up to all new price highs in 2020, a great number of crypto supporters have been complaining about ... “We believe Bundle can become one of the key projects that will support Binance's mission of scaling the adoption of crypto on the continent,” says Binance CEO Changpeng Zhao (CZ). To help do ... Scaling effects: three cards in one rig do worse than a single card because it gets harder to get out the heat. Results in the list above do not reflect the number of cards. A disruptive technology like ASIC chips could show up and make GPU mining less profitable. Politics and legal issues might affect the bitcoin market. Possible additional benefits: With namecoin merged mining you might be ... There is a huge debate going on the bitcoin scaling issue in the bitcoin world but most of the common bitcoin users are either confused or not even aware of what is happening behind the scenes. Those who are engaged in bitcoin adoption to common users are still considering it as the best currency in the world despite of practical and serious problems occurring to Bitcoin very regularly these days. Bitcoin Price Today: BTC is already climbing to $14k. As Bitcoin quickly outperforms $13,000, its most exorbitant cost for 2020, market notion and essentials both kindness a delayed positively trending market. Bitcoin price has seen a solid upward tick toward the $13,000 mark in the final quarter. Toward the beginning of the quarter, Bitcoin ... Ethereum’s well-documented scaling problems are compelling crypto participants to look elsewhere for low-cost solutions. Binance has announced that it intends to investigate the use of Syscoin Bridge, which connects to Ethereum, for transacting its BUSD stablecoin. A partnership agreement between Blockchain Foundry and Binance will enable applications for the blockchain bridge to be explored ... Scaling Bitcoin - Lightning Network Implementation LND Now Supports Large "Wumbo" Channels. Aug 21, 2020 Peter Wind--:--⭐ Binance is the world's leading crypto exchange! Binance is the world's leading crypto exchange! Trade now . Key highlights: Lightning Network implementation LND now supports channels larger than 0.1677 BTC; The limit was introduced due to security reasons, but advanced ... Lightning Network Exploits Continue to Hinder the Bitcoin Scaling Solution. While bitcoin has run-up to all new price highs in 2020, a great number of crypto supporters have been complaining about ...
[index]          
In this video I will show you how to figure out the price of your altcoin. Crypto math can be difficult at times but once you get the hang of it it's not so bad. ALTcoin calculator (To Edit ... Subscribe to my channel for more videos showing how to create passive income with Cryptocurrency. Start buying Bitcoin now with a FREE account by clicking he... In this video I demonstrate How to calculate profit loss when using Triangular Arbitrage Binance Bot and incorporating fees with a Profit/Loss tracking system and data logged to Crypto Triangular ... If you don't know how to calculate cryptocurrency trading profits in 2020, Altrady brings you this cryptocurrency for beginner's video to help you calculate your crypto profits. More info - https ... Checkout my new video: https://www.youtube.com/watch?v=BKCCgB99Rto&t=265s #Bitcoin, #CryptoTrading, #Binance, ️Please like, SUBSCRIBE & Share the video ️ ⚡... This video is a brief introduction on #Options Trading in #Binance JEX Exchange Binance JEX belongs to Binance.com. Here in Binance JEX, you can trade #Bitcoin Futures, Bitcoin Options, Ethereum ... Maximum daily profits proved using my crypto trade calculator Net Profit: $671.88 ROI: 38.98% Must watch video: https://www.youtube.com/watch?v=Xc9TwWJZoWM&l... Bitcoin ( BTC ) resurgence is continuing to sap capital from the altcoin markets as other cryptocurrencies are struggling to catch up to BTC. The DeFi Compos... My Second Channel: https://www.youtube.com/channel/UCvXjP6h0_4CSBPVgHqfO-UA ----- Supp...