Live Bitcoin Price:

NiceHash - buy & sell hashing power

NiceHash offers you to buy or sell hashing power directly, no contracts, no limitations, pay-as-you-go if you're a buyer and be-paid-as-you-go if you're a seller. Why bother renting rigs, when you can rent hashing power? NiceHash brings more to renters and rig owners. Visit https://www.nicehash.com today! Simply create order and you are already mining your favorite coin or point your rig to our stratum server and you are already earning bitcoins.
[link]

Cryptocurrency news and discussions.

Cryptocurrency news and discussion. Bitcoin, Litecoin, Ethereum, Ripple, Monero, Dash, NEO, IOTA Lightning Network, SegWit, Augur, Steemit, privacy, ICO, block time, Proof of Work, Proof of Stake, NEM, Peercoin, Vertcoin, Iconomi, Dogecoin, Zcash, BitShares, Walton, mining, hashrate, mining difficulty, blockchain, coinbase, merkle, transaction rate, decentralized exchange, annual inflation rate, total market cap, bitcoin cash, BTC
[link]

CryptoPrices - Live Bitcoin and Ethereum prices from multiple exchanges/sites via API

CryptoPrices - Live Bitcoin and Ethereum prices from multiple exchanges/sites via API submitted by TheWackedOne to Rainmeter [link] [comments]

Are there any APIs that will provide live streaming bitcoin prices?

As the title states, just looking for some sort of platform that will allow me to read in live bitcoin prices at high frequency intervals into a python script
submitted by madzthakz to Bitcoin [link] [comments]

Are there any APIs that will provide live streaming bitcoin prices? /r/Bitcoin

Are there any APIs that will provide live streaming bitcoin prices? /Bitcoin submitted by BitcoinAllBot to BitcoinAll [link] [comments]

Offering up to $500 USD (or crypto equivalent) for making me a custom API live price grab Site/App (eg. PHP/Python or the like) /r/Bitcoin

Offering up to $500 USD (or crypto equivalent) for making me a custom API live price grab Site/App (eg. PHP/Python or the like) /Bitcoin submitted by BitcoinAllBot to BitcoinAll [link] [comments]

How to you Live Coin prices from an Exchange via the Exchange's provided API inside EXCEL /r/Bitcoin

How to you Live Coin prices from an Exchange via the Exchange's provided API inside EXCEL /Bitcoin submitted by BitcoinAllBot to BitcoinAll [link] [comments]

Bitcoin mentioned around Reddit: Made this Bitcoin Price site, learning about API's, JSON/XML, and PHP. http://monger.us/live-btc-price/index.php /r/learnprogramming

Bitcoin mentioned around Reddit: Made this Bitcoin Price site, learning about API's, JSON/XML, and PHP. http://monger.us/live-btc-price/index.php /learnprogramming submitted by BitcoinAllBot to BitcoinAll [link] [comments]

Media • Bitcoin 101 - Calling All APIs - Coding Live Price Data From Bitcoin Exchanges

submitted by btcforumbot to BtcForum [link] [comments]

Bitcoin 101 - Calling All APIs - Coding Live Price Data From Bitcoin Exchanges

Bitcoin 101 - Calling All APIs - Coding Live Price Data From Bitcoin Exchanges submitted by hereC to coindev [link] [comments]

Bitcoin 101 - Calling All APIs - Coding Live Price Data From Bitcoin Exchanges

Bitcoin 101 - Calling All APIs - Coding Live Price Data From Bitcoin Exchanges submitted by MuchBitcoin to MuchBitcoin [link] [comments]

Dragonchain Great Reddit Scaling Bake-Off Public Proposal

Dragonchain Great Reddit Scaling Bake-Off Public Proposal

Dragonchain Public Proposal TL;DR:

Dragonchain has demonstrated twice Reddit’s entire total daily volume (votes, comments, and posts per Reddit 2019 Year in Review) in a 24-hour demo on an operational network. Every single transaction on Dragonchain is decentralized immediately through 5 levels of Dragon Net, and then secured with combined proof on Bitcoin, Ethereum, Ethereum Classic, and Binance Chain, via Interchain. At the time, in January 2020, the entire cost of the demo was approximately $25K on a single system (transaction fees locked at $0.0001/txn). With current fees (lowest fee $0.0000025/txn), this would cost as little as $625.
Watch Joe walk through the entire proposal and answer questions on YouTube.
This proposal is also available on the Dragonchain blog.

Hello Reddit and Ethereum community!

I’m Joe Roets, Founder & CEO of Dragonchain. When the team and I first heard about The Great Reddit Scaling Bake-Off we were intrigued. We believe we have the solutions Reddit seeks for its community points system and we have them at scale.
For your consideration, we have submitted our proposal below. The team at Dragonchain and I welcome and look forward to your technical questions, philosophical feedback, and fair criticism, to build a scaling solution for Reddit that will empower its users. Because our architecture is unlike other blockchain platforms out there today, we expect to receive many questions while people try to grasp our project. I will answer all questions here in this thread on Reddit, and I've answered some questions in the stream on YouTube.
We have seen good discussions so far in the competition. We hope that Reddit’s scaling solution will emerge from The Great Reddit Scaling Bake-Off and that Reddit will have great success with the implementation.

Executive summary

Dragonchain is a robust open source hybrid blockchain platform that has proven to withstand the passing of time since our inception in 2014. We have continued to evolve to harness the scalability of private nodes, yet take full advantage of the security of public decentralized networks, like Ethereum. We have a live, operational, and fully functional Interchain network integrating Bitcoin, Ethereum, Ethereum Classic, and ~700 independent Dragonchain nodes. Every transaction is secured to Ethereum, Bitcoin, and Ethereum Classic. Transactions are immediately usable on chain, and the first decentralization is seen within 20 seconds on Dragon Net. Security increases further to public networks ETH, BTC, and ETC within 10 minutes to 2 hours. Smart contracts can be written in any executable language, offering full freedom to existing developers. We invite any developer to watch the demo, play with our SDK’s, review open source code, and to help us move forward. Dragonchain specializes in scalable loyalty & rewards solutions and has built a decentralized social network on chain, with very affordable transaction costs. This experience can be combined with the insights Reddit and the Ethereum community have gained in the past couple of months to roll out the solution at a rapid pace.

Response and PoC

In The Great Reddit Scaling Bake-Off post, Reddit has asked for a series of demonstrations, requirements, and other considerations. In this section, we will attempt to answer all of these requests.

Live Demo

A live proof of concept showing hundreds of thousands of transactions
On Jan 7, 2020, Dragonchain hosted a 24-hour live demonstration during which a quarter of a billion (250 million+) transactions executed fully on an operational network. Every single transaction on Dragonchain is decentralized immediately through 5 levels of Dragon Net, and then secured with combined proof on Bitcoin, Ethereum, Ethereum Classic, and Binance Chain, via Interchain. This means that every single transaction is secured by, and traceable to these networks. An attack on this system would require a simultaneous attack on all of the Interchained networks.
24 hours in 4 minutes (YouTube):
24 hours in 4 minutes
The demonstration was of a single business system, and any user is able to scale this further, by running multiple systems simultaneously. Our goals for the event were to demonstrate a consistent capacity greater than that of Visa over an extended time period.
Tooling to reproduce our demo is available here:
https://github.com/dragonchain/spirit-bomb

Source Code

Source code (for on & off-chain components as well tooling used for the PoC). The source code does not have to be shared publicly, but if Reddit decides to use a particular solution it will need to be shared with Reddit at some point.

Scaling

How it works & scales

Architectural Scaling

Dragonchain’s architecture attacks the scalability issue from multiple angles. Dragonchain is a hybrid blockchain platform, wherein every transaction is protected on a business node to the requirements of that business or purpose. A business node may be held completely private or may be exposed or replicated to any level of exposure desired.
Every node has its own blockchain and is independently scalable. Dragonchain established Context Based Verification as its consensus model. Every transaction is immediately usable on a trust basis, and in time is provable to an increasing level of decentralized consensus. A transaction will have a level of decentralization to independently owned and deployed Dragonchain nodes (~700 nodes) within seconds, and full decentralization to BTC and ETH within minutes or hours. Level 5 nodes (Interchain nodes) function to secure all transactions to public or otherwise external chains such as Bitcoin and Ethereum. These nodes scale the system by aggregating multiple blocks into a single Interchain transaction on a cadence. This timing is configurable based upon average fees for each respective chain. For detailed information about Dragonchain’s architecture, and Context Based Verification, please refer to the Dragonchain Architecture Document.

Economic Scaling

An interesting feature of Dragonchain’s network consensus is its economics and scarcity model. Since Dragon Net nodes (L2-L4) are independent staking nodes, deployment to cloud platforms would allow any of these nodes to scale to take on a large percentage of the verification work. This is great for scalability, but not good for the economy, because there is no scarcity, and pricing would develop a downward spiral and result in fewer verification nodes. For this reason, Dragonchain uses TIME as scarcity.
TIME is calculated as the number of Dragons held, multiplied by the number of days held. TIME influences the user’s access to features within the Dragonchain ecosystem. It takes into account both the Dragon balance and length of time each Dragon is held. TIME is staked by users against every verification node and dictates how much of the transaction fees are awarded to each participating node for every block.
TIME also dictates the transaction fee itself for the business node. TIME is staked against a business node to set a deterministic transaction fee level (see transaction fee table below in Cost section). This is very interesting in a discussion about scaling because it guarantees independence for business implementation. No matter how much traffic appears on the entire network, a business is guaranteed to not see an increased transaction fee rate.

Scaled Deployment

