Bitcoin - cryptoxgiant.com

Bitcoin Newcomers FAQ - Please read!

Welcome to the /Bitcoin Sticky FAQ

You've probably been hearing a lot about Bitcoin recently and are wondering what's the big deal? Most of your questions should be answered by the resources below but if you have additional questions feel free to ask them in the comments.
It all started with the release of the release of Satoshi Nakamoto's whitepaper however that will probably go over the head of most readers so we recommend the following videos for a good starting point for understanding how bitcoin works and a little about its long term potential:
Some other great resources include Lopp.net, the Princeton crypto series and James D'Angelo's Bitcoin 101 Blackboard series.
Some excellent writing on Bitcoin's value proposition and future can be found at the Satoshi Nakamoto Institute.
Some Bitcoin statistics can be found here and here. Developer resources can be found here. Peer-reviewed research papers can be found here.
Potential upcoming protocol improvements and scaling resources here and here.
The number of times Bitcoin was declared dead by the media can be found here (LOL!)

Key properties of Bitcoin

Where can I buy bitcoins?

Bitcoin.org and BuyBitcoinWorldwide.com are helpful sites for beginners. You can buy or sell any amount of bitcoin (even just a few dollars worth) and there are several easy methods to purchase bitcoin with cash, credit card or bank transfer. Some of the more popular resources are below, also check out the bitcoinity exchange resources for a larger list of options for purchases.
Here is a listing of local ATMs. If you would like your paycheck automatically converted to bitcoin use Bitwage.
Note: Bitcoins are valued at whatever market price people are willing to pay for them in balancing act of supply vs demand. Unlike traditional markets, bitcoin markets operate 24 hours per day, 365 days per year. Preev is a useful site that that shows how much various denominations of bitcoin are worth in different currencies. Alternatively you can just Google "1 bitcoin in (your local currency)".

Securing your bitcoins

With bitcoin you can "Be your own bank" and personally secure your bitcoins OR you can use third party companies aka "Bitcoin banks" which will hold the bitcoins for you.
Note: For increased security, use Two Factor Authentication (2FA) everywhere it is offered, including email!
2FA requires a second confirmation code to access your account making it much harder for thieves to gain access. Google Authenticator and Authy are the two most popular 2FA services, download links are below. Make sure you create backups of your 2FA codes.
Google Auth Authy OTP Auth
Android Android N/A
iOS iOS iOS

Watch out for scams

As mentioned above, Bitcoin is decentralized, which by definition means there is no official website or Twitter handle or spokesperson or CEO. However, all money attracts thieves. This combination unfortunately results in scammers running official sounding names or pretending to be an authority on YouTube or social media. Many scammers throughout the years have claimed to be the inventor of Bitcoin. Websites like bitcoin(dot)com and the btc subreddit are active scams. Almost all altcoins (shitcoins) are marketed heavily with big promises but are really just designed to separate you from your bitcoin. So be careful: any resource, including all linked in this document, may in the future turn evil. Don't trust, verify. Also as they say in our community "Not your keys, not your coins".

Where can I spend bitcoins?

Check out spendabit or bitcoin directory for millions of merchant options. Also you can spend bitcoin anywhere visa is accepted with bitcoin debit cards such as the CashApp card. Some other useful site are listed below.
Store Product
Gyft Gift cards for hundreds of retailers including Amazon, Target, Walmart, Starbucks, Whole Foods, CVS, Lowes, Home Depot, iTunes, Best Buy, Sears, Kohls, eBay, GameStop, etc.
Spendabit, Overstock and The Bitcoin Directory Retail shopping with millions of results
ShakePay Generate one time use Visa cards in seconds
NewEgg and Dell For all your electronics needs
Bitwa.la, Coinbills, Piixpay, Bitbill.eu, Bylls, Coins.ph, Bitrefill, LivingRoomofSatoshi, Coinsfer, and more Bill payment
Menufy, Takeaway and Thuisbezorgd NL Takeout delivered to your door
Expedia, Cheapair, Destinia, Abitsky, SkyTours, the Travel category on Gyft and 9flats For when you need to get away
Cryptostorm, Mullvad, and PIA VPN services
Namecheap, Porkbun Domain name registration
Stampnik Discounted USPS Priority, Express, First-Class mail postage
Coinmap and AirBitz are helpful to find local businesses accepting bitcoins. A good resource for UK residents is at wheretospendbitcoins.co.uk.
There are also lots of charities which accept bitcoin donations.

Merchant Resources

There are several benefits to accepting bitcoin as a payment option if you are a merchant;
If you are interested in accepting bitcoin as a payment method, there are several options available;

Can I mine bitcoin?

Mining bitcoins can be a fun learning experience, but be aware that you will most likely operate at a loss. Newcomers are often advised to stay away from mining unless they are only interested in it as a hobby similar to folding at home. If you want to learn more about mining you can read more here. Still have mining questions? The crew at /BitcoinMining would be happy to help you out.
If you want to contribute to the bitcoin network by hosting the blockchain and propagating transactions you can run a full node using this setup guide. If you would prefer to keep it simple there are several good options. You can view the global node distribution here.

Earning bitcoins