Dragonchain uses Docker and Kubernetes to allow the use of best practices traditional system scaling. Dragonchain offers managed nodes with an easy to use web based console interface. The user may also deploy a Dragonchain node within their own datacenter or favorite cloud platform. Users have deployed Dragonchain nodes on-prem on Amazon AWS, Google Cloud, MS Azure, and other hosting platforms around the world. Any executable code, anything you can write, can be written into a smart contract. This flexibility is what allows us to say that developers with no blockchain experience can use any code language to access the benefits of blockchain. Customers have used NodeJS, Python, Java, and even BASH shell script to write smart contracts on Dragonchain.
With Docker containers, we achieve better separation of concerns, faster deployment, higher reliability, and lower response times.
We chose Kubernetes for its self-healing features, ability to run multiple services on one server, and its large and thriving development community. It is resilient, scalable, and automated. OpenFaaS allows us to package smart contracts as Docker images for easy deployment.
Contract deployment time is now bounded only by the size of the Docker image being deployed but remains fast even for reasonably large images. We also take advantage of Docker’s flexibility and its ability to support any language that can run on x86 architecture. Any image, public or private, can be run as a smart contract using Dragonchain.

Flexibility in Scaling

Dragonchain’s architecture considers interoperability and integration as key features. From inception, we had a goal to increase adoption via integration with real business use cases and traditional systems.
We envision the ability for Reddit, in the future, to be able to integrate alternate content storage platforms or other financial services along with the token.
  • LBRY - To allow users to deploy content natively to LBRY
  • MakerDAO to allow users to lend small amounts backed by their Reddit community points.
  • STORJ/SIA to allow decentralized on chain storage of portions of content. These integrations or any other are relatively easy to integrate on Dragonchain with an Interchain implementation.

Cost

Cost estimates (on-chain and off-chain) For the purpose of this proposal, we assume that all transactions are on chain (posts, replies, and votes).
On the Dragonchain network, transaction costs are deterministic/predictable. By staking TIME on the business node (as described above) Reddit can reduce transaction costs to as low as $0.0000025 per transaction.
Dragonchain Fees Table

Getting Started

How to run it
Building on Dragonchain is simple and requires no blockchain experience. Spin up a business node (L1) in our managed environment (AWS), run it in your own cloud environment, or on-prem in your own datacenter. Clear documentation will walk you through the steps of spinning up your first Dragonchain Level 1 Business node.
Getting started is easy...
  1. Download Dragonchain’s dctl
  2. Input three commands into a terminal
  3. Build an image
  4. Run it
More information can be found in our Get started documents.

Architecture
Dragonchain is an open source hybrid platform. Through Dragon Net, each chain combines the power of a public blockchain (like Ethereum) with the privacy of a private blockchain.
Dragonchain organizes its network into five separate levels. A Level 1, or business node, is a totally private blockchain only accessible through the use of public/private keypairs. All business logic, including smart contracts, can be executed on this node directly and added to the chain.
After creating a block, the Level 1 business node broadcasts a version stripped of sensitive private data to Dragon Net. Three Level 2 Validating nodes validate the transaction based on guidelines determined from the business. A Level 3 Diversity node checks that the level 2 nodes are from a diverse array of locations. A Level 4 Notary node, hosted by a KYC partner, then signs the validation record received from the Level 3 node. The transaction hash is ledgered to the Level 5 public chain to take advantage of the hash power of massive public networks.
Dragon Net can be thought of as a “blockchain of blockchains”, where every level is a complete private blockchain. Because an L1 can send to multiple nodes on a single level, proof of existence is distributed among many places in the network. Eventually, proof of existence reaches level 5 and is published on a public network.

API Documentation

APIs (on chain & off)

SDK Source

Nobody’s Perfect

Known issues or tradeoffs
  • Dragonchain is open source and even though the platform is easy enough for developers to code in any language they are comfortable with, we do not have so large a developer community as Ethereum. We would like to see the Ethereum developer community (and any other communities) become familiar with our SDK’s, our solutions, and our platform, to unlock the full potential of our Ethereum Interchain. Long ago we decided to prioritize both Bitcoin and Ethereum Interchains. We envision an ecosystem that encompasses different projects to give developers the ability to take full advantage of all the opportunities blockchain offers to create decentralized solutions not only for Reddit but for all of our current platforms and systems. We believe that together we will take the adoption of blockchain further. We currently have additional Interchain with Ethereum Classic. We look forward to Interchain with other blockchains in the future. We invite all blockchains projects who believe in decentralization and security to Interchain with Dragonchain.
  • While we only have 700 nodes compared to 8,000 Ethereum and 10,000 Bitcoin nodes. We harness those 18,000 nodes to scale to extremely high levels of security. See Dragonchain metrics.
  • Some may consider the centralization of Dragonchain’s business nodes as an issue at first glance, however, the model is by design to protect business data. We do not consider this a drawback as these nodes can make any, none, or all data public. Depending upon the implementation, every subreddit could have control of its own business node, for potential business and enterprise offerings, bringing new alternative revenue streams to Reddit.

Costs and resources

Summary of cost & resource information for both on-chain & off-chain components used in the PoC, as well as cost & resource estimates for further scaling. If your PoC is not on mainnet, make note of any mainnet caveats (such as congestion issues).
Every transaction on the PoC system had a transaction fee of $0.0001 (one-hundredth of a cent USD). At 256MM transactions, the demo cost $25,600. With current operational fees, the same demonstration would cost $640 USD.
For the demonstration, to achieve throughput to mimic a worldwide payments network, we modeled several clients in AWS and 4-5 business nodes to handle the traffic. The business nodes were tuned to handle higher throughput by adjusting memory and machine footprint on AWS. This flexibility is valuable to implementing a system such as envisioned by Reddit. Given that Reddit’s daily traffic (posts, replies, and votes) is less than half that of our demo, we would expect that the entire Reddit system could be handled on 2-5 business nodes using right-sized containers on AWS or similar environments.
Verification was accomplished on the operational Dragon Net network with over 700 independently owned verification nodes running around the world at no cost to the business other than paid transaction fees.

Requirements

Scaling

This PoC should scale to the numbers below with minimal costs (both on & off-chain). There should also be a clear path to supporting hundreds of millions of users.
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
During Dragonchain’s 24 hour demo, the above required numbers were reached within the first few minutes.
Reddit’s total activity is 9000% more than Ethereum’s total transaction level. Even if you do not include votes, it is still 700% more than Ethereum’s current volume. Dragonchain has demonstrated that it can handle 250 million transactions a day, and it’s architecture allows for multiple systems to work at that level simultaneously. In our PoC, we demonstrate double the full capacity of Reddit, and every transaction was proven all the way to Bitcoin and Ethereum.
Reddit Scaling on Ethereum

Decentralization

Solutions should not depend on any single third-party provider. We prefer solutions that do not depend on specific entities such as Reddit or another provider, and solutions with no single point of control or failure in off-chain components but recognize there are numerous trade-offs to consider
Dragonchain’s architecture calls for a hybrid approach. Private business nodes hold the sensitive data while the validation and verification of transactions for the business are decentralized within seconds and secured to public blockchains within 10 minutes to 2 hours. Nodes could potentially be controlled by owners of individual subreddits for more organic decentralization.
  • Billing is currently centralized - there is a path to federation and decentralization of a scaled billing solution.
  • Operational multi-cloud
  • Operational on-premises capabilities
  • Operational deployment to any datacenter
  • Over 700 independent Community Verification Nodes with proof of ownership
  • Operational Interchain (Interoperable to Bitcoin, Ethereum, and Ethereum Classic, open to more)

Usability Scaling solutions should have a simple end user experience.

Users shouldn't have to maintain any extra state/proofs, regularly monitor activity, keep track of extra keys, or sign anything other than their normal transactions
Dragonchain and its customers have demonstrated extraordinary usability as a feature in many applications, where users do not need to know that the system is backed by a live blockchain. Lyceum is one of these examples, where the progress of academy courses is being tracked, and successful completion of courses is rewarded with certificates on chain. Our @Save_The_Tweet bot is popular on Twitter. When used with one of the following hashtags - #please, #blockchain, #ThankYou, or #eternalize the tweet is saved through Eternal to multiple blockchains. A proof report is available for future reference. Other examples in use are DEN, our decentralized social media platform, and our console, where users can track their node rewards, view their TIME, and operate a business node.
Examples:

Transactions complete in a reasonable amount of time (seconds or minutes, not hours or days)
All transactions are immediately usable on chain by the system. A transaction begins the path to decentralization at the conclusion of a 5-second block when it gets distributed across 5 separate community run nodes. Full decentralization occurs within 10 minutes to 2 hours depending on which interchain (Bitcoin, Ethereum, or Ethereum Classic) the transaction hits first. Within approximately 2 hours, the combined hash power of all interchained blockchains secures the transaction.

Free to use for end users (no gas fees, or fixed/minimal fees that Reddit can pay on their behalf)
With transaction pricing as low as $0.0000025 per transaction, it may be considered reasonable for Reddit to cover transaction fees for users.
All of Reddit's Transactions on Blockchain (month)
Community points can be earned by users and distributed directly to their Reddit account in batch (as per Reddit minting plan), and allow users to withdraw rewards to their Ethereum wallet whenever they wish. Withdrawal fees can be paid by either user or Reddit. This model has been operating inside the Dragonchain system since 2018, and many security and financial compliance features can be optionally added. We feel that this capability greatly enhances user experience because it is seamless to a regular user without cryptocurrency experience, yet flexible to a tech savvy user. With regard to currency or token transactions, these would occur on the Reddit network, verified to BTC and ETH. These transactions would incur the $0.0000025 transaction fee. To estimate this fee we use the monthly active Reddit users statista with a 60% adoption rate and an estimated 10 transactions per month average resulting in an approximate $720 cost across the system. Reddit could feasibly incur all associated internal network charges (mining/minting, transfer, burn) as these are very low and controllable fees.
Reddit Internal Token Transaction Fees

Reddit Ethereum Token Transaction Fees
When we consider further the Ethereum fees that might be incurred, we have a few choices for a solution.
  1. Offload all Ethereum transaction fees (user withdrawals) to interested users as they wish to withdraw tokens for external use or sale.
  2. Cover Ethereum transaction fees by aggregating them on a timed schedule. Users would request withdrawal (from Reddit or individual subreddits), and they would be transacted on the Ethereum network every hour (or some other schedule).
  3. In a combination of the above, customers could cover aggregated fees.
  4. Integrate with alternate Ethereum roll up solutions or other proposals to aggregate minting and distribution transactions onto Ethereum.

Bonus Points

Users should be able to view their balances & transactions via a blockchain explorer-style interface
From interfaces for users who have no knowledge of blockchain technology to users who are well versed in blockchain terms such as those present in a typical block explorer, a system powered by Dragonchain has flexibility on how to provide balances and transaction data to users. Transactions can be made viewable in an Eternal Proof Report, which displays raw data along with TIME staking information and traceability all the way to Bitcoin, Ethereum, and every other Interchained network. The report shows fields such as transaction ID, timestamp, block ID, multiple verifications, and Interchain proof. See example here.
Node payouts within the Dragonchain console are listed in chronological order and can be further seen in either Dragons or USD. See example here.
In our social media platform, Dragon Den, users can see, in real-time, their NRG and MTR balances. See example here.
A new influencer app powered by Dragonchain, Raiinmaker, breaks down data into a user friendly interface that shows coin portfolio, redeemed rewards, and social scores per campaign. See example here.

Exiting is fast & simple
Withdrawing funds on Dragonchain’s console requires three clicks, however, withdrawal scenarios with more enhanced security features per Reddit’s discretion are obtainable.

Interoperability Compatibility with third party apps (wallets/contracts/etc) is necessary.
Proven interoperability at scale that surpasses the required specifications. Our entire platform consists of interoperable blockchains connected to each other and traditional systems. APIs are well documented. Third party permissions are possible with a simple smart contract without the end user being aware. No need to learn any specialized proprietary language. Any code base (not subsets) is usable within a Docker container. Interoperable with any blockchain or traditional APIs. We’ve witnessed relatively complex systems built by engineers with no blockchain or cryptocurrency experience. We’ve also demonstrated the creation of smart contracts within minutes built with BASH shell and Node.js. Please see our source code and API documentation.

Scaling solutions should be extensible and allow third parties to build on top of it Open source and extensible
APIs should be well documented and stable

Documentation should be clear and complete
For full documentation, explore our docs, SDK’s, Github repo’s, architecture documents, original Disney documentation, and other links or resources provided in this proposal.

Third-party permissionless integrations should be possible & straightforward Smart contracts are Docker based, can be written in any language, use full language (not subsets), and can therefore be integrated with any system including traditional system APIs. Simple is better. Learning an uncommon or proprietary language should not be necessary.
Advanced knowledge of mathematics, cryptography, or L2 scaling should not be required. Compatibility with common utilities & toolchains is expected.
Dragonchain business nodes and smart contracts leverage Docker to allow the use of literally any language or executable code. No proprietary language is necessary. We’ve witnessed relatively complex systems built by engineers with no blockchain or cryptocurrency experience. We’ve also demonstrated the creation of smart contracts within minutes built with BASH shell and Node.js.

Bonus

Bonus Points: Show us how it works. Do you have an idea for a cool new use case for Community Points? Build it!

TIME

Community points could be awarded to Reddit users based upon TIME too, whereas the longer someone is part of a subreddit, the more community points someone naturally gained, even if not actively commenting or sharing new posts. A daily login could be required for these community points to be credited. This grants awards to readers too and incentivizes readers to create an account on Reddit if they browse the website often. This concept could also be leveraged to provide some level of reputation based upon duration and consistency of contribution to a community subreddit.

Dragon Den

Dragonchain has already built a social media platform that harnesses community involvement. Dragon Den is a decentralized community built on the Dragonchain blockchain platform. Dragon Den is Dragonchain’s answer to fake news, trolling, and censorship. It incentivizes the creation and evaluation of quality content within communities. It could be described as being a shareholder of a subreddit or Reddit in its entirety. The more your subreddit is thriving, the more rewarding it will be. Den is currently in a public beta and in active development, though the real token economy is not live yet. There are different tokens for various purposes. Two tokens are Lair Ownership Rights (LOR) and Lair Ownership Tokens (LOT). LOT is a non-fungible token for ownership of a specific Lair. LOT will only be created and converted from LOR.
Energy (NRG) and Matter (MTR) work jointly. Your MTR determines how much NRG you receive in a 24-hour period. Providing quality content, or evaluating content will earn MTR.

Security. Users have full ownership & control of their points.
All community points awarded based upon any type of activity or gift, are secured and provable to all Interchain networks (currently BTC, ETH, ETC). Users are free to spend and withdraw their points as they please, depending on the features Reddit wants to bring into production.

Balances and transactions cannot be forged, manipulated, or blocked by Reddit or anyone else
Users can withdraw their balance to their ERC20 wallet, directly through Reddit. Reddit can cover the fees on their behalf, or the user covers this with a portion of their balance.

Users should own their points and be able to get on-chain ERC20 tokens without permission from anyone else
Through our console users can withdraw their ERC20 rewards. This can be achieved on Reddit too. Here is a walkthrough of our console, though this does not show the quick withdrawal functionality, a user can withdraw at any time. https://www.youtube.com/watch?v=aNlTMxnfVHw

Points should be recoverable to on-chain ERC20 tokens even if all third-parties involved go offline
If necessary, signed transactions from the Reddit system (e.g. Reddit + Subreddit) can be sent to the Ethereum smart contract for minting.

A public, third-party review attesting to the soundness of the design should be available
To our knowledge, at least two large corporations, including a top 3 accounting firm, have conducted positive reviews. These reviews have never been made public, as Dragonchain did not pay or contract for these studies to be released.

Bonus points
Public, third-party implementation review available or in progress
See above

Compatibility with HSMs & hardware wallets
For the purpose of this proposal, all tokenization would be on the Ethereum network using standard token contracts and as such, would be able to leverage all hardware wallet and Ethereum ecosystem services.

Other Considerations

Minting/distributing tokens is not performed by Reddit directly
This operation can be automated by smart contract on Ethereum. Subreddits can if desired have a role to play.

One off point burning, as well as recurring, non-interactive point burning (for subreddit memberships) should be possible and scalable
This is possible and scalable with interaction between Dragonchain Reddit system and Ethereum token contract(s).

Fully open-source solutions are strongly preferred
Dragonchain is fully open source (see section on Disney release after conclusion).

Conclusion

Whether it is today, or in the future, we would like to work together to bring secure flexibility to the highest standards. It is our hope to be considered by Ethereum, Reddit, and other integrative solutions so we may further discuss the possibilities of implementation. In our public demonstration, 256 million transactions were handled in our operational network on chain in 24 hours, for the low cost of $25K, which if run today would cost $625. Dragonchain’s interoperable foundation provides the atmosphere necessary to implement a frictionless community points system. Thank you for your consideration of our proposal. We look forward to working with the community to make something great!

Disney Releases Blockchain Platform as Open Source

The team at Disney created the Disney Private Blockchain Platform. The system was a hybrid interoperable blockchain platform for ledgering and smart contract development geared toward solving problems with blockchain adoption and usability. All objective evaluation would consider the team’s output a success. We released a list of use cases that we explored in some capacity at Disney, and our input on blockchain standardization as part of our participation in the W3C Blockchain Community Group.
https://lists.w3.org/Archives/Public/public-blockchain/2016May/0052.html

Open Source

In 2016, Roets proposed to release the platform as open source to spread the technology outside of Disney, as others within the W3C group were interested in the solutions that had been created inside of Disney.
Following a long process, step by step, the team met requirements for release. Among the requirements, the team had to:
  • Obtain VP support and approval for the release
  • Verify ownership of the software to be released
  • Verify that no proprietary content would be released
  • Convince the organization that there was a value to the open source community
  • Convince the organization that there was a value to Disney
  • Offer the plan for ongoing maintenance of the project outside of Disney
  • Itemize competing projects
  • Verify no conflict of interest
  • Preferred license
  • Change the project name to not use the name Disney, any Disney character, or any other associated IP - proposed Dragonchain - approved
  • Obtain legal approval
  • Approval from corporate, parks, and other business units
  • Approval from multiple Disney patent groups Copyright holder defined by Disney (Disney Connected and Advanced Technologies)
  • Trademark searches conducted for the selected name Dragonchain
  • Obtain IT security approval
  • Manual review of OSS components conducted
  • OWASP Dependency and Vulnerability Check Conducted
  • Obtain technical (software) approval
  • Offer management, process, and financial plans for the maintenance of the project.
  • Meet list of items to be addressed before release
  • Remove all Disney project references and scripts
  • Create a public distribution list for email communications
  • Remove Roets’ direct and internal contact information
  • Create public Slack channel and move from Disney slack channels
  • Create proper labels for issue tracking
  • Rename internal private Github repository
  • Add informative description to Github page
  • Expand README.md with more specific information
  • Add information beyond current “Blockchains are Magic”
  • Add getting started sections and info on cloning/forking the project
  • Add installation details
  • Add uninstall process
  • Add unit, functional, and integration test information
  • Detail how to contribute and get involved
  • Describe the git workflow that the project will use
  • Move to public, non-Disney git repository (Github or Bitbucket)
  • Obtain Disney Open Source Committee approval for release