Just like any other form of money, you can also earn bitcoins by being paid to do a job.
Site Description
WorkingForBitcoins, Bitwage, Cryptogrind, Coinality, Bitgigs, /Jobs4Bitcoins, BitforTip, Rein Project Freelancing
Lolli Earn bitcoin when you shop online!
OpenBazaar, Purse.io, Bitify, /Bitmarket, 21 Market Marketplaces
/GirlsGoneBitcoin NSFW Adult services
A-ads, Coinzilla.io Advertising
You can also earn bitcoins by participating as a market maker on JoinMarket by allowing users to perform CoinJoin transactions with your bitcoins for a small fee (requires you to already have some bitcoins.

Bitcoin-Related Projects

The following is a short list of ongoing projects that might be worth taking a look at if you are interested in current development in the bitcoin space.
Project Description
Lightning Network Second layer scaling
Blockstream, Rootstock and Drivechain Sidechains
Hivemind and Augur Prediction markets
Tierion and Factom Records & Titles on the blockchain
BitMarkets, DropZone, Beaver and Open Bazaar Decentralized markets
JoinMarket and Wasabi Wallet CoinJoin implementation
Coinffeine and Bisq Decentralized bitcoin exchanges
Keybase Identity & Reputation management
Abra Global P2P money transmitter network
Bitcore Open source Bitcoin javascript library

Bitcoin Units

One Bitcoin is quite large (hundreds of £/$/€) so people often deal in smaller units. The most common subunits are listed below:
Unit Symbol Value Info
bitcoin BTC 1 bitcoin one bitcoin is equal to 100 million satoshis
millibitcoin mBTC 1,000 per bitcoin used as default unit in recent Electrum wallet releases
bit bit 1,000,000 per bitcoin colloquial "slang" term for microbitcoin (μBTC)
satoshi sat 100,000,000 per bitcoin smallest unit in bitcoin, named after the inventor
For example, assuming an arbitrary exchange rate of $10000 for one Bitcoin, a $10 meal would equal:
For more information check out the Bitcoin units wiki.
Still have questions? Feel free to ask in the comments below or stick around for our weekly Mentor Monday thread. If you decide to post a question in /Bitcoin, please use the search bar to see if it has been answered before, and remember to follow the community rules outlined on the sidebar to receive a better response. The mods are busy helping manage our community so please do not message them unless you notice problems with the functionality of the subreddit.
Note: This is a community created FAQ. If you notice anything missing from the FAQ or that requires clarification you can edit it here and it will be included in the next revision pending approval.
Welcome to the Bitcoin community and the new decentralized economy!
submitted by BitcoinFan7 to Bitcoin [link] [comments]

Weekly Wrap: This Week In Chainlink September 28 - October 4

Weekly Wrap: This Week In Chainlink September 28 - October 4

Chainlink Hackathon - Congratulations to the Winners of the Chainlink Virtual Hackathon 2020

Thanks to all #Chainlink Hackathon participants and congrats to the winners! Devs showcased a wide range of new Chainlink functions:
- P2P car rental platform using a @Tesla API
- Yield farming RPG game
- AMM insurance market
- decentralized library & more

Announcements and Integrations 🎉

WBTC's $1 billion+ in Bitcoin will now gain additional security using Chainlink's Proof of Reserve capability. We're thrilled to be working with @BitGo to enable greater transparency & therefore more usability for WBTC as a form of collateral across DeFi.

Crypto-fiat payment provider @AlchemyPay is integrating Chainlink price feeds into its payments & upcoming DeFi platform. This ensures that users receive the fair market when interacting with DeFi dApps or making retail crypto payments on Alchemy Pay.

Gaming platform Planetarium is integrating Chainlink into @NineChronicles to power cross-game Metaverse communication, in-game commodity pricing, and secure trading of in-game items, with additional plans to use Chainlink VRF to create unique NFT-backed in-game items.

DeFi platform @strongblock_io has integrated Chainlink’s ETH/USD & LINK/ETH Price Reference Data feeds live on mainnet to calculate its staking rewards. This ensures that all rewards issued to StrongBlock users are accurately & transparently distributed.

Blockchain platform @blockstack is integrating Chainlink as its go-to oracle solution to empower universally connected smart contracts. Blockstack devs will have access to any API, Sybil resistant nodes, live decentralized price oracles for DeFi and more.

Private synthetic asset DeFi platform @OffshiftXFT has integrated Chainlink's BTC/USD and XAU/USD Price Feeds live on Testnet to serve as decentralized reference prices for users minting, burning, and trading its privacy-preserving zkAssets.

DeFi platform @OfficialCentaur integrates Chainlink VRF to add enhanced transparency. Chainlink VRF's provably fair source of RNG enables unbiased random selection of sale participants, leveling the playing field for all.

New Chainlink Node operator Inotel is now live on mainnet helping secure Chainlink's Price Reference Data for DeFi developers. Inotel brings DevOps experience as a PoS validatonode operator on 9 other Web3 networks, helping secure millions in USD value.

Featured Videos & Educational Pieces 🎥

Chainlink's oracle network unlocks new markets for insurance + expands DeFi’s footprint. @avivahl from @Gartner_Inc highlights how organizations like @ArbolMarket use Chainlink rainfall data to give farmers access to parametric weather insurance contracts.

Data providers use Chainlink to sell data/APIs to multiple blockchains in under an hour, from existing APIs & without running any additional software. Many have then launched Chainlink Nodes in a few hours, to sell signed data directly to smart contracts.

Rewatch our live Q&A with TrustSwap CEO, Jeff Kirdeikis. We will be speaking about TrustSwap's recent integration of Chainlink and its use of decentralized oracles to grow the DeFi ecosystem.

Rewatch our a live Q&A with the Aavegotchi team. We speak about Aavegotchi's recent integration of Chainlink VRF and its use of decentralized oracles to grow the NFT ecosystem. Come learn more about NFTs / crypto-collectibles, Aavegotchi and more.

SmartCon Videos are now ALL available. Watch them here


Upcoming Events 📅

Are you interested in hosting your own meetup? Apply to become a Chainlink Community Advocate today: https://events.chain.link/advocate

Chainlink Labs is hiring to build Chainlink’s network: Check out these open roles 👩‍💼

View all open roles at https://careers.smartcontract.com
Are there other community content and celebrations that we missed? Post them in the comments below! ⤵️
submitted by linkedkeenan to Chainlink [link] [comments]

Scaling Reddit Community Points with Arbitrum Rollup: a piece of cake

Scaling Reddit Community Points with Arbitrum Rollup: a piece of cake
https://preview.redd.it/b80c05tnb9e51.jpg?width=2550&format=pjpg&auto=webp&s=850282c1a3962466ed44f73886dae1c8872d0f31
Submitted for consideration to The Great Reddit Scaling Bake-Off
Baked by the pastry chefs at Offchain Labs
Please send questions or comments to [[email protected] ](mailto:[email protected])
1. Overview
We're excited to submit Arbitrum Rollup for consideration to The Great Reddit Scaling Bake-Off. Arbitrum Rollup is the only Ethereum scaling solution that supports arbitrary smart contracts without compromising on Ethereum's security or adding points of centralization. For Reddit, this means that Arbitrum can not only scale the minting and transfer of Community Points, but it can foster a creative ecosystem built around Reddit Community Points enabling points to be used in a wide variety of third party applications. That's right -- you can have your cake and eat it too!
Arbitrum Rollup isn't just Ethereum-style. Its Layer 2 transactions are byte-for-byte identical to Ethereum, which means Ethereum users can continue to use their existing addresses and wallets, and Ethereum developers can continue to use their favorite toolchains and development environments out-of-the-box with Arbitrum. Coupling Arbitrum’s tooling-compatibility with its trustless asset interoperability, Reddit not only can scale but can onboard the entire Ethereum community at no cost by giving them the same experience they already know and love (well, certainly know).
To benchmark how Arbitrum can scale Reddit Community Points, we launched the Reddit contracts on an Arbitrum Rollup chain. Since Arbitrum provides full Solidity support, we didn't have to rewrite the Reddit contracts or try to mimic their functionality using an unfamiliar paradigm. Nope, none of that. We launched the Reddit contracts unmodified on Arbitrum Rollup complete with support for minting and distributing points. Like every Arbitrum Rollup chain, the chain included a bridge interface in which users can transfer Community Points or any other asset between the L1 and L2 chains. Arbitrum Rollup chains also support dynamic contract loading, which would allow third-party developers to launch custom ecosystem apps that integrate with Community Points on the very same chain that runs the Reddit contracts.
1.1 Why Ethereum
Perhaps the most exciting benefit of distributing Community Points using a blockchain is the ability to seamlessly port points to other applications and use them in a wide variety of contexts. Applications may include simple transfers such as a restaurant that allows Redditors to spend points on drinks. Or it may include complex smart contracts -- such as placing Community Points as a wager for a multiparty game or as collateral in a financial contract.
The common denominator between all of the fun uses of Reddit points is that it needs a thriving ecosystem of both users and developers, and the Ethereum blockchain is perhaps the only smart contract platform with significant adoption today. While many Layer 1 blockchains boast lower cost or higher throughput than the Ethereum blockchain, more often than not, these attributes mask the reality of little usage, weaker security, or both.
Perhaps another platform with significant usage will rise in the future. But today, Ethereum captures the mindshare of the blockchain community, and for Community Points to provide the most utility, the Ethereum blockchain is the natural choice.
1.2 Why Arbitrum
While Ethereum's ecosystem is unmatched, the reality is that fees are high and capacity is too low to support the scale of Reddit Community Points. Enter Arbitrum. Arbitrum Rollup provides all of the ecosystem benefits of Ethereum, but with orders of magnitude more capacity and at a fraction of the cost of native Ethereum smart contracts. And most of all, we don't change the experience from users. They continue to use the same wallets, addresses, languages, and tools.
Arbitrum Rollup is not the only solution that can scale payments, but it is the only developed solution that can scale both payments and arbitrary smart contracts trustlessly, which means that third party users can build highly scalable add-on apps that can be used without withdrawing money from the Rollup chain. If you believe that Reddit users will want to use their Community Points in smart contracts--and we believe they will--then it makes the most sense to choose a single scaling solution that can support the entire ecosystem, eliminating friction for users.
We view being able to run smart contracts in the same scaling solution as fundamentally critical since if there's significant demand in running smart contracts from Reddit's ecosystem, this would be a load on Ethereum and would itself require a scaling solution. Moreover, having different scaling solutions for the minting/distribution/spending of points and for third party apps would be burdensome for users as they'd have to constantly shuffle their Points back and forth.
2. Arbitrum at a glance
Arbitrum Rollup has a unique value proposition as it offers a combination of features that no other scaling solution achieves. Here we highlight its core attributes.
Decentralized. Arbitrum Rollup is as decentralized as Ethereum. Unlike some other Layer 2 scaling projects, Arbitrum Rollup doesn't have any centralized components or centralized operators who can censor users or delay transactions. Even in non-custodial systems, centralized components provide a risk as the operators are generally incentivized to increase their profit by extracting rent from users often in ways that severely degrade user experience. Even if centralized operators are altruistic, centralized components are subject to hacking, coercion, and potential liability.
Massive Scaling. Arbitrum achieves order of magnitude scaling over Ethereum's L1 smart contracts. Our software currently supports 453 transactions-per-second for basic transactions (at 1616 Ethereum gas per tx). We have a lot of room left to optimize (e.g. aggregating signatures), and over the next several months capacity will increase significantly. As described in detail below, Arbitrum can easily support and surpass Reddit's anticipated initial load, and its capacity will continue to improve as Reddit's capacity needs grow.
Low cost. The cost of running Arbitrum Rollup is quite low compared to L1 Ethereum and other scaling solutions such as those based on zero-knowledge proofs. Layer 2 fees are low, fixed, and predictable and should not be overly burdensome for Reddit to cover. Nobody needs to use special equipment or high-end machines. Arbitrum requires validators, which is a permissionless role that can be run on any reasonable on-line machine. Although anybody can act as a validator, in order to protect against a “tragedy of the commons” and make sure reputable validators are participating, we support a notion of “invited validators” that are compensated for their costs. In general, users pay (low) fees to cover the invited validators’ costs, but we imagine that Reddit may cover this cost for its users. See more on the costs and validator options below.
Ethereum Developer Experience. Not only does Arbitrum support EVM smart contracts, but the developer experience is identical to that of L1 Ethereum contracts and fully compatible with Ethereum tooling. Developers can port existing Solidity apps or write new ones using their favorite and familiar toolchains (e.g. Truffle, Buidler). There are no new languages or coding paradigms to learn.
Ethereum wallet compatibility. Just as in Ethereum, Arbitrum users need only hold keys, but do not have to store any coin history or additional data to protect or access their funds. Since Arbitrum transactions are semantically identical to Ethereum L1 transactions, existing Ethereum users can use their existing Ethereum keys with their existing wallet software such as Metamask.
Token interoperability. Users can easily transfer their ETH, ERC-20 and ERC-721 tokens between Ethereum and the Arbitrum Rollup chain. As we explain in detail below, it is possible to mint tokens in L2 that can subsequently be withdrawn and recognized by the L1 token contract.
Fast finality. Transactions complete with the same finality time as Ethereum L1 (and it's possible to get faster finality guarantees by trading away trust assumptions; see the Arbitrum Rollup whitepaper for details).
Non-custodial. Arbitrum Rollup is a non-custodial scaling solution, so users control their funds/points and neither Reddit nor anyone else can ever access or revoke points held by users.
Censorship Resistant. Since it's completely decentralized, and the Arbitrum protocol guarantees progress trustlessly, Arbitrum Rollup is just as censorship-proof as Ethereum.
Block explorer. The Arbitrum Rollup block explorer allows users to view and analyze transactions on the Rollup chain.
Limitations
Although this is a bake-off, we're not going to sugar coat anything. Arbitrum Rollup, like any Optimistic Rollup protocol, does have one limitation, and that's the delay on withdrawals.
As for the concrete length of the delay, we've done a good deal of internal modeling and have blogged about this as well. Our current modeling suggests a 3-hour delay is sufficient (but as discussed in the linked post there is a tradeoff space between the length of the challenge period and the size of the validators’ deposit).
Note that this doesn't mean that the chain is delayed for three hours. Arbitrum Rollup supports pipelining of execution, which means that validators can keep building new states even while previous ones are “in the pipeline” for confirmation. As the challenge delays expire for each update, a new state will be confirmed (read more about this here).
So activity and progress on the chain are not delayed by the challenge period. The only thing that's delayed is the consummation of withdrawals. Recall though that any single honest validator knows immediately (at the speed of L1 finality) which state updates are correct and can guarantee that they will eventually be confirmed, so once a valid withdrawal has been requested on-chain, every honest party knows that the withdrawal will definitely happen. There's a natural place here for a liquidity market in which a validator (or someone who trusts a validator) can provide withdrawal loans for a small interest fee. This is a no-risk business for them as they know which withdrawals will be confirmed (and can force their confirmation trustlessly no matter what anyone else does) but are just waiting for on-chain finality.
3. The recipe: How Arbitrum Rollup works
For a description of the technical components of Arbitrum Rollup and how they interact to create a highly scalable protocol with a developer experience that is identical to Ethereum, please refer to the following documents:
Arbitrum Rollup Whitepaper
Arbitrum academic paper (describes a previous version of Arbitrum)
4. Developer docs and APIs
For full details about how to set up and interact with an Arbitrum Rollup chain or validator, please refer to our developer docs, which can be found at https://developer.offchainlabs.com/.
Note that the Arbitrum version described on that site is older and will soon be replaced by the version we are entering in Reddit Bake-Off, which is still undergoing internal testing before public release.
5. Who are the validators?
As with any Layer 2 protocol, advancing the protocol correctly requires at least one validator (sometimes called block producers) that is honest and available. A natural question is: who are the validators?
Recall that the validator set for an Arbitrum chain is open and permissionless; anyone can start or stop validating at will. (A useful analogy is to full nodes on an L1 chain.) But we understand that even though anyone can participate, Reddit may want to guarantee that highly reputable nodes are validating their chain. Reddit may choose to validate the chain themselves and/or hire third-party validators.To this end, we have begun building a marketplace for validator-for-hire services so that dapp developers can outsource validation services to reputable nodes with high up-time. We've announced a partnership in which Chainlink nodes will provide Arbitrum validation services, and we expect to announce more partnerships shortly with other blockchain infrastructure providers.
Although there is no requirement that validators are paid, Arbitrum’s economic model tracks validators’ costs (e.g. amount of computation and storage) and can charge small fees on user transactions, using a gas-type system, to cover those costs. Alternatively, a single party such as Reddit can agree to cover the costs of invited validators.
6. Reddit Contract Support
Since Arbitrum contracts and transactions are byte-for-byte compatible with Ethereum, supporting the Reddit contracts is as simple as launching them on an Arbitrum chain.
Minting. Arbitrum Rollup supports hybrid L1/L2 tokens which can be minted in L2 and then withdrawn onto the L1. An L1 contract at address A can make a special call to the EthBridge which deploys a "buddy contract" to the same address A on an Arbitrum chain. Since it's deployed at the same address, users can know that the L2 contract is the authorized "buddy" of the L1 contract on the Arbitrum chain.
For minting, the L1 contract is a standard ERC-20 contract which mints and burns tokens when requested by the L2 contract. It is paired with an ERC-20 contract in L2 which mints tokens based on whatever programmer provided minting facility is desired and burns tokens when they are withdrawn from the rollup chain. Given this base infrastructure, Arbitrum can support any smart contract based method for minting tokens in L2, and indeed we directly support Reddit's signature/claim based minting in L2.
Batch minting. What's better than a mint cookie? A whole batch! In addition to supporting Reddit’s current minting/claiming scheme, we built a second minting design, which we believe outperforms the signature/claim system in many scenarios.
In the current system, Reddit periodically issues signed statements to users, who then take those statements to the blockchain to claim their tokens. An alternative approach would have Reddit directly submit the list of users/amounts to the blockchain and distribute the tokens to the users without the signature/claim process.
To optimize the cost efficiency of this approach, we designed an application-specific compression scheme to minimize the size of the batch distribution list. We analyzed the data from Reddit's previous distributions and found that the data is highly compressible since token amounts are small and repeated, and addresses appear multiple times. Our function groups transactions by size, and replaces previously-seen addresses with a shorter index value. We wrote client code to compress the data, wrote a Solidity decompressing function, and integrated that function into Reddit’s contract running on Arbitrum.
When we ran the compression function on the previous Reddit distribution data, we found that we could compress batched minting data down to to 11.8 bytes per minting event (averaged over a 6-month trace of Reddit’s historical token grants)compared with roughly 174 bytes of on-chain data needed for the signature claim approach to minting (roughly 43 for an RLP-encoded null transaction + 65 for Reddit's signature + 65 for the user's signature + roughly 8 for the number of Points) .
The relative benefit of the two approaches with respect to on-chain call data cost depends on the percentage of users that will actually claim their tokens on chain. With the above figures, batch minting will be cheaper if roughly 5% of users redeem their claims. We stress that our compression scheme is not Arbitrum-specific and would be beneficial in any general-purpose smart contract platform.
8. Benchmarks and costs
In this section, we give the full costs of operating the Reddit contracts on an Arbitrum Rollup chain including the L1 gas costs for the Rollup chain, the costs of computation and storage for the L2 validators as well as the capital lockup requirements for staking.
Arbitrum Rollup is still on testnet, so we did not run mainnet benchmarks. Instead, we measured the L1 gas cost and L2 workload for Reddit operations on Arbitrum and calculated the total cost assuming current Ethereum gas prices. As noted below in detail, our measurements do not assume that Arbitrum is consuming the entire capacity of Ethereum. We will present the details of our model now, but for full transparency you can also play around with it yourself and adjust the parameters, by copying the spreadsheet found here.
Our cost model is based on measurements of Reddit’s contracts, running unmodified (except for the addition of a batch minting function) on Arbitrum Rollup on top of Ethereum.
On the distribution of transactions and frequency of assertions. Reddit's instructions specify the following minimum parameters that submissions should support:
Over a 5 day period, your scaling PoC should be able to handle:
  • 100,000 point claims (minting & distributing points)
  • 25,000 subscriptions
  • 75,000 one-off points burning
  • 100,000 transfers
We provide the full costs of operating an Arbitrum Rollup chain with this usage under the assumption that tokens are minted or granted to users in batches, but other transactions are uniformly distributed over the 5 day period. Unlike some other submissions, we do not make unrealistic assumptions that all operations can be submitted in enormous batches. We assume that batch minting is done in batches that use only a few percent on an L1 block’s gas, and that other operations come in evenly over time and are submitted in batches, with one batch every five minutes to keep latency reasonable. (Users are probably already waiting for L1 finality, which takes at least that long to achieve.)
We note that assuming that there are only 300,000 transactions that arrive uniformly over the 5 day period will make our benchmark numbers lower, but we believe that this will reflect the true cost of running the system. To see why, say that batches are submitted every five minutes (20 L1 blocks) and there's a fixed overhead of c bytes of calldata per batch, the cost of which will get amortized over all transactions executed in that batch. Assume that each individual transaction adds a marginal cost of t. Lastly assume the capacity of the scaling system is high enough that it can support all of Reddit's 300,000 transactions within a single 20-block batch (i.e. that there is more than c + 300,000*t byes of calldata available in 20 blocks).
Consider what happens if c, the per-batch overhead, is large (which it is in some systems, but not in Arbitrum). In the scenario that transactions actually arrive at the system's capacity and each batch is full, then c gets amortized over 300,000 transactions. But if we assume that the system is not running at capacity--and only receives 300,000 transactions arriving uniformly over 5 days-- then each 20-block assertion will contain about 200 transactions, and thus each transaction will pay a nontrivial cost due to c.
We are aware that other proposals presented scaling numbers assuming that 300,000 transactions arrived at maximum capacity and was executed in a single mega-transaction, but according to our estimates, for at least one such report, this led to a reported gas price that was 2-3 orders of magnitude lower than it would have been assuming uniform arrival. We make more realistic batching assumptions, and we believe Arbitrum compares well when batch sizes are realistic.
Our model. Our cost model includes several sources of cost:
  • L1 gas costs: This is the cost of posting transactions as calldata on the L1 chain, as well as the overhead associated with each batch of transactions, and the L1 cost of settling transactions in the Arbitrum protocol.
  • Validator’s staking costs: In normal operation, one validator will need to be staked. The stake is assumed to be 0.2% of the total value of the chain (which is assumed to be $1 per user who is eligible to claim points). The cost of staking is the interest that could be earned on the money if it were not staked.
  • Validator computation and storage: Every validator must do computation to track the chain’s processing of transactions, and must maintain storage to keep track of the contracts’ EVM storage. The cost of computation and storage are estimated based on measurements, with the dollar cost of resources based on Amazon Web Services pricing.
It’s clear from our modeling that the predominant cost is for L1 calldata. This will probably be true for any plausible rollup-based system.
Our model also shows that Arbitrum can scale to workloads much larger than Reddit’s nominal workload, without exhausting L1 or L2 resources. The scaling bottleneck will ultimately be calldata on the L1 chain. We believe that cost could be reduced substantially if necessary by clever encoding of data. (In our design any compression / decompression of L2 transaction calldata would be done by client software and L2 programs, never by an L1 contract.)
9. Status of Arbitrum Rollup
Arbitrum Rollup is live on Ethereum testnet. All of the code written to date including everything included in the Reddit demo is open source and permissively licensed under the Apache V2 license. The first testnet version of Arbitrum Rollup was released on testnet in February. Our current internal version, which we used to benchmark the Reddit contracts, will be released soon and will be a major upgrade.
Both the Arbitrum design as well as the implementation are heavily audited by independent third parties. The Arbitrum academic paper was published at USENIX Security, a top-tier peer-reviewed academic venue. For the Arbitrum software, we have engaged Trail of Bits for a security audit, which is currently ongoing, and we are committed to have a clean report before launching on Ethereum mainnet.
10. Reddit Universe Arbitrum Rollup Chain
The benchmarks described in this document were all measured using the latest internal build of our software. When we release the new software upgrade publicly we will launch a Reddit Universe Arbitrum Rollup chain as a public demo, which will contain the Reddit contracts as well as a Uniswap instance and a Connext Hub, demonstrating how Community Points can be integrated into third party apps. We will also allow members of the public to dynamically launch ecosystem contracts. We at Offchain Labs will cover the validating costs for the Reddit Universe public demo.
If the folks at Reddit would like to evaluate our software prior to our public demo, please email us at [email protected] and we'd be more than happy to provide early access.
11. Even more scaling: Arbitrum Sidechains
Rollups are an excellent approach to scaling, and we are excited about Arbitrum Rollup which far surpasses Reddit's scaling needs. But looking forward to Reddit's eventual goal of supporting hundreds of millions of users, there will likely come a time when Reddit needs more scaling than any Rollup protocol can provide.
While Rollups greatly reduce costs, they don't break the linear barrier. That is, all transactions have an on-chain footprint (because all calldata must be posted on-chain), albeit a far smaller one than on native Ethereum, and the L1 limitations end up being the bottleneck for capacity and cost. Since Ethereum has limited capacity, this linear use of on-chain resources means that costs will eventually increase superlinearly with traffic.
The good news is that we at Offchain Labs have a solution in our roadmap that can satisfy this extreme-scaling setting as well: Arbitrum AnyTrust Sidechains. Arbitrum Sidechains are similar to Arbitrum Rollup, but deviate in that they name a permissioned set of validators. When a chain’s validators agree off-chain, they can greatly reduce the on-chain footprint of the protocol and require almost no data to be put on-chain. When validators can't reach unanimous agreement off-chain, the protocol reverts to Arbitrum Rollup. Technically, Arbitrum Sidechains can be viewed as a hybrid between state channels and Rollup, switching back and forth as necessary, and combining the performance and cost that state channels can achieve in the optimistic case, with the robustness of Rollup in other cases. The core technical challenge is how to switch seamlessly between modes and how to guarantee that security is maintained throughout.
Arbitrum Sidechains break through this linear barrier, while still maintaining a high level of security and decentralization. Arbitrum Sidechains provide the AnyTrust guarantee, which says that as long as any one validator is honest and available (even if you don't know which one will be), the L2 chain is guaranteed to execute correctly according to its code and guaranteed to make progress. Unlike in a state channel, offchain progress does not require unanimous consent, and liveness is preserved as long as there is a single honest validator.
Note that the trust model for Arbitrum Sidechains is much stronger than for typical BFT-style chains which introduce a consensus "voting" protocols among a small permissioned group of validators. BFT-based protocols require a supermajority (more than 2/3) of validators to agree. In Arbitrum Sidechains, by contrast, all you need is a single honest validator to achieve guaranteed correctness and progress. Notice that in Arbitrum adding validators strictly increases security since the AnyTrust guarantee provides correctness as long as any one validator is honest and available. By contrast, in BFT-style protocols, adding nodes can be dangerous as a coalition of dishonest nodes can break the protocol.
Like Arbitrum Rollup, the developer and user experiences for Arbitrum Sidechains will be identical to that of Ethereum. Reddit would be able to choose a large and diverse set of validators, and all that they would need to guarantee to break through the scaling barrier is that a single one of them will remain honest.
We hope to have Arbitrum Sidechains in production in early 2021, and thus when Reddit reaches the scale that surpasses the capacity of Rollups, Arbitrum Sidechains will be waiting and ready to help.
While the idea to switch between channels and Rollup to get the best of both worlds is conceptually simple, getting the details right and making sure that the switch does not introduce any attack vectors is highly non-trivial and has been the subject of years of our research (indeed, we were working on this design for years before the term Rollup was even coined).
12. How Arbitrum compares
We include a comparison to several other categories as well as specific projects when appropriate. and explain why we believe that Arbitrum is best suited for Reddit's purposes. We focus our attention on other Ethereum projects.
Payment only Rollups. Compared to Arbitrum Rollup, ZK-Rollups and other Rollups that only support token transfers have several disadvantages:
  • As outlined throughout the proposal, we believe that the entire draw of Ethereum is in its rich smart contracts support which is simply not achievable with today's zero-knowledge proof technology. Indeed, scaling with a ZK-Rollup will add friction to the deployment of smart contracts that interact with Community Points as users will have to withdraw their coins from the ZK-Rollup and transfer them to a smart contract system (like Arbitrum). The community will be best served if Reddit builds on a platform that has built-in, frictionless smart-contract support.
  • All other Rollup protocols of which we are aware employ a centralized operator. While it's true that users retain custody of their coins, the centralized operator can often profit from censoring, reordering, or delaying transactions. A common misconception is that since they're non-custodial protocols, a centralized sequencer does not pose a risk but this is incorrect as the sequencer can wreak havoc or shake down users for side payments without directly stealing funds.
  • Sidechain type protocols can eliminate some of these issues, but they are not trustless. Instead, they require trust in some quorum of a committee, often requiring two-third of the committee to be honest, compared to rollup protocols like Arbitrum that require only a single honest party. In addition, not all sidechain type protocols have committees that are diverse, or even non-centralized, in practice.
  • Plasma-style protocols have a centralized operator and do not support general smart contracts.
13. Concluding Remarks
While it's ultimately up to the judges’ palate, we believe that Arbitrum Rollup is the bakeoff choice that Reddit kneads. We far surpass Reddit's specified workload requirement at present, have much room to optimize Arbitrum Rollup in the near term, and have a clear path to get Reddit to hundreds of millions of users. Furthermore, we are the only project that gives developers and users the identical interface as the Ethereum blockchain and is fully interoperable and tooling-compatible, and we do this all without any new trust assumptions or centralized components.
But no matter how the cookie crumbles, we're glad to have participated in this bake-off and we thank you for your consideration.
About Offchain Labs
Offchain Labs, Inc. is a venture-funded New York company that spun out of Princeton University research, and is building the Arbitrum platform to usher in the next generation of scalable, interoperable, and compatible smart contracts. Offchain Labs is backed by Pantera Capital, Compound VC, Coinbase Ventures, and others.
Leadership Team
Ed Felten
Ed Felten is Co-founder and Chief Scientist at Offchain Labs. He is on leave from Princeton University, where he is the Robert E. Kahn Professor of Computer Science and Public Affairs. From 2015 to 2017 he served at the White House as Deputy United States Chief Technology Officer and senior advisor to the President. He is an ACM Fellow and member of the National Academy of Engineering. Outside of work, he is an avid runner, cook, and L.A. Dodgers fan.
Steven Goldfeder
Steven Goldfeder is Co-founder and Chief Executive Officer at Offchain Labs. He holds a PhD from Princeton University, where he worked at the intersection of cryptography and cryptocurrencies including threshold cryptography, zero-knowledge proof systems, and post-quantum signatures. He is a co-author of Bitcoin and Cryptocurrency Technologies, the leading textbook on cryptocurrencies, and he has previously worked at Google and Microsoft Research, where he co-invented the Picnic signature algorithm. When not working, you can find Steven spending time with his family, taking a nature walk, or twisting balloons.
Harry Kalodner
Harry Kalodner is Co-founder and Chief Technology Officer at Offchain Labs where he leads the engineering team. Before the company he attended Princeton as a Ph.D candidate where his research explored economics, anonymity, and incentive compatibility of cryptocurrencies, and he also has worked at Apple. When not up at 3:00am writing code, Harry occasionally sleeps.
submitted by hkalodner to ethereum [link] [comments]

Syscoin Platform’s Great Reddit Scaling Bake-off Proposal

Syscoin Platform’s Great Reddit Scaling Bake-off Proposal

https://preview.redd.it/rqt2dldyg8e51.jpg?width=1044&format=pjpg&auto=webp&s=777ae9d4fbbb54c3540682b72700fc4ba3de0a44
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.

Solutions

Syscoin 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.
  1. Distribution, burns and user-to-user transfers of Reddit Points are entirely carried out on the Syscoin network. This full-on approach to utilizing the Syscoin network provides the most scalability and transaction cost benefits of these scenarios. The tradeoff here is distribution and subscription handling likely migrating away from smart contracts into the application layer.
  2. The Reddit Community Points ecosystem can continue to use existing smart contracts as they are used today on the Ethereum mainchain. Users migrate a portion of their tokens to Syscoin, the scaling network, to gain much lower fees, scalability, and a proven base layer, without sacrificing sovereign ownership. They would use Syscoin for user-to-user transfers. Tips redeemable in ten seconds or less, a high-throughput relay network, and onchain settlement at a block target of 60 seconds.
  3. Integration between Matic Network and Syscoin Platform - similar to Syscoin’s current integration with Ethereum - will provide Reddit Community Points with EVM scalability (including the Memberships ERC777 operator) on the Matic side, and performant simple value transfers, robust decentralized security, and sovereign store-of-value on the Syscoin side. It’s “the best of both worlds”. The trade-off is more complex interoperability.

Syscoin + Matic Integration

Matic 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 Savings

Our 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:
612722: https://sys1.bcfn.ca/block/6d47796d043bb4c508d29123e6ae81b051f5e0aaef849f253c8f3a6942a022ce
612723: https://sys1.bcfn.ca/block/8e2077f743461b90f80b4bef502f564933a8e04de97972901f3d65cfadcf1faf
612724: https://sys1.bcfn.ca/block/205436d25b1b499fce44c29567c5c807beaca915b83cc9f3c35b0d76dbb11f6e
612725: https://sys1.bcfn.ca/block/776d1b1a0f90f655a6bbdf559ff5072459cbdc5682d7615ff4b78c00babdc237
612726: https://sys1.bcfn.ca/block/de4df0994253742a1ac8ac9eec8d2a8c8b0a6d72c53d6f3caa29bb6c171b0a6b
612727: https://sys1.bcfn.ca/block/e5e167c52a9decb313fbaadf49a5e34cb490f8084f642a850385476d4ef10d70
612728: https://sys1.bcfn.ca/block/ab64d989edc71890e7b5b8491c20e9a27520dc45a5f7c776d3dae79057f59fe7
612729: https://sys1.bcfn.ca/block/5e8b7ecd0e36f99d07e4ea6e135fc952bf7ec30164ab6f4d1e98b0f2d405df6d
612730: https://sys1.bcfn.ca/block/d395df3d31dde60bbb0bece6bd5b358297da878f0beb96be389e5f0e043580a3
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 Savings

Total 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 Bridge

Mainnet Demonstration of Syscoin Bridge with the Basic Attention Token ERC-20
A two-way blockchain interoperability system that uses Simple Payment Verification to enable:
  • Any Standard ERC-20 token to be moved from Ethereum to the Syscoin blockchain as a Syscoin Platform Token (SPT), and back to Ethereum
  • Any SPT to be moved from Syscoin to the Ethereum blockchain as an ERC-20 token, and back to Syscoin

Benefits

  • Permissionless
  • No counterparties involved
  • No trading mechanisms involved
  • No third-party liquidity providers required
  • Cross-chain Fractional Supply - 2-way peg - Token supply maintained globally
  • ERC-20s gain vastly improved transactionality with the Syscoin Token Platform, along with the security of bitcoin-core-compliant PoW.
  • SPTs gain access to all the tooling, applications and capabilities of Ethereum for ERC-20, including smart contracts.
https://preview.redd.it/l8t2m8ldh8e51.png?width=1180&format=png&auto=webp&s=b0a955a0181746dc79aff718bd0bf607d3c3aa23
https://preview.redd.it/26htnxzfh8e51.png?width=1180&format=png&auto=webp&s=d0383d3c2ee836c9f60b57eca35542e9545f741d

Source code

https://github.com/syscoin/?q=sysethereum
Main Subprojects

API

Tools 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.

Documentation

Syscoin 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-off

The 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.

Cost

Ethereum -> 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-DAG

Zero-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).

Benefits

  • Unique fee-market that is more efficient for microtransaction redemption and settlement
  • Uses decentralized means to enable tokens with value transfer scalability that is comparable or exceeds that of credit card networks
  • Provides high throughput and secure fulfillment even if blocks are full
  • Probabilistic and interactive
  • 99.9999% security assurance within 10 seconds
  • Can serve payment channels as a resilience fallback that is faster and lower-cost than falling-back directly to a blockchain
  • Each Z-DAG transaction also settles onchain through Syscoin Core at 60-second block target using SHA-256 Proof of Work consensus
https://preview.redd.it/pgbx84jih8e51.png?width=1614&format=png&auto=webp&s=5f631d42a33dc698365eb8dd184b6d442def6640

Source code

https://github.com/syscoin/syscoin

API

Syscoin-js provides tooling for all Syscoin Core RPCs including interactivity with Z-DAG.

Documentation

Z-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-off

Z-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 Specs

Syscoin 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)
  • 16MB block bandwidth per minute assuming segwit witness carrying transactions, and transactions ~200 bytes on average
  • SHA256 merge mined with Bitcoin
  • UTXO asset layer, with base Syscoin layer sharing identical security policies as Bitcoin Core
  • Z-DAG on asset layer, bridge to Ethereum on asset layer
  • On-chain scaling with prospect of enabling enterprise grade reliable trustless payment processing with on/offchain hybrid solution
  • Focus only on Simple Value Transfers. MVP of blockchain consensus footprint is balances and ownership of them. Everything else can reduce data availability in exchange for scale (Ethereum 2.0 model). We leave that to other designs, we focus on transfers.
  • Future integrations of MAST/Taproot to get more complex value transfers without trading off trustlessness or decentralization.
  • Zero-knowledge Proofs are a cryptographic new frontier. We are dabbling here to generalize the concept of bridging and also verify the state of a chain efficiently. We also apply it in our Digital Identity projects at Blockchain Foundry (a publicly traded company which develops Syscoin softwares for clients). We are also looking to integrate privacy preserving payment channels for off-chain payments through zkSNARK hub & spoke design which does not suffer from the HTLC attack vectors evident on LN. Much of the issues plaguing Lightning Network can be resolved using a zkSNARK design whilst also providing the ability to do a multi-asset payment channel system. Currently we found a showstopper attack (American Call Option) on LN if we were to use multiple-assets. This would not exist in a system such as this.

Wallets

Web3 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
Syscoin-Qt

Explorers

Mainnet: https://sys1.bcfn.ca (Blockbook)
Testnet: https://explorer-testnet.blockchainfoundry.co

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!

submitted by sidhujag to ethereum [link] [comments]

Defi Coins List In Detail

A Detail List Of Defi Coin

Lending

Trading

Payments

Wallets

Interfaces

Infrastructure

Analytics

Education

Podcasts

Newsletters

Communities

submitted by jakkkmotivator to Latest_Defi_News [link] [comments]

Want to know why NEM should be as popular as Ethereum? this will be bigger than any altcoins you see, here's why

Want to know why NEM should be as popular as Ethereum? this will be bigger than any altcoins you see, here's why

Altcoin Explorer: NEM (XEM), the Enterprise-Grade Blockchain Platform


https://preview.redd.it/5ogfihikwkg51.png?width=1300&format=png&auto=webp&s=099780e02777d16d4e2add64b249c46da1cd488b
Nestled among the top 40 cryptocurrencies by reported market cap, New Economy Movement — popularly known as NEM (XEM) – is a peer-to-peer (P2P), dual-layer blockchain smart contract platform written in one of the most influential programming languages, Java. NEM uses the proof-of-importance (POI) consensus algorithm that essentially values the tokens held and the activity conducted by the nodes on the blockchain network.
In this Altcoin Explorer, BTCManager delves deeper into the finer intricacies of the NEM blockchain protocol, including the project’s POI consensus algorithm, its native digital token XEM, and some of its real-world use-cases.
Without further ado, let’s get to the core of this high-performance distributed ledger technology (DLT) platform.

History of NEM

NEM was launched on March 31, 2015, with an aim to develop an enterprise-grade blockchain protocol that could circumvent the infamous trilemma of blockchain: scalability, speed, and privacy.
Operated by a Gibraltar-registered NEM Group, NEM is a fork-out version of the NXT blockchain. After the successful fork, the NEM community decided to build its ecosystem from the ground up and developed its own codebase to make the network more scalable and faster.
NEM’s insistence toward building its own tech infrastructure led to a DLT protocol that is unlike anything resembling other similar platforms.
Today, NEM ranks among the top go-to blockchain platforms for enterprises across the world, rivaling competing protocols including Ethereum (ETH), and TRON (TRX), among others.

NEM’s Proof-of-Importance (POI) Algorithm

Unlike Bitcoin’s (BTC) energy-intensive Proof-of-Work (PoW) and Ethereum’s yet-to-be-implemented Proof-of-Stake (PoS) consensus algorithm, NEM uses PoI consensus mechanism.
The PoI mechanism achieves consensus by incentivizing active user participation in the NEM network. This consensus infrastructure ensures an agile decentralized network by rewarding well-behaved nodes that not only possess a significant stake in the network but are also actively engaged in executing transactions to maintain the network’s robustness.
Specifically, each node in the network possesses an ‘Importance Score’ that impacts the number of times the said node can ‘Harvest’ the XEM altcoin.
Initially, when a user puts XEM tokens into their wallet, they are called ‘unvested coins.’ Over time, as the wallets start accumulating an increasing number of XEM and contribute to the network’s transaction volume, they start collecting importance scores. At the same time, the XEM tokens in these wallets change into ‘vested coins,’ provided that there are at least 10000 tokens in the wallet.
To put things into perspective, let’s take the help of a small example.
On day 1, Joe receives 50,000 XEM in his digital wallet. Now, with each passing day, the NEM network will ‘vest’ 10 percent of the tokens held by Joe. So, on day 2, 5,000 tokens held by Joe are vested into the network. On day 3, 10 percent of the remaining tokens – 15,000 XEM – get vested into the network, leaving Joe with 13,500 XEM, and so one. After a couple of days, Joe sees that the number of XEM vested by him has crossed the 10,000 coins threshold, thereby, making him eligible to seek rewards from the NEM blockchain for his contribution to vesting his tokens.
Close followers of blockchain projects would find the aforementioned network reward mechanism bear a close resemblance to the PoS consensus algorithm. However, it’s worthy of note that vesting coins is just one way of calculating a node’s importance score.
The NEM protocol also rewards nodes that are responsible for most activity on the network. In essence, this means that the higher the number of transactions executed by a node, the more likely it is to gain higher importance points. The balance between vesting XEM and network activity is an important metric to be maintained by NEM nodes as it directly impacts their likelihood of harvesting XEM.
NEM’s consensus algorithm does away with several issues plaguing the more energy-intensive protocols such as PoW. For instance, PoI does not necessarily require high-energy hardware to run the nodes. The decentralized nature of the algorithm means that almost any machine — irrespective of its tech configuration – can participate in the NEM ecosystem ensuring it remains decentralized.

NEM’s Native Digital Token — XEM

XEM, unlike the vast majority of other cryptocurrencies, isn’t mined or staked using Pow or PoS algorithms. Rather, as explained earlier, XEM is ‘harvested’ through the PoI algorithm which ensures a steady supply of the digital token without flooding the market and involving the risk of a dramatic crash in price.
Per data on CoinMarketCap, at the time of writing, XEM trades at $0.04 with a market cap of more than $382 million and a 24-hour trading volume of approximately $6.8 million. The coin reached its all-time high of $1.92 in January 2018.
A large number of reputable cryptocurrency exchanges trade XEM, including Binance, Upbit, OKEx, Bithumb, ProBit, among others. The digital token can be easily traded with BTC, ETH, and USDT trading pairs.
That said, if you wish to vest your XEM to partake in the maintenance of the NEM network and earn rewards, it is recommended you store your tokens in the official NEM Nano wallet for desktop and mobile OS. Only XEM tokens held in the official NEM Nano wallet are eligible for vesting.

NEM Use-Cases

To date, NEM has been deployed for various real-world applications with promising results.
In 2018, Ukraine launched a blockchain-based e-voting trial leveraging the NEM DLT platform.
At the time, Ukraine’s Central Election Commission – with the local NEM Foundation representation – estimated the test vote trial in each polling station could cost as low as $1,227. The organization’s Oleksandr Stelmakh lauded the efforts, saying that using a blockchain-powered voting mechanism would make it impossible for anyone to fiddle with the records. The Commission added that the NEM protocol presents information in a more user-friendly format for voters.
In the same year, Malaysia’s Ministry of Education launched an e-scroll system based on the NEM blockchain to tackle the menace of fake degrees. The University Degree Issuance and Verification System use the NEM blockchain which is interrogated upon scanning of a QR code printed on the degree certificate.
The Ministry added that one of the primary reasons for its decision to selected the NEM platform was its unique and cutting-edge features in managing traceability and authentication requirements.
On a recent note, the Bank of Lithuania announced that it would be issuing its NEM blockchain-powered digital collector’s coin (LBCoin) in July after the successful completion of its testing phase.

Final Thoughts

Summing up, NEM offers a wide array of in-house features that separate it from other blockchain projects in a space that is becoming increasingly congested. NEM’s creative PoI consensus algorithm is a fresh take on the PoS algorithm for performance enhancement. Further, the project’s newly launched enterprise-grade DLT solution, Symbol, offers a tremendous option to businesses to help them cut costs, reduce complexities, and streamline innovation.
NEM uses the Java programming language that makes it an easy project for developers to get involved with, unlike other projects such as Ethereum that use platform-specific programming languages like Solidity. The project’s tech infrastructure not only makes it less power-intensive compared to Bitcoin but also more scalable than its rival projects including Ethereum and NEO.
NEM’s tagline, “Smart Asset Blockchain, Built for Performance,” perfectly captures everything the project has to offer. Over the years, NEM’s active developer community has craftily addressed the notorious bottlenecks in the vast majority of blockchain solutions, The future looks promising for NEM as it continues to foster a trustless and blockchain-driven economy for tomorrow.
Source
submitted by charlesgwynne to CryptocurrencyICO [link] [comments]

The Privacy Coin Guide Part 1

As interest picks up in crypto again, I want to share this post I made on privacy coins again to just give the basics of their evolution. This is only part 1, and parts 2 and 3 are not available in this format, but this part is informative and basic.
If you’re looking for a quick and easy way to assess what the best privacy coin in the current space is, which has the best features, or which is most likely to give high returns, then this is not that guide. My goal is to give you the power to make your own decisions, to clearly state my biases, and educate. I really wanted to understand this niche of the crypto-space due to my background and current loyalties[1], and grasp the nuances of the features, origins and timelines of technologies used in privacy coins, while not being anything close to a developer myself. This is going to be a 3-part series, starting with an overview and basic review of the technology, then looking at its implications, and ending with why I like a specific project. It might be mildly interesting or delightfully educational. Cryptocurrencies are young and existing privacy coins are deploying technology that is a work in progress. This series assumes a basic understanding of how blockchains work, specifically as used in cryptocurrencies. If you don’t have that understanding, might I suggest that you get it? [2],[3],[4] Because cryptocurrencies have a long way to go before reaching their end-game: when the world relies on the technology without understanding it. So, shall we do a deep dive into the privacy coin space?

FIRST THERE WAS BITCOIN

Cryptocurrencies allow you to tokenize value and track its exchange between hands over time, with transaction information verified by a distributed network of users. The most famous version of a cryptocurrency in use is Bitcoin, defined as peer-to-peer electronic cash. [5] Posted anonymously in 2008, the whitepaper seemed to be in direct response to the global financial meltdown and public distrust of the conventional banking and financing systems. Although cryptographic techniques are used in Bitcoin to ensure that (i) only the owner of a specific wallet has the authority to spend funds from that wallet, (ii) the public address is linked but cannot be traced by a third party to the private address (iii) the information is stored via cryptographic hashing in a merkle tree structure to ensure data integrity, the actual transaction information is publicly visible on the blockchain and can be traced back to the individual through chain analysis.[6] This has raised fears of possible financial censorship or the metaphorical tainting of money due to its origination point, as demonstrated in the Silk Road marketplace disaster.[7] This can happen because fiat money is usually exchanged for cryptocurrency at some point, as crypto-enthusiasts are born in the real world and inevitably cash out. There are already chain analysis firms and software that are increasingly efficient at tracking transactions on the Bitcoin blockchain.[8] This lack of privacy is one of the limitations of Bitcoin that has resulted in the creation of altcoins that experiment with the different features a cryptocurrency can have. Privacy coins are figuring out how to introduce privacy in addition to the payment network. The goal is to make the cryptocurrency fungible, each unit able to be exchanged for equal value without knowledge of its transaction history – like cash, while being publicly verifiable on a decentralized network. In other words, anyone can add the math up without being able to see the full details. Some privacy solutions and protocols have popped up as a result:

CRYPTONOTE – RING SIGNATURES AND STEALTH ADDRESSES

Used in: Monero and Particl as its successor RING-CT, Bytecoin
In December 2012, CryptoNote introduced the use of ring signatures and stealth addresses (along with other notable features such as its own codebase) to improve cryptocurrency privacy.[9] An updated CryptoNote version 2 came in October 2013 [10](though there is some dispute over this timeline [11]), also authored under the name Nicolas van Saberhagen. Ring signatures hide sender information by having the sender sign a transaction using a signature that could belong to multiple users. This makes a transaction untraceable. Stealth addresses allow a receiver to give a single address which generates a different public address for funds to be received at each time funds are sent to it. That makes a transaction unlinkable. In terms of privacy, CryptoNote gave us a protocol for untraceable and unlinkable transactions. The first implementation of CryptoNote technology was Bytecoin in March 2014 (timeline disputed [12]), which spawned many children (forks) in subsequent years, a notable example being Monero, based on CryptoNote v2 in April 2014.
RING SIGNATURES and STEALTH ADDRESSES

PROS

– Provides sender and receiver privacy
– Privacy can be default
– Mature technology
– Greater scalability with bulletproofs
– Does not require any third-party

CONS

– Privacy not very effective without high volume
-Does not hide transaction information if not combined with another protocol.

COINJOIN

Used in: Dash
Bitcoin developer Gregory Maxwell proposed a set of solutions to bring privacy to Bitcoin and cryptocurrencies, the first being CoinJoin (January 28 – Aug 22, 2013).[13],[14] CoinJoin (sometimes called CoinSwap) allows multiple users to combine their transactions into a single transaction, by receiving inputs from multiple users, and then sending their outputs to the multiple users, irrespective of who in the group the inputs came from. So, the receiver will get whatever output amount they were supposed to, but it cannot be directly traced to its origination input. Similar proposals include Coinshuffle in 2014 and Tumblebit in 2016, building on CoinJoin but not terribly popular [15],[16]. They fixed the need for a trusted third party to ‘mix’ the transactions. There are CoinJoin implementations that are being actively worked on but are not the most popular privacy solutions of today. A notable coin that uses CoinJoin technology is Dash, launched in January 2014, with masternodes in place of a trusted party.
COINJOIN

PROS

– Provides sender and receiver privacy
– Easy to implement on any cryptocurrency
– Lightweight
– Greater scalability with bulletproofs
– Mature technology

CONS

– Least anonymous privacy solution. Transaction amounts can be calculated
– Even without third-party mixer, depends on wealth centralization of masternodes

ZEROCOIN

Used in: Zcoin, PIVX
In May 2013, the Zerocoin protocol was introduced by John Hopkins University professor Matthew D. Green and his graduate students Ian Miers and Christina Garman.[17] In response to the need for use of a third party to do CoinJoin, the Zerocoin proposal allowed for a coin to be destroyed and remade in order to erase its history whenever it is spent. Zero-knowledge cryptography and zero-knowledge proofs are used to prove that the new coins for spending are being appropriately made. A zero-knowledge proof allows one party to prove to another that they know specific information, without revealing any information about it, other than the fact that they know it. Zerocoin was not accepted by the Bitcoin community as an implementation to be added to Bitcoin, so a new cryptocurrency had to be formed. Zcoin was the first cryptocurrency to implement the Zerocoin protocol in 2016. [18]
ZEROCOIN

PROS

– Provides sender and receiver privacy
– Supply can be audited
– Relatively mature technology
– Does not require a third-party

CONS

– Requires trusted setup (May not be required with Sigma protocol)
– Large proof sizes (not lightweight)
– Does not provide full privacy for transaction amounts

ZEROCASH

Used in: Zcash, Horizen, Komodo, Zclassic, Bitcoin Private
In May 2014, the current successor to the Zerocoin protocol, Zerocash, was created, also by Matthew Green and others (Eli Ben-Sasson, Alessandro Chiesa, Christina Garman, Matthew Green, Ian Miers, Eran Tromer, Madars Virza).[19] It improved upon the Zerocoin concept by taking advantage of zero-knowledge proofs called zk-snarks (zero knowledge succinct non-interactive arguments of knowledge). Unlike Zerocoin, which hid coin origins and payment history, Zerocash was faster, with smaller transaction sizes, and hides transaction information on the sender, receiver and amount. Zcash is the first cryptocurrency to implement the Zerocash protocol in 2016. [20]
ZEROCASH

PROS

– Provides full anonymity. Sender, receiver and amount hidden.
– Privacy can be default?
– Fast due to small proof sizes.
– Payment amount can be optionally disclosed for auditing
– Does not require any third-party

CONS

– Requires trusted setup. (May be improved with zt-starks technology)
– Supply cannot be audited. And coins can potentially be forged without proper implementation.
– Private transactions computationally intensive (improved with Sapling upgrade)

CONFIDENTIAL TRANSACTIONS

Used in: Monero and Particl with Ring Signatures as RING-CT
The next proposal from Maxwell was that of confidential transactions, proposed in June 2015 as part of the Sidechain Elements project from Blockstream, where Maxwell was Chief Technical Officer.[21],[22] It proposed to hide the transaction amount and asset type (e.g. deposits, currencies, shares), so that only the sender and receiver are aware of the amount, unless they choose to make the amount public. It uses homomorphic encryption[23] to encrypt the inputs and outputs by using blinding factors and a kind of ring signature in a commitment scheme, so the amount can be ‘committed’ to, without the amount actually being known. I’m terribly sorry if you now have the urge to go and research exactly what that means. The takeaway is that the transaction amount can be hidden from outsiders while being verifiable.
CONFIDENTIAL TRANSACTIONS

PROS

– Hides transaction amounts
– Privacy can be default
– Mature technology
– Does not require any third-party

CONS

– Only provides transaction amount privacy when used alone

RING-CT

Used in: Monero, Particl
Then came Ring Confidential transactions, proposed by Shen-Noether of Monero Research Labs in October 2015.[24] RingCT combines the use of ring signatures for hiding sender information, with the use of confidential transactions (which also uses ring signatures) for hiding amounts. The proposal described a new type of ring signature, A Multi-layered Linkable Spontaneous Anonymous Group signature which “allows for hidden amounts, origins and destinations of transactions with reasonable efficiency and verifiable, trustless coin generation”.[25] RingCT was implemented in Monero in January 2017 and made mandatory after September 2017.
RING -CONFIDENTIAL TRANSACTIONS

PROS

– Provides full anonymity. Hides transaction amounts and receiver privacy
– Privacy can be default
– Mature technology
– Greater scalability with bulletproofs
– Does not require any third-party

CONS

– Privacy not very effective without high volume

MIMBLEWIMBLE

Used in: Grin
Mimblewimble was proposed in July 2016 by pseudonymous contributor Tom Elvis Jedusorand further developed in October 2016 by Andrew Poelstra.[26],[27] Mimblewimble is a “privacy and fungibility focused cryptocoin transaction structure proposal”.[28] The key words are transaction structure proposal, so the way the blockchain is built is different, in order to accommodate privacy and fungibility features. Mimblewimble uses the concept of Confidential transactions to keep amounts hidden, looks at private keys and transaction information to prove ownership of funds rather than using addresses, and bundles transactions together instead of listing them separately on the blockchain. It also introduces a novel method of pruning the blockchain. Grin is a cryptocurrency in development that is applying Mimblewimble. Mimblewimble is early in development and you can understand it more here [29].
MIMBLEWIMBLE

PROS

– Hides transaction amounts and receiver privacy
– Privacy is on by default
– Lightweight
– No public addresses?

CONS

– Privacy not very effective without high volume
– Sender and receiver must both be online
– Relatively new technology

ZEXE

Fresh off the minds of brilliant cryptographers (Sean Bowe, Alessandro Chiesa, Matthew Green, Ian Miers, Pratyush Mishra, Howard Wu), in October 2018 Zexe proposed a new cryptographic primitive called ‘decentralized private computation.[30] It allows users of a decentralized ledger to “execute offline computations that result in transactions”[31], but also keeps transaction amounts hidden and allows transaction validation to happen at any time regardless of computations being done online. This can have far reaching implications for privacy coins in the future. Consider cases where transactions need to be automatic and private, without both parties being present.

NETWORK PRIVACY

Privacy technologies that look at network privacy as nodes communicate with each other on the network are important considerations, rather than just looking at privacy on the blockchain itself. Anonymous layers encrypt and/or reroute data as it moves among peers, so it is not obvious who they originate from on the network. They are used to protect against surveillance or censorship from ISPs and governments. The Invisible Internet Project (I2P) is an anonymous network layer that uses end to end encryption for peers on a network to communicate with each other.[32] Its history dates back to 2003. Kovri is a Monero created implementation of I2P.[33] The Onion Router (Tor) is another anonymity layer [34]) that Verge is a privacy cryptocurrency that uses. But its historical link to the US government may be is concerning to some[35]. Dandelion transaction relay is also an upcoming Bitcoin improvement proposal (BIP) that scrambles IP data that will provide network privacy for Bitcoin as transaction and other information is transmitted.[36],[37],[38]