On top of meeting the above criteria, as part of the process, the maintainer of the project had to receive the codebase on their own personal email and create accounts for maintenance (e.g. Github) with non-Disney accounts. Given the fact that the project spanned multiple business units, Roets was individually responsible for its ongoing maintenance. Because of this, he proposed in the open source application to create a non-profit organization to hold the IP and maintain the project. This was approved by Disney.
The Disney Open Source Committee approved the application known as OSSRELEASE-10, and the code was released on October 2, 2016. Disney decided to not issue a press release.
Original OSSRELASE-10 document

Dragonchain Foundation

The Dragonchain Foundation was created on January 17, 2017. https://den.social/l/Dragonchain/24130078352e485d96d2125082151cf0/dragonchain-and-disney/
submitted by j0j0r0 to ethereum [link] [comments]

Public APIs to download historic Bitcoin candlestick data

Hi Everyone,
I've seen a lot of interest from people in this group to access historical Bitcoin candlestick data. To help everyone out, we've made all of our candlestick data public. That means you can access everything we have here:
https://developers.shrimpy.io/docs/#get-candles
You don't need to sign up for an account or anything. The data is completely public for use. Just call the endpoint in your browser to test like this:
https://dev-api.shrimpy.io/v1/exchanges/binance/candles?quoteTradingSymbol=USDT&baseTradingSymbol=BTC&interval=1H
Try a few different pairs, exchanges, and candlestick sizes - I think you will find it pretty exciting! You can of course plot this data as well. We have some examples of how to plot candlestick data here.
I'm happy to answer any questions if you have some. Looking forward to hearing your feedback!
We also have endpoints for live order book snapshots, market data, trade websockets, and more. You can find our full guide on how to make a crypto trading bot (with all these different data endpoints) here.
submitted by ShrimpyApp to CryptoCurrency [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]

WaykiChain (WICC) Monthly Report (September 2020)

WaykiChain (WICC) Monthly Report (September 2020)

https://preview.redd.it/nnuhfz6q01t51.png?width=700&format=png&auto=webp&s=15ce35581f2ebad02af140180f5a8b1fe7931f00
Technology & Products
Public Chain Development
· WASM AMPL contract debugging (100%)
· Research on WASM zero-knowledge proof anonymous transfer (50%)
· WASM Sushi contract coding (100%)
· WASM RPC iOS asynchronous library commissioning (100%)
· Verification of the signature push public key algorithm and testing its codability (C++, go) through RPC (100%)
· The new lock-up airdrop contract function: lock-up users can claim the unlocked assets by entering RegID (100%)
· Porting ASWAP contract to public chain 3.0, adding platform fee processing (100%)
· Optimization of Yield Farming contract reward distribution (100%)
· Optimization of Yield Farming contract penalty distribution mechanism (100%)
· Yield Farming contract testing (100%)
· Deployment and initial configuration of WICC and WGRT yield farming contracts and Wayki-X contract completed (100%)
· Ownership of issuance and transfer rights of the bottom-level token ROG transferred to Wayki-X contract (100%)
· The initial generation of ROG completed. 10.08M ROG entered the WICC pool, 2.52M ROG entered the WGRT pool (100%)
· The first 189,000 ROG was minted in Wayki-X contract for rewards by inflation (12.6M × 1.5%) (100%)
· Transfer of 70,000 ROG to AEX for Ecosystem Yield Farming completed (100%)
· WASM developer documentation: added detailed WASM table (Simplified Chinese) (100%)
· WASM developer documentation: added call of multiple contracts and multisignature transactions in WASM contract (Simplified Chinese) (100%)
Application Development
· Yield Farming back end API (100%)
· Yield Farming front end page optimization (100%)
· Yield Farming front end localization (100%)
· Yield Farming pre-release initial API docking (100%)
· Yield Farming application testing (100%)
· Yield Farming application release (100%)
· xUSD & ROG added to Instant in WaykiTimes Android (100%)
· Memory leak issue fixed in Instant in WaykiTimes (100%)
· Data loading error when swiping in Discover fixed in WaykiTimes (100%)
· Data display optimized in Getting Started in WaykiTimes
· UI debugging of several pages in WaykiTimes (100%)
· WaykiTimes 3.0.4 released (100%)
· WaykiTimes Help Center released (100%)
· WaykiTimes Getting Started released (100%)
· WaykiTimes remember password function released (100%)
· WaykiTimes iOS App Store version tested (100%)
· Google crash analysis and testing added to WaykiTimes Android (100%)
· Solved the data loading issue when swiping in Wayki-X Synths (100%)
· Wayki-X price feed delay fixed (100%)
· Amount issue in the plug-in wallet fixed (100%)
· Display error of release contract type of universal transactions fixed on the blockchain explorer (100%)
· WASM contract display specifications for the blockchain explorer completed (100%)
· Development of the Coinbase integration project (wicc-rosetta-api) (85%)
Plan for October
Public Chain Development
· Research on WASM zero-knowledge proof anonymous transfer
· Correction of ASWAP contract proof of liquidity token generation rules
· ASWAP contract testing
· Docking of ASWAP contract with third parties
· Continuous updating of coind RPC interface documentation
Application Development
· Trade — transaction details HTML5 page to native page transfer in WaykiTimes
· Development of the Coinbase integration project (wicc-rosetta-api)
Market
International Market
· On September 4, Russian volunteers opened the second WaykiChain Russian group in Telegram: https://t.me/waykichainrussian.
· On September 6, WaykiChain opened the official community in Discord: https://discord.gg/XyAkqa.
· On September 6, WaykiChain CTO Richard Chen was invited to the Blockchain + Innovative Service and Industrial Application Conference and the China Chamber of International Commerce Blockchain Innovation Service Industry Committee Establishment Conference as a member of the expert group.
· On September 11, the famous US blockchain TV program Exploring the Block tweeted about WaykiChain, showing it is optimistic about the future development of the integrated DeFi ecology of WaykiChain.
· On September 11, the famous business platform Yahoo Finance released WaykiChain project information and announced that WaykiChain CEO Gordon Gao gives an interview to NASDAQ MarketSite’s Jane King on September 12.
· At 7:00 PM EDT on September 12, world’s largest financial channel Bloomberg TV reported that WaykiChain CEO Gordon Gao was interviewed by Jane King of NASDAQ MarketSite. The interview aired on Fox Business Network at 10:30 PM EDT on September 14.
· On September 12, cryptocurrency Twitter account Crypto Catalog tweeted about WaykiChain, showing it is optimistic about the future development of the integrated DeFi ecology of WaykiChain.
· On September 13, DeFi List added WaykiChain governance token WGRT.
· On September 13, WaykiChain reached market cooperation with the Indian blockchain influencer Gmadvice who started to serve as WaykiChain community manager in India.
· On September 16, WaykiChain released “WaykiChain Launches Phoenix Yield Farming with WICC/WGRT Dual-pool for ROG Genesis Issuance” on Twitter. Up to September 21, the news hit 2,400+ retweets.
· On September 17, the cryptocurrency influencer DeFi List retweeted “WaykiChain Launches Phoenix Yield Farming with WICC/WGRT Dual-pool for ROG Genesis Issuance”.
· On September 18, WaykiChain reached strategic market cooperation with the Korean crypto influencer Pantera who will help WaykiChain establish a broad and strong consensus in Korea.
· On September 19, “WaykiChain Dual-pool ROG Yield Farming Korean Group” community established.
· On September 20, the influencer Crypto Wendy retweeted “WaykiChain Launches Phoenix Yield Farming with WICC/WGRT Dual-pool for ROG Genesis Issuance”.
· On September 21, 130+ Korean media outlets published “WaykiChain Launches Phoenix Yield Farming with WICC & WGRT Dual-pool for ROG Genesis Issuance”.
· On September 23, WaykiChain co-founder and CEO Gordon Gao was invited to an AMA session with ICO Pantera Group, Korea’s top Telegram group (stats by u/combot), where he shared his insights into DeFi with 4,000+ Korean users and introduced WaykiChain’s ROG Genesis Yield Farming.
· On September 24, WaykiChain tweeted “ROG Genesis Yield Farming FAQ” and “Leave your question/problem toward WaykiTimes/Wayki-X/ROG Genesis Yield Farming in the Google forms below to share 800 WICC Giveaway!”, the number of engagements is 1,500+.
· On September 24, WaykiChain global partner Vincent Lionheart was invited to an AMA session to D’va Community.
· On September 24, The Business Telegraph, Bitcoin Garden, and other media published “WaykiChain Launches Phoenix Yield Farming with WICC & WGRT Dual-pool”.
· On September 24, WaykiChain tweeted the ROG Genesis Yield Farming Countdown. The news hit 1,000+ retweets.
· On September 25, ROG Genesis Yield Farming news was the day’s hit in Korea with 5,000+ views on Korean cryptocurrency forums.
National Market
· On September 1, CoinTiger listed WaykiChain governance token WGRT and opened the WGRT/USDT pair. WGRT net buy & hold competition started and the CoinTiger community joined a series of WGRT-themed challenges.
· On September 1, WaykiChain governance token WGRT successfully mapped to Ethereum and ERC-20 WGRT was created. The world’s largest DEX Uniswap officially supported it and listed the WGRT/USDT pair.
· On September 2, WaykiChain Strategic Analyst Jing Tao gave the speech “WGRT Dragon, Fly, Tiger, and Leap: Community Governance Upstart” to the MXC community and distributed 3 gold bars to the event participants.
· On September 7, WaykiChain Strategy Analyst Jing Tao attended [This Is Coin Coffee] live DeFi contest co-sponsored by Coinka, fogwu.com, and tuoniaox.com. WEDEX founder & CEO, Loopring co-founder Chen Xiaoliang and ChainNews Research Director Pan Zhixiong joined the event.
· On September 9, Gate.io selected WaykiChain governance token WGRT for the Listing Vote. Each voter had a chance to share an airdrop of 420,875.43 WGRT. WGRT passed the voting with 53,293,775 votes and was successfully listed on Gate.io.
· On September 10, WGRT/USDT trading pair and WGRT withdrawals opened on Gate.io.
· On September 10, WaykiChain released WaykiChain Governance Token WGRT Information and Addresses. The team announced that before July 1, 2021, WGRT circulating supply will be strictly controlled at 10% of the total supply, or 2.1 billion.
· On September 9 to 11, WaykiChain was invited to IoT World China & 5G China along with 400+ exhibitors including Huawei, Baidu, and Tencent. WaykiChain demonstrated the integrated public chain DeFi ecosystem that will help China’s digital construction.
· On September 11, WaykiChain Strategy Analyst Jing Tao was invited to the Bepal community and shared the speech “WaykiChain Governance Token WGRT: Accumulation and Breakout”. WaykiChain airdropped 3,000 WGRT and cash red envelopes to the Bepal community members.
· On September 12, WaykiChain Technology & Development Manager Yuanhang Xiao and Strategy Analyst Jing Tao introduced [New WaykiChain DeFi Product: Decentralized Synthetic Asset Issuance Protocol Wayki-X] in the official WaykiChain yizhibo account. During the live broadcast, WaykiChain distributed pure gold bars and branded gifts to lucky users.
· On September 13, WaykiChain co-founder & CEO Gordon Gao and Overseas Director Qiyuan Mei shared the speech “WaykiChain Opens the Era of Integrated DeFi Public Chains” in the Gate.io live broadcast room. Gate.io CPO Jiuer was the broadcast host. The guests explained WaykiChain’s DeFi strategy and revealed the launch of Yield Farming.
· On September 15, WaykiChain CEO Gordon Gao and BTC38 co-founder Tianwei Huang held the live stream titled “Eight Questions to Explain DeFi Trends and Opportunities” in yizhibo. The hosts analyzed the status and trends of DeFi, discussed DeFi deployment by public chains and exchanges, and new opportunities in synthetic asset trading. WaykiChain distributed pure gold bars and branded gifts to lucky viewers of the stream.
· On September 16, WaykiChain Strategy Analyst Jing Tao shared the speech titled “WaykiChain’s Integrated DeFi Ecosystem Layout” as the guest of btcmoney.cc.
· On September 18, Bying community invited WaykiChain Strategy Analyst Jing Tao to share the speech “New DeFi Opportunity: Phoenix Yield Farming”. WaykiChain held a WICC airdrop for Bying community members.
· On September 18, WaykiChain published the article “No Pre-mining, ICO, or Reserve! WaykiChain Launches Dual-pool Phoenix Yield Farming”.
· On September 19, WaykiChain published the article “Chapter 1. The Financial Innovation of Blockchain Reformation. The Origin, Logic, and Value of WaykiChain ROG” introducing the background of ROG, the operation mechanism of the decentralized synthetic asset system Wayki-X, and the value foundation of ROG in detail.
· On September 23, “No Pre-mining, ICO, or Reserve! WaykiChain ROG Genesis Farming and Early Release Guide” was released across Chinese media.
· On September 24, WaykiChain CEO Gordon Gao, CTO Richard Chen, and CPO Xi Zhang held a joint live stream on yizhibo explaining the future planning of WaykiChain decentralized synthetic asset issuance protocol Wayki-X, ROG, and WaykiChain DeFi in terms of business model, technology, and products. WaykiChain distributed 1 pure gold bar and 6 branded gifts to the lucky stream viewers.
· On September 24, Gate.io and WaykiChain launched the WGRT Investment Competition. The prizes are a BMW G 310 R motorcycle, a 13” MacBook Pro, a 10.2” iPad, 17 pure gold bars and 99,000 WGRT.
· On September 25, various Chinese media released “Wayki-X 101: WaykiChain Decentralized Synthetic Asset Protocol” introducing the functions and mechanism of the decentralized synthetic asset issuance protocol Wayki-X and the value of its token ROG in detail.
· On September 25, WaykiChain launched the “Looking for the Genesis Prophet” community event. The winners received 10 branded gifts.
· On September 25, WaykiChain ROG Genesis Yield Farming launched. WICC and WGRT pool quotas (5 million and 25 million, respectively) were full within just one hour.
· On September 25, WaykiChain reached ecosystem partnership with AEX. AEX became the first platform to join ROG Ecosystem Yield Farming.
· On September 25, WaykiChain partnered with Bying wallet. ROG Genesis Yield Farming is available in Bying wallet.
· On September 26, ROG, the main token of WaykiChain’s decentralized synthetic asset issuance protocol Wayki-X, was listed on AEX. ROG/USDT trading pair is available.
· On September 26, WaykiChain CEO Gordon Gao gave lectures “DeFi Financial Principles and Commercial Applications” and “DeFi Industry Panoramic Scan” at The First Offline Practical Training Camp of Hash Power University, Shanghai Station. Participants included Ontology founder Jun Li, Chainlink Labs — China Head Philip Fei, Digital Renaissance Foundation Managing Director Cao Yin, and Waterdrip Capital founding partner Zheng Yushan.
· On September 28, WaykiChain co-founder and CEO Gordon Gao was a guest at Hash Power Knowledge Base Private Meeting, Shenzhen Station where he shared the speech titled “Feasible Ways of DeFi Application Popularization”. Other guests included Ontology founder Jun Li, DeBank founder and CEO Tang Hongbo, and Huobi Research Chief Technical Researcher Tianyuan Ma.
submitted by Waykichain to WICCProject [link] [comments]