UPCOMING

Monero completed bulletproofs protocol updates that reduce RINGCT transaction sizes and thus transaction fee costs. (Bulletproofs are a replacement for range proofs used in confidential transactions that aid in encrypting inputs and outputs by making sure they add to zero).
Sigma Protocol – being actively researched by Zcoin team as of 2018 to replace Zerocoin protocol so that a trusted setup is not required.[39] There is a possible replacement for zk-snarks, called zk-starks, another form of zero-knowledge proof technology, that may make a trusted set-up unnecessary for zero-knowledege proof coins.[40]

PART 1 CONCLUSION OF THE PRIVACY COIN GUIDE ON THE TECHNOLOGY BEHIND PRIVACY COINS

Although Bitcoin is still a groundbreaking technology that gives us a trust-less transaction system, it has failed to live up to its expectations of privacy. Over time, new privacy technologies have arrived and are arriving with innovative and exciting solutions for Bitcoin’s lack of fungibility. It is important to note that these technologies are built on prior research and application, but we are considering their use in cryptocurrencies. Protocols are proposed based on cryptographic concepts that show how they would work, and then developers actually implement them. Please note that I did not include the possibility of improper implementation as a disadvantage, and the advantages assume that the technical development is well done. A very important point is that coins can also adapt new privacy technologies as their merits become obvious, even as they start with a specific privacy protocol. Furthermore, I am, unfortunately, positive that this is not an exhaustive overview and I am only covering publicized solutions. Next, we’ll talk more about the pros and cons and give an idea of how the coins can be compared.

There's a video version that can be watched, and you can find out how to get the second two parts if you want on my website (video link on the page): https://cryptoramble.com/guide-on-privacy-coins/
submitted by CryptoRamble to ethereum [link] [comments]

Blockchain Oracles: Connecting The Worlds. Part 1

Blockchain Oracles: Connecting The Worlds. Part 1
Many blockchain-based cryptocurrencies, and most importantly, Bitcoin and Ether, have become notorious for transaction failures, primarily due to scalability issues. And that’s pretty much all when we talk about plain-vanilla Bitcoin and its copycats like Litecoin or its clones like Bitcoin Cash. But with blockchains like Ethereum, which expand into the far reaches of a new territory known as smart contracts and decentralized applications (dApps), this is only the tip of the iceberg. In other words, only a beginning.
by StealthEX
What hides below the surface, and thus rarely emerges in public discussions about cryptocurrencies, is the closed-off nature of smart contract-enabled blockchains. To be ever so slightly useful, smart contracts and dApps running on top of them must have access to real-world data which is immensely off-chain, while they are permanently stuck within the constraints of their tiny on-chain world. So how do they escape out of the straightjackets put on them by their restrictive environments? That’s where blockchain oracles come into play.

And what role do they play, exactly?

Enabling smart contracts and dApps to interact with the outside world opens both endless possibilities and a big can of worms. Now that the entire world is made available to a smart contract, it can take an input from an external source of information, make some calculations that require this data or arrive at a decision based on it, and then get down to some work like moving contractually-locked funds from Alice to Bob. Or from Bob to Alice, depending on the verdict. Sounds cool, huh?
But here’s the catch. As transactions on a smart contract blockchain are supposed to be irreversible (while the blockchain itself immutable), it can lead to catastrophic consequences if the input has been tampered with or just happens to be incorrect for some arbitrary reason, not necessarily ill in intent. This fundamental problem of internalizing the outside world for on-chain execution of contractual agreements on smart contract blockchains has become most apparent with the advent of Decentralized Finance (or simply DeFi) a few years ago.
DeFi is a promising new kid on the blockchain arena. It hinges on the idea of decentralizing most financial services that we use today, but without a bank or other financial institution in the middle. It is envisioned that with the help of smart contracts and dApps using them we will be able to lend money and borrow with collateralized digital assets, offer and receive banking services including mortgages and insurance, buy and sell digital assets safely on decentralized marketplaces, as well as issue stablecoins and user tokens. Pretty impressive list, isn’t it?
However, for all of this to work properly we need trustless and reliable sources of information outside the blockchain that provide inputs to dApps running on that blockchain. DeFi requires trustless data feeds about the state of the world to ensure correct on-chain execution of smart contracts powering dApps. But how do we get these and manage to retrieve external data that cannot be verified through cryptography but that we can still trust and rely on? Entities that provide off-chain data for on-chain consumption are called blockchain oracles. Technically, an oracle is an interface through which a smart contract queries and retrieves information from an external source of truth.
As it turns out, DeFi is not the only field of application where blockchain oracles turn up quite handy, but since their use is most indispensable there, it makes sense to delve deeper into this area.