Bitcoin Price Notifier

I have written a very simple bitcoin notifier script. Every minute (or time you chose) the script will look up the live price of bitcoin and tell you if it is up or down, by how much, and read out the price via computer voice. You can just leave it running and minimize the window.
https://www.millersecurityresearch.com/articles/Lets_Code_Bitcoin_Price_Notifier.php
Edit: A lot of people wanted it to play You Suffer from Napalm Death... so if the price drops more that 25$ it will now play.
Here you go:
Add-Type -AssemblyName System.Speech $Voice = New-Object System.Speech.Synthesis.SpeechSynthesizer $Napalm = "https://millersecurityresearch.com/files/scripts/sounds/Napalm%20Death%20-%20You%20Suffer.mp3" $Path = $Env:Temp + "\Napalm Death - You Suffer.mp3" $Webclient = New-Object System.Net.WebClient $Webclient.DownloadFile($Napalm, $Path) Add-Type -AssemblyName presentationCore $MediaPlayer = New-Object system.windows.media.mediaplayer $MediaPlayer.open($Path) $Response = Invoke-WebRequest -URI "https://api.coindesk.com/v1/bpi/currentprice.json" | ConvertFrom-Json $StartingRate = $Response.bpi.USD.rate Write-Host "Starting BTC: $StartingRate" While (0 -lt 1){ Start-Sleep -Seconds 600 $Response = Invoke-WebRequest -URI "https://api.coindesk.com/v1/bpi/currentprice.json" | ConvertFrom-Json $CurrentRate = $Response.bpi.USD.rate If($StartingRate -gt $CurrentRate){ $Difference = $StartingRate - $CurrentRate If($Difference -gt 25){ $MediaPlayer.Play() Start-Sleep -Seconds 2 } $Voiceoutput = "Bitcoin Down by " + $Difference + " Dollars to " + $CurrentRate -replace ".{5}$" $Voice.Speak($Voiceoutput) Write-Host "Current BTC: $CurrentRate - Down" } If($StartingRate -lt $CurrentRate){ $Difference = $StartingRate - $CurrentRate $Voiceoutput = "Bitcoin Up by" + $Difference + " Dollars to " + $CurrentRate -replace ".{5}$" $Voice.Speak($Voiceoutput) Write-Host "Current BTC: $CurrentRate - Up" } If($StartingRate -eq $CurrentRate){ $VoicedRate = $CurrentRate -replace ".{5}$" $Voiceoutput = "Bitcoin same at " + $VoicedRate + " Dollars" $Voice.Speak($Voiceoutput) Write-Host "Current BTC: $CurrentRate" } $StartingRate = $CurrentRate } 

submitted by coldmateplus to PowerShell [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]

Swipe Bi-Weekly Update #6

Swipe Bi-Weekly Update #6

https://preview.redd.it/n5pkxql0crh51.jpg?width=1280&format=pjpg&auto=webp&s=959d7b4051bd1c20b53cfc28ee1c4cbdd355382e
Swipe opened the month of August with the launch of its Swipe Network Staking and its announcement to run a Decentralized Finance Lending/Earn application on Binance Smart Chain. This was also followed by the plan to release product updates, events, listings, or partnerships every week until the end of 2020.
Bringing their promise and commitment true to the public, here are the activities that Swipe has released for the past two weeks:

https://preview.redd.it/5ztwd3p3crh51.jpg?width=1280&format=pjpg&auto=webp&s=a5305d9e040318cfe9e3da0a3a721c88cbaf80ae
Swipe Launches Staking/DeFi
Swipe has recently launched its test network for Swipe Network Testnet Staking and, at the same time, announced its plans to launch a Decentralized Finance Lending/Earn application on Binance Smart Chain.
With the launch of the Swipe Network testnet, users can use the Swipe Faucet to grab testnet-SXP to use on the decentralized finance application. Users will be able to bond SXP to the Swipe Network smart contract as collateral to ensure the guarantee of conversions for these exchanges. A reserve system in place to lock SXP and guarantee that the merchant and payment networks receive the exact fiat amount is in place as Swipe facilitates real-time conversions on-demand.
Users will receive up 12% APY on their staked SXP within the Swipe Network off-chain and a variable rate for on-chain. Swipe plans to enable staked SXP to earn the processing fees it charges in the future as well on top of the collateral rewards from staking.
Also, Swipe revealed its plans to launch a DeFi App on Binance Chain called SwipeFi, which will enable Binance Chain tokens to be used to earn interest on their supply of collateral to the protocol and borrow against their collateral directly on the Binance blockchain.
Swipe (SXP) Trading Competition
Last August 5 to 12, Swipe and Binance team have both committed a total of 100,000 SXP and 50,000 USDT in prizes to thank its users worldwide for their continued support and to also celebrate the Swipe acquisition and SXP/USDT listing in Futures, Margin and Spot markets. The contest was divided into three categories: a new user exclusive rewards, a trading competition, and the Lucky 99, which awarded users ranked 99th, 199th, 299th, 399th, and so forth until the 9999th place of the top 10,000 SXP traders based on their trading volume.
Swipe x WBTC
Swipe has partnered with WBTC Network and has officially been approved as a merchant for WBTC minting through the WBTC Network’s DAO Governance process. Swipe Wallet users will be able to benefit from instantly wrapping Bitcoin BTC to Wrapped Bitcoin (WBTC) and vice versa with just a few clicks. Swipe has also listed WBTC on the Swipe Wallet platform and Swipe Visa Card to enable users to buy, sell, exchange, and spend WBTC at over 60 million merchants worldwide.
SXP on CoinDCX
SXP, the native token of Swipe, is now listed and live on its second Indian Exchange CoinDCX. Trading for $SXP token is now live for CoinDCX users who wish to trade SXP/BTC and SXP/USDT.
CoinDCX trading links for SXP:
https://coindcx.com/trade/SXPBTC & https://coindcx.com/trade/SXPUSDT
Wazirx AMA Session
Swipe Chief Executive Officer (CEO) Joselito Lizarondo, held an AMA session with the Telegram community of Wazirx, a bitcoin exchange in India, last August 7. In the AMA session, Lizarondo answered questions about Swipe, Swipe Card, its new partnership with Binance, and the recent projects that the company has announced. The community also asked if Swipe is planning to bring its card services to India as it is one of the biggest crypto market countries at present.
To read the whole summary of the AMA visit:
https://blog.wazirx.com/ama-with-joselito-lizarondo-ceo-founder-of-swipe-summary/
New Swipe Product Manual
Swipe has released a new “redefined” white paper under the title: Swipe Product Manual. The Swipe Product Manual was designed with simplicity in mind for easy and coherent descriptions of the Swipe ecosystem of products. This will describe all of Swipe’s current and future products that the team has planned. Technical descriptions and documentation will be made available, as required, per protocol, as some will have API access for developers.
The Swipe Product Manual can be viewed by clicking here or by going to https://sw.pe/ProductManual or downloading https://swipe.io/ProductManual.pdf to your desktop.
Swipe 0% Fees
Starting Monday, August 17, Swipe Wallet and Swipe Card users will no longer have to pay any fees to buy, sell, and pay with crypto. Users can now purchase, sell, and convert cryptocurrencies to and from fiat currencies without the previous 1% fee. Swipe cardholders will also enjoy waived membership fees and free card shipping.
Swipe Staking
As Swipe prepares to launch the Swipe Network Staking mainnet, the Swipe Wallet application will support SXP staking. Users will enjoy staking rewards based on their SXP balances that are held on the Swipe Wallet beginning on August 23, 00:00 UTC.
More details of the staking can be viewed at:
https://medium.com/swipe/swipe-wallet-to-support-sxp-staking-acfab4589813
Swipe Reddit AMA
In his first blog post on Medium, Swipe CEO Joselito Lizarondo answered the questions that the Reddit community asked regarding Swipe’s activities and plans for the future. He talked about the new partnership programs of Swipe, its newly released “Product Manual,” and the new roadmap, which will be kept in stealth “to focus on bringing maximum value to these announcements and products.”
Read the whole transcript of Joselito Lizarondo’s AMA here:
https://medium.com/swipe/swipe-reddit-ama-8-13-80690e2f6589
Swipe and Kava Partnership
Swipe has formed a strategic partnership with Kava Labs to further grow the USDX DeFi Ecosystem as Swipe prepares to bring decentralized finance applications to the Binance Smart Chain. Swipe has also listed KAVA and USDX on the Swipe Wallet platform where users can buy and sell KAVA and USDX with a linked bank account or credit/debit card as well as enabled it to be converted and spent at over 60 million merchants worldwide with the Swipe Visa Card.
$16M+ Ecosystem Rewards Program for BNB Holders on Binance
Swipe is launching a 12-week-period $16,000,000 Ecosystem Rewards Program for BNB holders, starting August 17. This program aims to continue to promote the usage of Swipe products, including the Swipe Network Staking and Governance within a strong community. With Swipe’s partnership with Binance, a weekly distribution of 333,333.33 SXP will run to BNB holders on Binance.com.
Know more about the Rewards Program here:
https://medium.com/swipe/swipe-launches-16m-ecosystem-rewards-program-for-bnb-holders-on-binance-e79ffc9dc252
Swipe’s Chainlink Based Price Oracles Now Live
Swipe has collaborated with Chainlink, the market-leading decentralized oracle network, to launch a live SXP-USD price oracle on the Ethereum mainnet. By switching to Chainlink, users receive stronger guarantees around trust and transparency in the payments process, as critical price feeds for the network are now completely decentralized and available to monitor on the blockchain.
This decentralized infrastructure ensures that reward issuances and token burns only take place based on accurate, highly available, and tamper-proof on-chain prices that have no single point of failure or absolute truth. Users can independently verify the current price, how price updates occur, which nodes are providing data to the network, and more. This means users no longer need to rely on Swipe to produce fair conversion rates.
---
Stay up-to-date with all the latest news from Swipe
Website: https://swipe.io
Twitter: https://twitter.com/SwipeWallet
Facebook: https://facebook.com/Swipe
Instagram: https://instagram.com/Swipe
Medium: https://medium.com/Swipe
Telegram: https://t.me/SwipeWallet & https://t.me/Swipe
LinkedIn: https://www.linkedin.com/company/swipewallet
YouTube: https://youtube.com/SwipeWallet
submitted by SwipeWallet to Swipe_io [link] [comments]

A Closer Look at Ripple's Distribution of XRP

I consider myself to be an informed member of the XRP community. I have a Twitter feed of all the prominent personalities/researchers to keep tabs on the news. I watch the metrics on utility-scan.com daily and even wrote a calculator to help understand what ODL is doing over time. I regularly check in on global metrics like volume, wallet openings, and the distribution of XRP within wallets.
Up until recently, if you asked me to explain how XRP is distributed out to the public, I would point you to two resources. The first is an article on XRPArcade explaining how Jed McCaleb's XRP sales are structured (not the topic of this post). The other place would be the XRP Markets Reports provided quarterly by Ripple. There you would understand that for the past year Ripple has increasingly slowed the sales of XRP and only is selling in small amounts to facilitate liquidity in markets. Based on this data, I've seen discussions on /cryptocurrency and elsewhere claiming that XRP's inflation rate is lower than Bitcoins and is near 0. Based on publicly provided data I've realized that this is not the case. XRP's distribution rate is very different than the impression painted by the XRP Markets Reports.
TLDR; Ripple is trying to paint a narrative that very little XRP is entering the market. In reality sales of XRP are very low, but XRP entering circulation remains much higher from an inflationary perspective and that rate has remained relatively unchanged from 2016 onward.
Before I dive into the data, I'd like to take a brief pause and state that in no way am I writing this to be FUD. Clear and accurate data is extremely important to me. Much of the recent community conversation has revolved around hopium and dot connecting that is unverified. It's a public ledger, but most people don't take the time to track the numbers. I'm hoping to shed more light on these important factors since there is no doubt that XRP's rate of distribution can effect the price. Ok, soapbox over.
I first was clued in that something was off while listening to a SamIAm video here. Basically Sam is calling out Ripple over their Q1 Markets Report because they didn't mention around $18 million of XRP paid to MoneyGram. Now technically this isn't a sale of XRP, but it's convenient to leave out and we would only know that this was happening because the SEC forced MoneyGram to report it on their Quarterly Investor Report.
Next I was scratching my head over a data discrepancy. Tether flipped XRP on LiveCoinWatch weeks before the other tracking sites like CoinGecko and CoinMarketCap. Upon closer inspection I realized that all these sites retrieve the XRP circulating supply from a single API call and LiveCoinWatch had coded their site incorrectly. They were pulling the XRP numbers from last year.
The API is here and anyone can checkout the data: https://data.ripple.com/v2/network/xrp_distribution. I believe that there is a companion private API Ripple uses to power their pie chart here: https://ripple.com/xrp/market-performance. Notice that the market performance (at the time of this posting) is for May 17th while the public API only goes to April. I don't know why Ripple hasn't updated the public API in a month. Since the public API has a history of postings you can go back and track the "distributed" tag all the way back to the middle of 2016. Here's what I found.
XRP Released into Circulation Yearly Inflationary Rate
2016 (starts mid year) 1,229,851,071 3.5%
2017 2,667,133,033 7.34%
2018 2,035,094,018 5.22%
2019 2,325,833,516 5.67%
2020 (May 1st) 773,689,933 1.78%
2020 End (at current rate) 2,321,069,799 5.35%
The 2016 data starts halfway through the year, so you can make an educated backfill guess for that year's number as well. Ripple has been distributing between 2 and 2.6 billion XRP a year with 2017 being a the high watermark. Interestingly the number distributed in 2019 is not that much different in spite of Ripple touting significantly reduced sales for almost the whole year.
So lets talk about the term "XRP Distributed" versus "XRP Sales" obviously Ripple is providing the data for both stats, but they only talk about sales in the markets reports. Distribution is a much wider term. It can include things like "Business Development" like MoneyGram discussed above. It could be compensation incentives given to Ripple employees. Xpring is known to fund investments using XRP. All of these items aren't reported because they are not sales. Even with some generous guesses to the above categories, I have no idea what Ripple is really doing with the XRP in 2020 if they're not selling it. Even factoring in about 90 million XRP given to MoneyGram, there's still a significant amount distributed and I would love some opinions on what they think Ripple is doing with this XRP.
Some takeaways for me:
submitted by RetirePerspired to Ripple [link] [comments]