Oracles of DeFi

Today, the space is crowded with a plethora of players that aim at providing DeFi with so much needed real-time market information, for example, digital asset prices. There are many forms of oracles, but the most important distinction is drawn between centralized and decentralized ones. As DeFi is supposed to be a trustless, decentralized environment, the decentralized oracles are the flesh and blood of this ecosystem, so we are mostly concerned here with this type of blockchain oracles (just in case, there are centralized oracles too).
DeFi platforms deploy various oracle solutions in their pursuit of retrieving real-time information about the market price of digital assets. The most well known among these is the MakerDAO lending platform which uses an oracle module called the Medianizer to obtain the real-time exchange prices. Technically, it is a smart contract that accepts price updates from independent data feeds, discards false ones along with outliers, and calculates the median price (hence the name) to be used as a reference for other smart contracts.
Another blockchain-based borrowing and lending platform, Compound, uses administrators who are holders of the platform’s native COMP token. They manage and control price feeds through aggregator contracts they create. Authorized sources of information called reporters are then queried for reference prices by aggregators which verify the data and calculate median values to be used internally. A somewhat similar approach is utilized by AmpleForth, a developer of a stablecoin with elastic supply, and Synthetix, a platform for creating crypto-backed synthetic versions of assets like commodities, stocks, indices, cryptocurrencies, and fiat.
On the other hand, there are a few blockchain projects that provide decentralized oracle services to other platforms and blockchains, mostly Ethereum and EOS. Such projects as Provable (formerly Oraclize), ChainLink, Band Protocol, Tellor aim at providing blockchain-agnostic protocols that allow query and retrieval of virtually any type of reference data in a standardized manner. As authenticity and veracity of the information retrieved is of crucial importance to its consumers, these projects run their own decentralized blockchains whose primary task is to validate data feeds and check that the information received is authentic and has not been tampered with.
Realistically, these special-purpose blockchains come closest to the implementation of a blockchain oracle idea in a truly decentralized and trustless way.