€180/£135 in Free Cash/Bitcoin plus Up to 22% Interest Annually on Crypto - Signup for Crypto.com, BlockFi, Celsius Network, Gemini, Liquid, Binance, Crypterium, Coinbase, Travala, Airbnb, Transferwise - Money, Crypto, and Travel Apps for UK/Europe

€180/£135 in Free Cash/Bitcoin plus Up to 22% Interest Annually on Crypto - Signup for Crypto.com, BlockFi, Celsius Network, Gemini, Liquid, Binance, Crypterium, Coinbase, Travala, Airbnb, Transferwise - Money, Crypto, and Travel Apps for UK/Europe
If you live outside the US like in Europe and Asia, here's a list of promo codes and referrals to receive €180/£135+ in free cash/Bitcoin bonuses when you sign up for BlockFi, Gemini, Celsius Network, Crypto.com, Liquid, Binance, Crypterium, Coinbase, Travala, Transferwise, and Airbnb using the following promo and referral codes and links. In addition, you can earn up to 22% interest annually on the crypto you deposit like Bitcoin, Ethereum, TGBP, USD, and Tether Gold.
Crypto.com is offering $50 free cash bonus, BlockFi is offering $10 in free Bitcoin, Celsius Network is offering $40 in free Bitcoin, Gemini is offering $10 in free Bitcoin, Travala is offering €45/£40 cash back after your first hotel booking, and Airbnb is offering €43/£37 off towards your first trip. Plus additional bonuses with crypto services Liquid, Binance, Crypterium and Coinbase.
More details below! Be sure to use the referral links to get each bonus and thank you!

Crypto.com ($50 Cash Bonus + Up to 16% APY Interest)