To be continued

In the second part of this two-part article we will look into other uses of blockchain oracles beyond DeFi, and talk about potential problems and pitfalls of this nascent technology, as well as approaches used to deal with them. Stay with us and remain in the know!
And remember if you need to exchange your coins StealthEX is here for you. We provide a selection of more than 250 coins and constantly updating the list so that our customers will find a suitable option. Our service does not require registration and allows you to remain anonymous. Why don’t you check it out? Just go to StealthEX and follow these easy steps:
✔ Choose the pair and the amount for your exchange. For example COMP to DAI.
✔ Press the “Start exchange” button.
✔ Provide the recipient address to which the coins will be transferred.
✔ Move your cryptocurrency for the exchange.
✔ Receive your coins.
Follow us on Medium, Twitter, Facebook, and Reddit to get StealthEX.io updates and the latest news about the crypto world. For all requests message us via [[email protected]](mailto:[email protected]).
The views and opinions expressed here are solely those of the author. Every investment and trading move involves risk. You should conduct your own research when making a decision.
Original article was posted on https://stealthex.io/blog/2020/08/12/blockchain-oracles-connecting-the-worlds-part-1/
submitted by Stealthex_io to StealthEX [link] [comments]

Want to know why NEM should be as popular as Ethereum? this will be bigger than any altcoins you see, here's why

Want to know why NEM should be as popular as Ethereum? this will be bigger than any altcoins you see, here's why

Altcoin Explorer: NEM (XEM), the Enterprise-Grade Blockchain Platform


https://preview.redd.it/manbawoqvkg51.png?width=1300&format=png&auto=webp&s=fcbae1f067261326f11641bb9b18cd6f57616966
Nestled among the top 40 cryptocurrencies by reported market cap, New Economy Movement — popularly known as NEM (XEM) – is a peer-to-peer (P2P), dual-layer blockchain smart contract platform written in one of the most influential programming languages, Java. NEM uses the proof-of-importance (POI) consensus algorithm that essentially values the tokens held and the activity conducted by the nodes on the blockchain network.
In this Altcoin Explorer, BTCManager delves deeper into the finer intricacies of the NEM blockchain protocol, including the project’s POI consensus algorithm, its native digital token XEM, and some of its real-world use-cases.
Without further ado, let’s get to the core of this high-performance distributed ledger technology (DLT) platform.

History of NEM

NEM was launched on March 31, 2015, with an aim to develop an enterprise-grade blockchain protocol that could circumvent the infamous trilemma of blockchain: scalability, speed, and privacy.
Operated by a Gibraltar-registered NEM Group, NEM is a fork-out version of the NXT blockchain. After the successful fork, the NEM community decided to build its ecosystem from the ground up and developed its own codebase to make the network more scalable and faster.
NEM’s insistence toward building its own tech infrastructure led to a DLT protocol that is unlike anything resembling other similar platforms.
Today, NEM ranks among the top go-to blockchain platforms for enterprises across the world, rivaling competing protocols including Ethereum (ETH), and TRON (TRX), among others.

NEM’s Proof-of-Importance (POI) Algorithm

Unlike Bitcoin’s (BTC) energy-intensive Proof-of-Work (PoW) and Ethereum’s yet-to-be-implemented Proof-of-Stake (PoS) consensus algorithm, NEM uses PoI consensus mechanism.
The PoI mechanism achieves consensus by incentivizing active user participation in the NEM network. This consensus infrastructure ensures an agile decentralized network by rewarding well-behaved nodes that not only possess a significant stake in the network but are also actively engaged in executing transactions to maintain the network’s robustness.
Specifically, each node in the network possesses an ‘Importance Score’ that impacts the number of times the said node can ‘Harvest’ the XEM altcoin.
Initially, when a user puts XEM tokens into their wallet, they are called ‘unvested coins.’ Over time, as the wallets start accumulating an increasing number of XEM and contribute to the network’s transaction volume, they start collecting importance scores. At the same time, the XEM tokens in these wallets change into ‘vested coins,’ provided that there are at least 10000 tokens in the wallet.
To put things into perspective, let’s take the help of a small example.
On day 1, Joe receives 50,000 XEM in his digital wallet. Now, with each passing day, the NEM network will ‘vest’ 10 percent of the tokens held by Joe. So, on day 2, 5,000 tokens held by Joe are vested into the network. On day 3, 10 percent of the remaining tokens – 15,000 XEM – get vested into the network, leaving Joe with 13,500 XEM, and so one. After a couple of days, Joe sees that the number of XEM vested by him has crossed the 10,000 coins threshold, thereby, making him eligible to seek rewards from the NEM blockchain for his contribution to vesting his tokens.
Close followers of blockchain projects would find the aforementioned network reward mechanism bear a close resemblance to the PoS consensus algorithm. However, it’s worthy of note that vesting coins is just one way of calculating a node’s importance score.
The NEM protocol also rewards nodes that are responsible for most activity on the network. In essence, this means that the higher the number of transactions executed by a node, the more likely it is to gain higher importance points. The balance between vesting XEM and network activity is an important metric to be maintained by NEM nodes as it directly impacts their likelihood of harvesting XEM.
NEM’s consensus algorithm does away with several issues plaguing the more energy-intensive protocols such as PoW. For instance, PoI does not necessarily require high-energy hardware to run the nodes. The decentralized nature of the algorithm means that almost any machine — irrespective of its tech configuration – can participate in the NEM ecosystem ensuring it remains decentralized.

NEM’s Native Digital Token — XEM

XEM, unlike the vast majority of other cryptocurrencies, isn’t mined or staked using Pow or PoS algorithms. Rather, as explained earlier, XEM is ‘harvested’ through the PoI algorithm which ensures a steady supply of the digital token without flooding the market and involving the risk of a dramatic crash in price.
Per data on CoinMarketCap, at the time of writing, XEM trades at $0.04 with a market cap of more than $382 million and a 24-hour trading volume of approximately $6.8 million. The coin reached its all-time high of $1.92 in January 2018.
A large number of reputable cryptocurrency exchanges trade XEM, including Binance, Upbit, OKEx, Bithumb, ProBit, among others. The digital token can be easily traded with BTC, ETH, and USDT trading pairs.
That said, if you wish to vest your XEM to partake in the maintenance of the NEM network and earn rewards, it is recommended you store your tokens in the official NEM Nano wallet for desktop and mobile OS. Only XEM tokens held in the official NEM Nano wallet are eligible for vesting.

NEM Use-Cases

To date, NEM has been deployed for various real-world applications with promising results.
In 2018, Ukraine launched a blockchain-based e-voting trial leveraging the NEM DLT platform.
At the time, Ukraine’s Central Election Commission – with the local NEM Foundation representation – estimated the test vote trial in each polling station could cost as low as $1,227. The organization’s Oleksandr Stelmakh lauded the efforts, saying that using a blockchain-powered voting mechanism would make it impossible for anyone to fiddle with the records. The Commission added that the NEM protocol presents information in a more user-friendly format for voters.
In the same year, Malaysia’s Ministry of Education launched an e-scroll system based on the NEM blockchain to tackle the menace of fake degrees. The University Degree Issuance and Verification System use the NEM blockchain which is interrogated upon scanning of a QR code printed on the degree certificate.
The Ministry added that one of the primary reasons for its decision to selected the NEM platform was its unique and cutting-edge features in managing traceability and authentication requirements.
On a recent note, the Bank of Lithuania announced that it would be issuing its NEM blockchain-powered digital collector’s coin (LBCoin) in July after the successful completion of its testing phase.