Get $50 free cash bonus when you signup and open a Crypto.com account (https://platinum.crypto.com/bcsbb2r465) or use referral code bcsbb2r465 during registration. After you buy and hold 1000 CRO (Crypto.com) tokens, the $50 cash bonus is unlocked to your wallet to spend with your free MCO Visa prepaid card which earns up to 5% cashback on all purchases with free Netflix, Spotify or Amazon Prime membership!
Crypto.com is the best place to buy and sell cryptocurrency with fees as low as 0.10%. Plus you'll earn up to 8% interest per year on the cryptos you deposit into your Crypto.com account like Bitcoin, Ethereum, Litecoin, Binance Coin, and PAX Gold. You'll earn up to 16% interest per year on stablecoin deposits like USDT, USDC, DAI, PAX, GUSD and TGBP. Interest is paid weekly!
You can buy 1000 CRO (Crypto.com) tokens via the Crypto.com app with bank transfer, credit card or crypto like Bitcoin. 1000 CRO will cost between $140 to $180 depending on the price of CRO tokens. The 1000 CRO tokens will be locked up for 6 months.
Visit https://platinum.crypto.com/bcsbb2r465 or download the Crypto.com app for iOS or Android and use my referral code bcsbb2r465 during registration to get your instant $50 cash bonus.

BlockFi ($10 in Free Bitcoin + Earn up to 8.6% Per Year on Crypto Deposits)

Sign up for BlockFi (https://blockfi.com/?ref=c316afd8) and receive $10 in free Bitcoin bonus when you deposit $100 or more in crypto and maintain the qualifying balance until the following interest payment day. The bonus is deposited on your first monthly interest payment. Do not withdraw from your balance or you WILL LOSE the Bitcoin bonus payment. Just wait until you receive your Bitcoin bonus then you can withdraw from your account.
This promotional $10 Bitcoin bonus is available to all customers globally!
Plus you'll earn up to 8.6% per year on the cryptos you deposit into your BlockFi account like Bitcoin, Ethereum, Litecoin, PAX, GUSD and USDC. Interest is compounded monthly and paid out on the 1st of every month.
You can download the iOS app (https://apps.apple.com/us/app/blockfi/id1506274532) or Android app (https://play.google.com/store/apps/details?id=com.blockfi.mobile). Be sure to use referral code c316afd8 during signup to get your $10 Bitcoin bonus after initial $100 or more deposit.
BlockFi supports bank wire transfers and deposits via crypto. If you want to buy crypto and deposit on BlockFi, you will need to use Coinbase, Gemini, Crypto.com, Liquid or Binance to link your bank account to buy crypto and transfer to BlockFi.
In addition to earning interest on your crypto deposits, BlockFi allows you to exchange cryptos like BTC for Ethereum and take out a loan without selling your crypto.
BlockFi is available to all customers globally including in all 50 US states! BlockFi is a licensed and regulated company in the United States.
Remember to sign up at https://blockfi.com/?ref=c316afd8 to get your $10 in free Bitcoin bonus.
Thank you!

Celsius Network ($40 in Bitcoin Bonus + Up to 22% APY Interest)

Sign up on Celsius Network (https://celsiusnetwork.app.link/1891962be1) and you'll get $20 in free Bitcoin (BTC) after first deposit of $200 or more in crypto (like Bitcoin, Ripple, Ethereum, USDT, USDC) within 30 days! In addition, there are additional promotional codes that you can input into the app after you complete the registration and KYC process which will earn you an additional $20 in free Bitcoin after additional deposits totaling $200 or more. You'll earn a total of $40 in free Bitcoin bonuses!
You'll also earn up to 22% APY interest on all the cryptos you deposit including BTC, ETH, BCH, LTC, XRP, XLM, Tether Gold, and USD stablecoin (like USDC, USDT, DAI, PAX) with no fees to deposit or withdrawal!
After you make your initial $200 or more in crypto deposit to get $20 in free Bitcoin, enter the following promo codes in the app to earn additional $20 more free Bitcoin:
  • SUMMER - Get $20 free in BTC after depositing $200+ and holding it for 30 days with each promo code
DO NOT WITHDRAW any crypto from your account for 30 days OR YOU WILL LOSE the bonuses. Wait until all bonuses are unlocked (after 30 days) if you wish to withdraw your crypto.
I love Celsius because interest is paid out every Monday! Your free Bitcoin is locked for 30 days after your initial deposit and available to withdrawal after 30 days. You cannot withdraw any funds deposited for 30 days or else you will lose the Bitcoin bonus!
At the moment you can't link a bank account to deposit cash to your Celsius Network account so you'll need to use Coinbase, Crypto.com, Liquid, Binance or Gemini to buy crypto like Bitcoin or USDC and transfer to your Celsius account. Then transfer back to cash out and back to your bank.
Remember to use my Celsius Network referral link - https://celsiusnetwork.app.link/1891962be1 or use promo code 1891962be1 during registration.
In summary, you will earn a total of $40 in free Bitcoin after depositing at least $400+ in crypto into your Celsius Network account within 30 days.
If you want to buy more CEL token (Celsius Network token) to earn higher interest on your crypto deposits, signup for Liquid crypto trading platform to buy or sell and earn 10% back on all trading fees - https://www.liquid.com/sign-up/?affiliate=InZmUQNE727430
Thank you!

Gemini ($10 in Bitcoin Bonus)

Get $10 in free Bitcoin when you signup for Gemini, a US-based regulated and licensed cryptocurrency exchange. This offer is available to NEW USERS ONLY residing in the United States, United Kingdom, Canada, Hong Kong, Singapore, and South Korea.
Follow these steps:
  1. Sign up for a Gemini account with my referral link at https://gemini.com/share/mllyldt7 (new users only)
  2. Verify your identity
  3. Transfer money into your account (like Revolut)
  4. Buy or Sell 100 USD of any crypto within 30 days of opening an account and Gemini will deposit your bonus of $10 worth of Bitcoin within a day.
After you receive your free $10 of Bitcoin, you can sell your cryptos and transfer the cash back to your bank! Gemini also allows you to transfer any crypto to an external wallet for free with no withdrawal fees.
Gemini is regulated by the New York State Department of Financial Services (NYSDFS) and was founded in 2014 by Cameron and Tyler Winklevoss.
Thank you!

Liquid (Earn 10% Back on All Crypto Trades)

Sign up for Liquid (https://www.liquid.com/sign-up/?affiliate=InZmUQNE727430), the world's most comprehensive and secure cryptocurrency trading platform, and earn 10% back on all trading fees paid on your cryptocurrency trades like Bitcoin, Ethereum, Bitcoin Cash, and XRP including Celsius (CEL) and Crypterium (CRPT) tokens. Liquid offers trading fees as low as 0%.
Plus you can deposit fiat/cash via bank transfer to your Liquid account in currencies like USD, EUR, SGD, AUD, PHP and HKD.
Liquid is NOT available to users in United States of America and Japan.
To earn 10% back on all crypto trading fees, sign up at https://www.liquid.com/sign-up/?affiliate=InZmUQNE727430 or use referral code InZmUQNE727430 during registration.
If you would like to earn additional signup bonuses with the Celsius (free $10 in Bitcoin after $200+ crypto deposit) and Crypterium (free $5 bonus after $60 or more in crypto trades) wallet apps, visit https://celsiusnetwork.app.link/1891962be1 and https://crypterium.app.link/DU5iX9vsDY
Thank you!

Binance (Earn 5% Back on All Crypto Trades)

Sign up for Binance, the world's leading cryptocurrency exchange platform, and earn 5% back on commission paid on all your cryptocurrency trades like Bitcoin, Ethereum, Bitcoin Cash, and Binance Coin. Binance has trading fees as low as 0.015% and you can purchase crypto via bank transfer, credit card and debit card.
Enjoy free SEPA and Faster Payments bank transfers to your Binance account plus reduced €1 or £1 withdrawal fee until 8 August 2020.
Plus enjoy zero transaction and advertisement posting fee promotion on Binance Peer-to-Peer Trading program to buy and sell cryptocurrencies with other users at zero fees until 10 October 2020.
To earn 5% back on your trading, sign up at https://www.binance.com/en/register?ref=RWNXXFOU or use referral ID RWNXXFOU during registration.
Thank you!

Crypterium ($5 Cash Bonus)

Have you tried the Crypterium Crypto Wallet App for iOS and Android? Sign up for Crypterium at https://crypterium.app.link/DU5iX9vsDY (or use referral code cdgy4 during signup) and get a $5 cash bonus by verifying your identity and make a transaction worth €50/$60 or more (like buy or sell crypto) via the Crypterium Wallet app. The bonus is deposited within 72 hours.
Crypterium lets you buy, send, exchange or cash out crypto, and even get the first global crypto card! The Crypterium Wallet is regarded as one of the most promising fintech solutions by KPMG and H2 Ventures. Making crypto as easy to spend as cash!
Plus for a limited time, get a Crypto Loan in USDT from Crypterium for 0% interest for up to 12 months by using Bitcoin or Ethereum as collateral. Get approved in as little as 30 seconds without credit checks!
The Crypterium App supports cryptocurrencies such as Bitcoin, Ethereum, Litecoin, Bitcoin Cash, CRPT, XRP, LINK, MKR, QASH, BAT, ZRX, REP, OMG, USDC, USDT, DAI, and EURS.
Register at https://crypterium.app.link/DU5iX9vsDY to receive a link to download the app or use my referral code cdgy4 during signup at https://crypterium.com and get your $5 cash bonus!
Thank you!

Coinbase ($10 in Bitcoin Bonus + $115 in Bonus Crypto)

Sign up for a Coinbase cryptocurrency account (https://www.coinbase.com/join/5a29d6adad50d7010b47bac0) and get $10 of free Bitcoin (BTC) after you buy or sell $100 or more in cryptocurrency like Bitcoin, Ethereum, and Bitcoin Cash. You will also need to verify your identity. This offer is available to all customers globally!
In addition, get up to $115 in free cryptocurrency by learning, watching videos, and answering simple questions about other cryptocurrencies like EOS (up to $50 bonus), Stellar Lumens (up to $50 bonus), and Compound (up to $9 bonus) without any deposit or trading required. You can easily make up to $160 in free cryptocurrency and cash out the money back to your bank!
You can also earn 0.15% annual interest holding USDC tokens (for US customers) and 4% annual interest staking Tezos tokens (for US, UK, and EU customers)!
Coinbase is one of the most trusted and easiest place to buy, sell, and manage your digital currency portfolio and its available in 100+ countries around the world! Coinbase allows you to deposit/withdrawal funds via free bank transfer, credit/debit card or bank wire.
Remember to use my referral link to get your $10 of free Bitcoin after trading $100 or more in crypto plus another $115 in free crypto bonuses - https://www.coinbase.com/join/5a29d6adad50d7010b47bac0
Thank you!

Travala (€45/£40 Cash Back)

Travala offers the best deals on over 2+ million hotels, apartments, and resorts globally in partnership with Booking.com! Sign up on Travala (https://www.travala.com/ref/QE7QUJ) and make your first booking of US $200 or more (equivalent in your currency), you'll earn US $50 worth of AVA rewards to your Travala.com wallet after your completed stay at the property.
For instance making your first booking of €180 or more will earn you €45 in cash back and £160 or more will earn you £40 in cash back.
The $50/€45/£40 in cash back with AVA rewards can be cashed out or used for future Travala booking. Message me if you need advice on cashing out your AVA rewards to your bank account.
Remember to sign up with my referral link - https://www.travala.com/ref/QE7QUJ
Thank you!

Airbnb (€43/£37 Off)

Airbnb is a great way to travel! Sign up on Airbnb and you'll get €43/£37 towards your first trip on Airbnb when you signup for a new account. Use my referral link - https://www.airbnb.com/c/dsilva21
Thanks again and happy travels!
Below are the referral links:
https://www.airbnb.com/c/dsilva21?currency=EUR (Get €43 off your first trip - you’ll get €30 off your first home booking of €65 or more and €13 off an experience of €45 or more)
https://www.airbnb.com/c/dsilva21?currency=GBP (Get £37 off your first trip - you’ll get £26 off your first home booking of £55 or more and £11 off an experience of £38 or more)

Transferwise (Free Money Transfer up to £500)

Sign up for Transferwise, an international money transfer service, and get your first transfer free up to £500 (or equivalent in other currency)! In other words, you pay no fees to send up to 500 GBP (or equivalent currency) anywhere in the world.
Please register with my referral link - https://transferwise.com/invitedavids3882
Thank you!

https://preview.redd.it/nk8d7w60bao51.png?width=2598&format=png&auto=webp&s=8dba7f91c48dc2a6deb73db97b148a59bf8802dd
submitted by cryptomiles to referralcodes [link] [comments]

Binance API Tutorial (Part 2) - Real-Time Crypto Price Data over Websockets Create a Bitcoin Price Index Watcher in HTML5 Get Bitcoin Price In Real Time Using Python - YouTube Bitfinex API Tutorial GDAX API Tutorial

Trading-Api (v4) Price Widget API (Basic) Bitcoin.de - API (Basic) Die Bitcoin.de API (Basic) ermöglicht Ihnen den Zugriff auf die Übersicht der erfolgreich abgeschlossenen Trades (Tradehistory), der aktuellen Kauf- und Verkaufsangebote (Orderbook) und den aktuellen Bitcoin.de-Kurs (Rate). Tradehistory und Orderbook werden alle 60 Sekunden aktualisiert. Die API (Basic) ist auch ohne großes ... Use CoinMarketCap's free crypto API to get the best, most accurate real-time, historical cryptocurrency and exchange trade data for Bitcoin, Ethereum and more. CoinMarketCap Developers. API Documentation; Pricing; FAQ; Log In; The world's cryptocurrency data authority has a professional API made for you. Get Your API Key Now. A new suite of powerful, flexible, and accurate cryptocurrency ... Live BTC Price LiveBTCprice.com provides the most current bitcoin and ethereum prices from popular coin markets. Currencies are updated each second. (BTC, ETH, LTC, USD, EUR) . High, Low, Average values are calculated according to timezone UTC starting from 00.00 to 23.59. This API offers a Video – Bitcoin 101 – Calling All APIs Calling All APIs – Coding Live Price Data From Bitcoin. So an API is an application program interface. README.md Bitcoin Price API. If you are trying to do interesting things with bitcoin price data, you shouldn’t have to be concerned with the low-level details of how to obtain that data, or The all-in-one digital currency API ... The best free 🚀 cryptocurrency and bitcoin API. Programmatically access current and historical price, markets, and exchange rate data from exchanges like Binance, Gemini, GDAX, and Poloniex. Quickly create mobile apps, charts, and pricing websites with our lightning fast RESTful JSON API.

[index] [36176] [9689] [31861] [28348] [14742] [2066] [9365] [12064] [23141] [6523]

Binance API Tutorial (Part 2) - Real-Time Crypto Price Data over Websockets

Bitcoin 101 - Calling All APIs - Coding Live Price Data From Bitcoin Exchanges - Duration: 10:53. CRI 29,766 views. 10:53. Make a Bitmoji Scene in Google Slides! - Duration: 17:05. EZ EdTech ... In this video, we retrieve bitcoin price data over Websockets in 2 ways. First, we use wscat to receive the information from the command line and save the price data to a file. Second, we use ... Get the current price of bitcoin. Article: https://medium.com/@randerson112358/get-bitcoin-price-in-real-time-using-python-98b7393b6152?source=your_stories_... Bitcoin 101 - Calling All APIs - Coding Live Price Data From Bitcoin Exchanges - Duration: 10:53. CRI 29,160 views. 10:53. coinmarketcap beginners tutorial - Duration: 5:49. Paul Hardingham 72,225 ... Bitcoin 101 - Calling All APIs - Coding Live Price Data From Bitcoin Exchanges - Duration: 10:53. CRI 28,401 views. 10:53. Bitcoin Arbitrage (zwischen Bitcoin.de und Gdax) - Duration: 5:20.

#