Final Thoughts

Summing up, NEM offers a wide array of in-house features that separate it from other blockchain projects in a space that is becoming increasingly congested. NEM’s creative PoI consensus algorithm is a fresh take on the PoS algorithm for performance enhancement. Further, the project’s newly launched enterprise-grade DLT solution, Symbol, offers a tremendous option to businesses to help them cut costs, reduce complexities, and streamline innovation.
NEM uses the Java programming language that makes it an easy project for developers to get involved with, unlike other projects such as Ethereum that use platform-specific programming languages like Solidity. The project’s tech infrastructure not only makes it less power-intensive compared to Bitcoin but also more scalable than its rival projects including Ethereum and NEO.
NEM’s tagline, “Smart Asset Blockchain, Built for Performance,” perfectly captures everything the project has to offer. Over the years, NEM’s active developer community has craftily addressed the notorious bottlenecks in the vast majority of blockchain solutions, The future looks promising for NEM as it continues to foster a trustless and blockchain-driven economy for tomorrow.
Source
submitted by charlesgwynne to ico [link] [comments]

Altcoin Explorer: NEM (XEM), the Enterprise-Grade Blockchain Platform

Altcoin Explorer: NEM (XEM), the Enterprise-Grade Blockchain Platform

https://preview.redd.it/f82bxncaxkg51.png?width=1300&format=png&auto=webp&s=34afde717d1781f7e472c8dcacd18a8b9390a78d
Nestled among the top 40 cryptocurrencies by reported market cap, New Economy Movement — popularly known as NEM (XEM) – is a peer-to-peer (P2P), dual-layer blockchain smart contract platform written in one of the most influential programming languages, Java. NEM uses the proof-of-importance (POI) consensus algorithm that essentially values the tokens held and the activity conducted by the nodes on the blockchain network.
In this Altcoin Explorer, BTCManager delves deeper into the finer intricacies of the NEM blockchain protocol, including the project’s POI consensus algorithm, its native digital token XEM, and some of its real-world use-cases.
Without further ado, let’s get to the core of this high-performance distributed ledger technology (DLT) platform.

History of NEM

NEM was launched on March 31, 2015, with an aim to develop an enterprise-grade blockchain protocol that could circumvent the infamous trilemma of blockchain: scalability, speed, and privacy.
Operated by a Gibraltar-registered NEM Group, NEM is a fork-out version of the NXT blockchain. After the successful fork, the NEM community decided to build its ecosystem from the ground up and developed its own codebase to make the network more scalable and faster.
NEM’s insistence toward building its own tech infrastructure led to a DLT protocol that is unlike anything resembling other similar platforms.
Today, NEM ranks among the top go-to blockchain platforms for enterprises across the world, rivaling competing protocols including Ethereum (ETH), and TRON (TRX), among others.

NEM’s Proof-of-Importance (POI) Algorithm

Unlike Bitcoin’s (BTC) energy-intensive Proof-of-Work (PoW) and Ethereum’s yet-to-be-implemented Proof-of-Stake (PoS) consensus algorithm, NEM uses PoI consensus mechanism.
The PoI mechanism achieves consensus by incentivizing active user participation in the NEM network. This consensus infrastructure ensures an agile decentralized network by rewarding well-behaved nodes that not only possess a significant stake in the network but are also actively engaged in executing transactions to maintain the network’s robustness.
Specifically, each node in the network possesses an ‘Importance Score’ that impacts the number of times the said node can ‘Harvest’ the XEM altcoin.
Initially, when a user puts XEM tokens into their wallet, they are called ‘unvested coins.’ Over time, as the wallets start accumulating an increasing number of XEM and contribute to the network’s transaction volume, they start collecting importance scores. At the same time, the XEM tokens in these wallets change into ‘vested coins,’ provided that there are at least 10000 tokens in the wallet.
To put things into perspective, let’s take the help of a small example.
On day 1, Joe receives 50,000 XEM in his digital wallet. Now, with each passing day, the NEM network will ‘vest’ 10 percent of the tokens held by Joe. So, on day 2, 5,000 tokens held by Joe are vested into the network. On day 3, 10 percent of the remaining tokens – 15,000 XEM – get vested into the network, leaving Joe with 13,500 XEM, and so one. After a couple of days, Joe sees that the number of XEM vested by him has crossed the 10,000 coins threshold, thereby, making him eligible to seek rewards from the NEM blockchain for his contribution to vesting his tokens.
Close followers of blockchain projects would find the aforementioned network reward mechanism bear a close resemblance to the PoS consensus algorithm. However, it’s worthy of note that vesting coins is just one way of calculating a node’s importance score.
The NEM protocol also rewards nodes that are responsible for most activity on the network. In essence, this means that the higher the number of transactions executed by a node, the more likely it is to gain higher importance points. The balance between vesting XEM and network activity is an important metric to be maintained by NEM nodes as it directly impacts their likelihood of harvesting XEM.
NEM’s consensus algorithm does away with several issues plaguing the more energy-intensive protocols such as PoW. For instance, PoI does not necessarily require high-energy hardware to run the nodes. The decentralized nature of the algorithm means that almost any machine — irrespective of its tech configuration – can participate in the NEM ecosystem ensuring it remains decentralized.

NEM’s Native Digital Token — XEM

XEM, unlike the vast majority of other cryptocurrencies, isn’t mined or staked using Pow or PoS algorithms. Rather, as explained earlier, XEM is ‘harvested’ through the PoI algorithm which ensures a steady supply of the digital token without flooding the market and involving the risk of a dramatic crash in price.
Per data on CoinMarketCap, at the time of writing, XEM trades at $0.04 with a market cap of more than $382 million and a 24-hour trading volume of approximately $6.8 million. The coin reached its all-time high of $1.92 in January 2018.
A large number of reputable cryptocurrency exchanges trade XEM, including Binance, Upbit, OKEx, Bithumb, ProBit, among others. The digital token can be easily traded with BTC, ETH, and USDT trading pairs.
That said, if you wish to vest your XEM to partake in the maintenance of the NEM network and earn rewards, it is recommended you store your tokens in the official NEM Nano wallet for desktop and mobile OS. Only XEM tokens held in the official NEM Nano wallet are eligible for vesting.

NEM Use-Cases

To date, NEM has been deployed for various real-world applications with promising results.
In 2018, Ukraine launched a blockchain-based e-voting trial leveraging the NEM DLT platform.
At the time, Ukraine’s Central Election Commission – with the local NEM Foundation representation – estimated the test vote trial in each polling station could cost as low as $1,227. The organization’s Oleksandr Stelmakh lauded the efforts, saying that using a blockchain-powered voting mechanism would make it impossible for anyone to fiddle with the records. The Commission added that the NEM protocol presents information in a more user-friendly format for voters.
In the same year, Malaysia’s Ministry of Education launched an e-scroll system based on the NEM blockchain to tackle the menace of fake degrees. The University Degree Issuance and Verification System use the NEM blockchain which is interrogated upon scanning of a QR code printed on the degree certificate.
The Ministry added that one of the primary reasons for its decision to selected the NEM platform was its unique and cutting-edge features in managing traceability and authentication requirements.
On a recent note, the Bank of Lithuania announced that it would be issuing its NEM blockchain-powered digital collector’s coin (LBCoin) in July after the successful completion of its testing phase.

Final Thoughts

Summing up, NEM offers a wide array of in-house features that separate it from other blockchain projects in a space that is becoming increasingly congested. NEM’s creative PoI consensus algorithm is a fresh take on the PoS algorithm for performance enhancement. Further, the project’s newly launched enterprise-grade DLT solution, Symbol, offers a tremendous option to businesses to help them cut costs, reduce complexities, and streamline innovation.
NEM uses the Java programming language that makes it an easy project for developers to get involved with, unlike other projects such as Ethereum that use platform-specific programming languages like Solidity. The project’s tech infrastructure not only makes it less power-intensive compared to Bitcoin but also more scalable than its rival projects including Ethereum and NEO.
NEM’s tagline, “Smart Asset Blockchain, Built for Performance,” perfectly captures everything the project has to offer. Over the years, NEM’s active developer community has craftily addressed the notorious bottlenecks in the vast majority of blockchain solutions, The future looks promising for NEM as it continues to foster a trustless and blockchain-driven economy for tomorrow.
Source
submitted by charlesgwynne to BlockchainStartups [link] [comments]

Tomáš Marada - TRUSTLESS LOAN BACKED BY BTC  #hcpp19 Trustless Bitcoin Mixing With ZeroLink What do you mean, Bitcoin is Trustless? - Cryptogirlio™ Ep 008 Conquering COVID-19 VIRUS  Trustless Bitcoin & The BANK TAKEDOWN  [OZ] [V] [Steve Jobs] [SATOSHI] How to claim FREE HEX using Bitcoin! (Trustless)

Blockstream has announced the success of a “trustless” Bitcoin forward contract transaction with Crypto Garage. The Bitcoin infrastructure developer says the news marks a watershed moment in the actualization of decentralized trading and settlement i Bitcoin is Not That Trustless: What’s Behind it Then? ... We encourage you to use comments to engage with users, share your perspective and ask questions of authors and each other. For the first time in history, value can be sent anywhere in the world at the same speed as information, in a secure and trustless way. A departure from conventional economic, political, and social systems run by a handful of large centralized institutions, digital currencies are powered by millions of peers within a globally distributed network, democratizing information and value in ... tBTC, an open-sourced project from Keep, Summa, and the Cross-Chain Group, relaunched on Monday after a paused launch in May.tBTC allows a 1-to-1 exchange of Bitcoin for TBTC, which is an ERC-20 token that can be used in Ethereum DeFi apps. According An in-progress blockchain project could one day help users trade bitcoin for zcash without a trusted third party. Created by zcash developers Jay Graber and Ariel Gabizon, ZBXCAT is a new command-line tool that developers can use to exchange the two cryptocurrencies. With today’s bitcoin exchanges having a history of being vulnerable to hacks (leading to millions of dollars […]

[index] [3757] [50127] [32865] [25499] [24098] [51063] [2101] [42383] [9802] [36429]

Tomáš Marada - TRUSTLESS LOAN BACKED BY BTC #hcpp19

ZeroLender: Trustless Peer-to-Peer Bitcoin Lending Platform Yi Xie (Boise State University), Joshua Holmes (Boise State University) and Gaby G. Dagher (Boise... How loan can be replicated using derivatives, mainly futures and swaps. And how to enter such contracts in p2p fashion. The talk examines current possibilities how to take the loan backed by ... This video is unavailable. Watch Queue Queue. Watch Queue Queue How to claim FREE HEX using Bitcoin! (Trustless) Knightly Crypto - Inevitable Success with HEX. Loading... Unsubscribe from Knightly Crypto - Inevitable Success with HEX? Cancel Unsubscribe ... Making Cryptocurrency Easy and Fun! Bitcoin hit a new All Time High this week and Coinbase saw a rush of new users. Nina explains what "trustless" means in the blockchain world and how competitive ...

#