Bitcoin's Logo: The Story of the Big Orange "B ...

First beta release of Orange, a blockchain explorer for Bitcoin Core

First beta release of Orange, a blockchain explorer for Bitcoin Core submitted by msafi to Bitcoin [link] [comments]

Orange, the blockchain explorer for Bitcoin Core, is now available on Windows

Orange, the blockchain explorer for Bitcoin Core, is now available on Windows submitted by msafi to Bitcoin [link] [comments]

Nasdaq CEO talks about Bitcoin Blockchain:In terms of the limitations of blockchain today, it can handle about 10 transactions per second. In the trading in our market today, we handle millions of transactions a second. So it’s apples and oranges

Nasdaq CEO talks about Bitcoin Blockchain:In terms of the limitations of blockchain today, it can handle about 10 transactions per second. In the trading in our market today, we handle millions of transactions a second. So it’s apples and oranges submitted by polarbear8809 to btc [link] [comments]

Nasdaq CEO talks about Bitcoin Blockchain:In terms of the limitations of blockchain today, it can handle about 10 transactions per second. In the trading in our market today, we handle millions of transactions a second. So it’s apples and oranges.

Nasdaq CEO talks about Bitcoin Blockchain:In terms of the limitations of blockchain today, it can handle about 10 transactions per second. In the trading in our market today, we handle millions of transactions a second. So it’s apples and oranges. submitted by polarbear8809 to Bitcoin [link] [comments]

Nasdaq CEO talks about Bitcoin Blockchain:In terms of the limitations of blockchain today, it can handle about 10 transactions per second. In the trading in our market today, we handle millions of transactions a second. So its apples and oranges.

Nasdaq CEO talks about Bitcoin Blockchain:In terms of the limitations of blockchain today, it can handle about 10 transactions per second. In the trading in our market today, we handle millions of transactions a second. So its apples and oranges. submitted by BitcoinAllBot to BitcoinAll [link] [comments]

Orange s'intéresse au Bitcoin et investit dans un fournisseur de solutions blockchain

Orange s'intéresse au Bitcoin et investit dans un fournisseur de solutions blockchain submitted by croa to BitcoinFrance [link] [comments]

Splitting BCH/BSV still possible today for version 1.9.3?

Today I do have still a large amount unsplit BCH/BSV in one address in my trezor wallet. I didn't split it at the time shortly after the hardfork BCH/BSV dating 15 November 2018 because I was at that time too busy with other things. I thought it would be save if I just didn't thouch it. The address has remained untouched since February 2018.
Today I want to recover the BSV because I want to cash out and exchange the BSV for some other coin and because of the coming fork for BCH in November 2020 not to complicate things further.
In meantime, I have updated my Trezor One wallet to version 1.9.3 . I didn't yet update the address mentioned in orange " Bitcoin Cash changed the format of addresses to cashaddr" and "use this external tool to convert legacy addresses to the new format." with the external site in the Trezor wallet. This because I knew I hadn't yet split the BCH/BSV.
I honestly don't know what the best solution is for recovering my BSV. It's an amount too big to ignore.
https://wiki.trezor.io/How_to_split_and_send_your_Bitcoin_Cash_forks
Does this way of splitting still work with installed version 1.9.3 of Trezor One wallet? This knowing that:
- The Trezor wallet is displaying another amount of BCH than the address on the blockchain (99771 satoshis difference or 99771 satoshis more on the Trezor One wallet than on the on the address on the blockchain. For me an amount I'm prepared to lose because that's not the big amount I want to recover). This probably comes from 2 small test transactions. Anyway, the amount is different on the blockchain address (where the big amount unsplit BCH/BSV is parked) compared to the Trezor wallet.
- The Trezor One wallet is displaying the new BCH cashaddr which is not including the BSV

Problem:
The BCH and BSV is still in an old BCH address. Trezor has in meantime updated to version so that the new BCH address is mentioned in my Trezor wallet. The new address (cashaddr) doesn't consist anymore the BSV. That BSV is still in the untouched old BCH address.

Questions:
How can I find the private key of the old BCH address in my Trezor?
Can I still send the unsplitt BCH/BSV from the old BCH address to a new BCH address (cashaddr) with my Trezor, even when Trezor is in version 1.9.3 displaying the new address which is not consisting the unsplit BCH/BSV?
Or do I have to send the unsplitt BCH/BSV from the old address with the recovered private key from an other alternative wallet?
Can I send first a small amount of unsplit BCH/BSV for a test without the risk of a replay attack or lose funds in the originating address?

Possible solutions:
  1. I'll do the split as described in
https://wiki.trezor.io/How_to_split_and_send_your_Bitcoin_Cash_forks
supposing that the problems and situtions as mentioned before are not causing for a problem or loss of funds.
  1. I send the money to an exchange (CoinEx) where they are willing to split it in case the coins arrive unsplit. This supposing the problems and situation mentioned before are solved or are not cause for a loss of funds.

Please let me know what the best and easiest solution is without losing my coins. I'm a non tech guy.
submitted by ERS220-A to TREZOR [link] [comments]

What is your Bitcoin Maturity Score?

How many of the 25 steps in the bitcoin rabbit hole have you mastered? Be honest. Count how many and divide your score by 2.5.
Your Score: <5: learner / weak hands 5-7: hodler 8-9: mature 10: orange pilled
Post your result below.
The Bitcoin Journey: 1. That (log) price chart! 🧐 2. Digital scarce? 🤔 3. Satochi 4. Blockchain 5. Alts 6. Mining, halvings, diff adjustment 7. How do I get it? 8. Wallets, keys, seeds, exchanges 9. Crypto Twitter 10. Fees, hashrate, mempool, txs 11. Money, inflation, central banks 12. Stocks, S&P500, 13. Charts, TA, RSI, MA’s, triangles, patterns 🤓 14. Keynes, Austrian economics 15. Bull/bear market, trading, win/lose 16. Network effects & adoption 17. Gold, Silver, real estate 18. Full node, electrum pvt server 19. Evangelize / orange pilled 💊 20. All-in / auto-dca 21. Immaculate conception 22. NGU, game theory 23. Cosmic renaissance 24. Opsec, multisig 25. Maximalism
Let me know your score & what’s missing from your journey. Also accepting suggestions for better results categories/ descriptions.
submitted by mbrookson to Bitcoin [link] [comments]

Graphical blockchain explorer for Bitcoin Core (under development)

Graphical blockchain explorer for Bitcoin Core (under development) submitted by msafi to Bitcoin [link] [comments]

I have an opinion on Nano and I'm going to spend up to $25,000 to test it. I'll post the whole thing here if anyone is interested.

First, a VERY brief crypto background of me. I've been a bitcoin person for about a decade now. I have a solar bitcoin mining operation and a fruit and veggie farm that is, oddly, integrated with my bitcoin mining operation. I have been trading crypto almost since the beginning. I write trading software for crypto. And I'm going to start a logistics software company that piggybacks off of the bitcoin blockchain. I started seriously acquiring Nano, recently, under $0.80 as a highly speculative bet.
I have been following Nano for a couple years now. I think the idea is very clever. Fast and free does kind of seem like a dream. But I don't understand the psychology or the economics behind a currency that is peer-to-peer and doesn't require mining. Maybe it'll work...maybe not...I just don't know.
If mining turns out to be the problem then I think that bitcoin will just fork to a non-mining version. Even if Nano is faster, better, more clever, etc...it wasn't the first. Bitcoin was. Satoshi did all the heavy lifting. Nano, while SUPER clever, is just a derivative copy of what Satoshi figured out. The main difference is the lack of mining and the DAG.
Anyhow, you wanna know how I'm gonna spend $25k on Nano, right? Remember how I said I own a farm? Well, my farm grows SUPER fancy produce for people with too much disposable income. We're based in Southern California. They order it from us, we pick it that day from our SUPER FANCY, state-of-the-art greenhouses out in the middle of the desert and we deliver it to your door about 8 hours later.
Most people can't afford our produce because it costs a lot to grow, it's organic, we grow in these crazy greenhouses that cost us a fortune to build. Our stuff is perfect. Anyhow, I want to test home delivery using FedEx so that I can ship anywhere in the continental US instead of our drivers delivering to Los Angeles, Orange County and San Diego.
So, since I am about to test home delivery, I thought that I could also spend some of my recent earnings on the trade I just made this evening of Nano.
Ok, I know you had to read a lot to get here. And I'm sorry for that. But, here is what I want to know: IF I TELL THE NANO COMMUNITY ABOUT MY BUSINESS, HOW MANY ACTUAL HOLDERS OF NANO WILL BUY MY FRUITS AND VEGGIES...USING NANO? ARE THERE REALLY ENOUGH HOLDERS OF NANO TO SUPPORT SOME PART OF A BUSINESS? IS NANO REALLY THAT GREAT? IS IT REALLY EASY TO USE LIKE THEY SAY? IF I OFFER YOU A HIGHER QUALITY VERSION OF SOMETHING YOU ALREADY PURCHASE OFTEN, WILL YOU ACTUALLY USE YOUR NANO TO BUY IT? OR...IS EVERYONE JUST TRADING NANO AND HOPING TO GET RICH CUZ THEY MISSED BTC WHEN IT WAS $1?
Also, you should be asking yourself, by now, how is this guy gonna spend $25k? Here's how: this produce costs me a lot to grow because it is grown in glass clean rooms in the middle of the desert, with a costly off-grid solar array and giant battery banks; we only sell to high end restaurants and people who are kinda rich; our tomatoes are $12 per pound. Our strawberries are $12 per pound. Our cilantro is $4 per head, Romaine lettuce is $4....you get the idea. It's expensive. Anyhow, I'm going to create a totally separate site for Nano ONLY customers. I'll pay the shipping fees for orders. And I'll sell the produce at the same price as a regular grocery store, instead of our extremely high prices.
We grow about 30 different things, the most common veggies you would buy at your local grocery store in the US, plus about 7 different tomatoes and 2 types of fancy strawberries.
Ok, now you think that I am just trying to use this subreddit to trick people to going to my site and then tricking you into buying stuff. I'm not. I just made a good amount from Nano nearly doubling on a bet I recently made and cashed in. I'll give all the Nano I make from this test to whomever impresses me the most on this subreddit. I'll make the whole thing public. You can watch the wallet publicly. See if anyone is buying stuff.
I kinda think that very few people are gonna use their Nano to buy something that a real currency should be used for: fruit and veggies. My fruit and veggies are way too expensive for the average family so I am going to subsidize this test (the test is to see if I can get $10-20k in Nano sales by just telling the Nano community on Reddit). I know it's not the best test, I am kinda giving my produce away at cost, I'll have to pay the FedEx overnight shipping costs myself....AND THEN I'M GONNA GIVE SOME INTERNET PERSON ALL THE PROCEEDS INSTEAD OF BUYING A JSG BOGGS PIECE OF ART (LOOK HIM UP, CRYPTO NERDS MIGHT DIG IT).
But I just made a bunch of money on FUCKING Nano of all things! I'm gonna give back up to $25k to test something. I test stuff all the time with crypto, by the way. You should read my posts over the last few years if you're bored one day.
Would anyone be interested in even following this? Do other people think Nano has a use case? Anyone got a better idea for my $25k (other than me giving it to you cuz you're lazy)?
Oh, for the record: yeah...bitcoin...duh. Everything else is just a copy. No offense intended.
submitted by dan_from_san_diego to CryptoCurrency [link] [comments]

Every Way I Have Made Money Online Since 2015

I have been making money online since 2015. There are so many ways that I can't remember them all, but here is a list of most of them - including the most significant ones. Hope this helps you somehow. As I'm from Canada, many of these (but not all) are for Canadians.
From highest-earning to lowest, for your convenience:
Gig Earnings
Bitcointalk.org $50,000
LocalBitcoins affiliate (non-ref) $10,000
Reddit posting $5,000
HealthyWage personal challenge (non-ref) $3,400 (profit)
Dietbet $200/month
Slickdeals.net posting $2,000
Selling hoverboards $2,000
Bank signup bonus $300
Coinbase Earn (non-ref) $150
HealthyWage individual challenges (non-ref) $50/month
Selling LocalBitcoins trading guide $100
UberEats/DoorDash restaurant $100
Fiverr $100
Selling email list that I scraped $100
Black Friday meal kit deal $100
Craigslist study $75
Blockchain.com airdrop $65
Growing hydroponic lettuce at home $15/month
Tangerine bank (use Orange Key: 59103835S1 to get $50) $50
Crypto.com (non-ref) signup bonus $50
Coinberry (non-ref) signup bonus $30
Honeygain (non-ref) $20
Rakuten cash back Canada, USA (non-ref) $10
Amazon affiliate $10
Instead of telling the whole story of each method, and since you care most about the highest-earning opportunities, let's discuss those and if anyone has questions about something not mentioned in this post - don't hesitate to ask, I'm happy to explain.

Bitcointalk

This is by far my biggest earner. Basically, back in mid 2017, I realized that the crypto market was starting another bull run. I had previously learned that it was possible to make money advertising for companies by adding their custom signature to my account profile so that each post contains links to their website/products underneath it. They paid a lot more back then, because Bitcoin was only valued at around $700-1,000 when I started.
This forum also doesn't care about having multiple accounts - in fact, it's fully allowed. Some people have hundreds of accounts. Therefore, I quickly searched the web for people selling their accounts... and bought a bunch of decently-ranked ones such that I was able to post full-time essentially, making up to $5/post which only takes a minute or two. The best campaign I joined is one called DeepOnion, which paid almost $30,000 in about 1 month!!! All I had to do is make 10 posts a week per account, and they deposited their coin to my wallet. After it was added to an exchange, the price quickly rose and one night my portfolio value went from $3,000 to over $20,000. I sold literally at the peak! I also made money from Bitcoin paying campaigns (they pay in BTC as opposed to their token/coin). Another big score was a campaign called ATLANT, where I made well over $20,000 ...however, didn't sell my tokens and now they are worth a fraction of that. Oh well.
With the above said, I don't recommend doing this anymore, as the forum is filled with 3rd world spammers who realized that it was possible to make big money a couple of years ago, and now they have bots spamming constantly and applying to campaigns and such. I haven't posted there in a long time, probably over 6 months, because it wasn't worth it anymore. It was great while it lasted.

LocalBitcoins (non-ref)

Notice how most of my earning comes from crypto? :p
Well, I found a high-ranking Reddit post about Bitcoin that was ranked in the top 3 on Google for multiple good long-string keywords. In other words, many people (I'm talking hundreds) were finding it on a daily basis. I got my comment to the top spot, which includes an affiliate link and so over 5,000 people ended up signing up and I made a lot from it. My estimate is about $10,000 USD equivalent (pays in BTC daily), although could be more.

Reddit Posting

This is the same deal as Slickdeals, as explained below. However, after SD banned my accounts, since I had a high-karma Reddit account, I realized that my clients might be interested in advertising in "deals" subreddits (mostly Amazon, although it varied). Sure enough, they were and I got paid up to $300 for a single post in popular subreddits.

HealthyWage (non-ref)

This is an app that pays you to lose weight. There are a few different types of challenges, including personal, individual and team challenges. The personal challenge is the one I am currently focusing on, as I bet $125/mo over 12 months ($1500), and if successful, stand to win $4,900 or $3,400 profit. I started at 360 pounds, and must weigh out at 180 pounds or less after 1 year to win. (I know, it's lots of weight to lose, but there is tons of money at stake.)
If you join using my referral link, you get $40 added to your prize and I also get $40. By the way, most people who join make a mistake of betting too much or too little. For example, you might get the same winnings by betting $100/month or $500/month, because the algorithm caps out at a certain amount. With that said, use this calculator to get the exact amount that you should bet to maximize your ROI (click on "Calculate a Healthy Wager"). I didn't know about this before signing up, and ended up betting more than I had to make the same amount (although only $12).

Slickdeals

I had a startup similar to Groupon, and had made a few Slickdeals accounts because of that. One day while driving, it occurs to me that people might be willing to have me post on SD using my account since the traffic is so high. Well, I drove straight to the library and posted my Skype contact on about 30 threads on Warrior forum, and that same night I was getting contacts from China and it never stopped. This was way back in 2015, and I had 3 accounts and made $20 per post. I was doing about 1 post/day and sometimes getting $5 to do upvotes as well. All-in-all, after contracting out someone on Fiverr to automate the whole thing, my accounts ended up getting banned and that was that.

Selling hoverboards

During the hoverboard craze of 2015, I made a couple of rudimentary sites and managed to sell about 12 in total, making about ~$100 profit per sale, and selling the sites for $750 and $250 respectively for about $2,000 in total profit. This is the first time I used YouTube as a marketing medium, specifically paid product placement, which you can see here. This video sold 4 boards & I sold the site for $250, and the board cost about $350, so it was a good deal in the end.
Well, that about sums up my online earning history. I'm sure there are (many) other ways I've earned a buck, but simply don't remember them all. Again, don't hesitate to ask any questions you may have and I am more than happy to answer. Thanks for reading.
Edit: it's great to see that this post is interesting to many people
My best suggestions to make fast, easy money are the following:
  • Growing Hydroponic Lettuce this is a new one to me, but I recently started growing lettuce and not only is it super enjoyable, but it's much more cost-effective than buying it from the store. Checkout this video which shows how. All that is needed is a container with some 2 or 3 inch holes, some "net cups" to hold the lettuce in, and some liquid nutrients which are available on Amazon.
  • Coinberry (non-ref) I literally signed up, verified my account and got the bonus within an hour. There is a 3 day hold to withdraw funds, but it's an easy $20 and they also give an extra $10 "customer appreciation bonus" after your first deposit, so you get $30 total.
  • HealthyWage (non-ref) If you need to lose weight anyway, then you might as well get paid while doing so. I recommend doing a minimum amount of weight-loss over 6 months, to make it easier on yourself. When you signup with my link, we both get $40.
  • Dietbet no ref link, but this is a really good earner. I make about $200/month with it by playing in 9 games simultaneously.
  • Honeygain (non-ref) this one is entirely passive, and I highly recommend it. Simply download the app and you make money for browsing online, without doing anything else. I make about $50/year with just my phone. When you signup with my link, we both get $5.
  • Crypto.com (non-ref) this is a legit cryptourrency site that gives you $50 when you sign up & deposit $250. I know it's legit, because I just signed up a few days ago and already got my bonus. Simply buy their crypto in the app with your credit card & stake it for 6 months, and they give you $50.
submitted by Separate-Time to WorkOnline [link] [comments]

Over $22 Million In Stolen BTC On The Move

Over $22 Million In Stolen BTC On The Move

The Stolen Funds Are Part Of The Large-Scale Bitfinex Hack From 2016
Digital asset movement tracker WhaleAlert posted a series of tweets, in regards to $22,402,423 worth of Bitcoin (as of 29th Jul, 2pm GMT time), forcefully extracted in the 2016 Bitfinex hack.
Bitfinex, one of the leading digital currency exchanges, reportedly lost 119,756 BTC, which as of press time is valued over $1,3 billion. Bitfinex was hacked in 2016, with chunks of the crypto loot randomly moving from the wallet addresses, associated with the hack to “unknown wallet addresses.”
The move means that stolen funds are being transferred to not-yet tied to a specific crypto exchange wallet address. Just in 2020 alone, funds were relocated from the Bitfinex hack on 35 occasions.
As WhaleAlert reported, several transactions ranging from 299.99 BTC (3,241,798 USD) to 476.32 BTC (5,147,316 USD) were involved in the transfers. However, the recent BTC relocations, combined with Bitcoin’s price spiking over $11,000 had some traders and crypto experts worried about a negative price correction in the near future. Most of the crypto experts are considering the chance that a massive dump of Bitcoin’s price may happen. This could happen if the individuals who possess the stolen BTC funds decide to cash them out.
Source: WhaleAlert
However, liquidating the stolen funds may be a cumbersome task, because government agencies are massively using blockchain-based analytics services, which can track transactions and monitor illicitly acquired funds.
Meanwhile, hardware wallet provider, Ledger, announced a data breach in late June, which exposed customer information of around one million users. The attack was aimed at Ledger’s e-commerce and marketing databases. The company managed to quickly patch the vulnerabilities and recover from the breach, as underlying reasons of the breach were quickly discovered by a researcher, participating in Ledger’s bug bounty program.
According to the hardware wallet provider, no payment information or allocated crypto assets were revealed or obtained.
"Solely contact and order details were involved. This is mostly the email address of approximately 1mln of our customers. Further to investigation, we have also been able to establish that a subset of them were also exposed: first and last name, postal address phone number and product(s) ordered. Your crypto assets are safe and are not in peril" - Ledger stated in an e-mail to the affected users.
Ledger also took actions, filing a report with France's Data Protection Authority (CNIL), as well as with Orange Cyberdefense (OCD) to help identify the scope of the breach and the potential vulnerabilities.
The company also noted that they will keep an eye on any information, regarding Ledger’s databases that are being sold on the Internet.
submitted by Crypto_Browser to CryptoBrowser_EN [link] [comments]

Cryptocurrency technical analysis: bears drive the crypto market movement

Cryptocurrency technical analysis: bears drive the crypto market movement

Cryptocurrency technical analysis: bears drive the crypto market movement
The negative sentiment continues to reign in the crypto asset market, as indicated by technical and fundamental analyzes. Thus, the drop in demand for many top altcoins caused by the bitcoin correction has already led to the fact that the bears have reached many targets located in the support area. At the same time, several interesting events took place on the crypto market over the past working week. On July 15, it became known that the Chinese authorities will test the digital yuan on the largest supplier of groceries and food delivery Meituan Dianping. The work of the Chinese CBDC is already being tested by McDonald’s corporations, Starbucks and DiDi, the largest taxi aggregator in the Middle Kingdom. On June 16, Samsung announced the start of a partnership with Stellar, within which the developments of the blockchain project will be integrated into the Samsung Blockchain Keystore and Samsung Galaxy smartphones. Also, one cannot fail to note the large-scale hacking of the social network Twitter. On the night of July 15–16, unknown attackers gained access to 130 accounts of prominent businessmen, politicians and opinion leaders. As a result, fake Elon Musk, Changpen Zhao, Bill Gates and Barack Obama posted messages calling for bitcoins to be sent to them, which allowed them to collect 12.86 BTC.

Bitcoin

On the four-hour chart, bitcoin develops a very clear movement along the levels from the point of view of technical analysis. After retesting the resistance at $9500 and the lower boundary of the “Triangle” pattern, BTC quotes rushed down to the first target at $9150. If in the coming days the price consolidates below the support level, then in the short term we should expect the development of a downtrend. The closest targets for sellers will be $9000 and $8760 (38.2% correction at Fibonacci levels). At the same time, the persistence of negative sentiment in the stock market will be a signal for the digital currency market, which will continue to fall until the beginning of autumn and the recovery of the business cycle.
In the long term, this may lead to a decline to supports at $8330 and $8050. But in order to push the price lower, the bears will need to exert enormous forces. Moreover, from these levels, whales will begin to gain new positions, which will push the bitcoin price up and launch a medium-term growth trend. It will confirm its departure above the 200-day simple moving average (SMA) line and the closing of Japanese candlesticks above $9500. In the long term, this will make it possible to achieve medium-term goals in the form of clusters of $9,900- $10,000 and $10,400- $10,500.

BTC / USD chart, four-hour timeframe

So far, the first cryptocurrency also cannot form a global trend, and this has led to the fact that Bitcoin continues to consolidate movement within the $8900 cluster (50% correction at Fibonacci levels) — $9580. BTC quotes have already dropped below the $9,300 level, which could lead to sales up to $8,900. In the future, we should expect Bitcoin to test the targets of $8600 and $8220, where the 200-day moving average (MA) line and the lower border of the technical analysis model “Triangle” (on the chart below, its borders are marked in orange).
For a short time, BTC quotes may even drop to supports at $7400 and $6800, but the forecast for the price rebound back up and the formation of a long-term upward trend seems more likely. This will allow Bitcoin to reach the $10,000 and $10,500 levels, and their subsequent breakout will allow the asset to rush to the $11,000, $11,200- $11,300 and $11,800 levels by the end of the year.

BTC / USD chart, daily timeframe

Ethereum

The altcoin market is also developing neutral dynamics so far, but more and more signals appear on the charts that speak in favor of the development of a downward movement.
Big capital is not yet ready to acquire digital assets at a price that has grown strongly since March.
Ether price develops along the $233 level (11.4% Fibonacci retracement line) and within the framework of consolidation within the $220- $251 range. The drop in the total demand for digital assets will lead to a decrease in the cost of ether towards the first target in the form of consolidation of $195- $200, where the 200-day MA line is located. The further course of trading will be determined by the appearance or absence of demand for cryptocurrencies. In the long term, by the end of the year, we should expect a move above $251 to the resistance areas of $280, $300 and $320.

ETH / USD chart, daily timeframe

Litecoin

On the daily chart, Litecoin continues to consolidate above the support boundaries in the form of a $40- $42 cluster, which takes the form of the Andrews Pitchfork technical analysis model. The development of the downward dynamics will lead to the fact that the cost of LTC will drop to $36 and $30.60. But in the medium term, we should expect the quotes to move above the 200-period MA line, which passes in the resistance area of $47.45. Overcoming it in the coming months will allow LTC quotes to soar to the levels of $51.50 (38.2% correctional level along the Fibonacci lines), $56.80, $60.80, $65 and $70.

LTC / USD chart, daily timeframe

Bitcoin Cash

The Bitcoin fork began to decline after the breakout and a very clear retest of the lower boundary of the technical analysis model “Triangle” (on the chart below, its boundaries are marked in pink). At the same time, the Bitcoin Cash quotes remain within the framework of a broader consolidation in the form of the “Horizontal Channel” $200- $272. However, the priority trading scenario remains a decline in Bitcoin Cash to the $200 level. There is also a high probability of updating the March lows in the $170 and $150 regions.
However, in the months ahead, expect BCH to move above $272, where the 200-day SMA line passes, paving the way to the $305, $356 and $400 levels.

BCH / USDT chart, daily timeframe

XRP

XRP is also under the influence of bears, leading to a decline towards the resistance level at $0.2050. In the coming weeks, the asset may test the support at $0.18, where the lower border of the Descending Triangle model lies. The development of the downward movement will allow XRP to test the support at $0.16 and $0.1470.
But in the medium term, a signal for a reversal of the downtrend may appear in the event of a break above the 200-day MA line passing at the level of $0.2360. If this happens, then in the second half of 2020 XRP will be able to reach important targets at the levels of $0.2540, $0.27, $0.2860 and $0.30.

XRP / USD chart, daily timeframe

Binance Coin

Binance Coin tried to break the bottom of the Ascending Triangle, but failed. The current quotes are supported by the 200-day SMA line and the boundaries of the $15.30- $16 area. Maintaining the downward momentum will allow BNB to rush down to the supports at $13.80 and $11.50.
But the most likely scenario looks like a final consolidation above the 200-day MA. This will open the way to the current resistances at $17 and $18.14, as well as the first target in the form of a $19.36- $20 cluster. Testing of the $21.30 and $23.50 levels is also expected in the coming months.

BNB / USDT chart, daily timeframe
Now more and more crypto assets are showing a willingness to succumb to bearish pressure, which will send quotes into a short decline that will last over the next few weeks. But by the end of the year, we should expect the activity of whales, which will begin to massively buy cryptocurrencies. This will undoubtedly send their value into a long-term upward rally.
Subscribe to our Telegram channel
submitted by Smart_Smell to Robopay [link] [comments]

r/MAINSTREETCRYPTO EXCLUSIVE: INTERVIEW WITH ROGER VER

MAINSTREETCRYPTO EXCLUSIVE: INTERVIEW WITH ROGER VER
MAINSTREETCRYPTO EXCLUSIVE: INTERVIEW WITH ROGER VER
https://preview.redd.it/9rycme1mdgr41.jpg?width=200&format=pjpg&auto=webp&s=30c55fb3ff8b3705726a04109797063a26798798
Roger Ver, is one of the five founders of the bitcoin foundation. You could say he was ahead of his time, buying $25,000 worth of bitcoin when they were merely $1 each. He was the first major investor to invest millions in Blockchain.info, Ripple, Kraken, and Bitpay among others. Now he wants Bitcoin Cash, a fork of the legacy chain, to be used as a global P2P currency, and says it can scale just like Satoshi first laid out in the original Bitcoin whitepaper. -------------------------------------------------------------- Bitcoincash.org Rank: #5 Current Price: $257.65 Market Cap : $4,741,042,759 24 hour trading volume : 1.741 Billion USD -------------------------------------------------------------- Hi Roger, first and foremost, I wanted to thank you for taking the time to do this. You are truly a pioneer in the Bitcoin space, and all of us owe you a debt of gratitude. On behalf of all of us, I wanted to say thank you for advancing the space.
1. First, I want you to take a moment and appreciate how far bitcoin and cryptocurrency has come this past decade. Did you ever believe you would see such growth, interest, and adoption in such a short period of time or has it completely surprised you?
We always over estimate the amount of progress that will be made in the short term, but underestimate the amount of progress that will be made in the long term.
Crypto currency is another example of that.
2. At what point did it hit you that bitcoin was history in the making?
From the very first day I knew it was one of the most important inventions in the history of humankind.
The book Digital Gold goes over how I literally had to go to the emergency room because of the excitement I had for Bitcoin.
3. How did you first get into bitcoin, pre Bitinstant?
I first heard about it on the FreeTalkLive.com radio show.
A full history of the early years is covered well by Digital Gold.
4 .What economists and philosophers do you align with?
I think Murray Rothbard fits into both categories and his thinking influenced mine more than any other single author.
Others who have influenced me would include:
Adam Smith
Ludwig von Mises
Milton Friedman
David Friedman
John Locke
Henry Hazlitt
Frederick Bastiat
Larked Rose
Ray Kurzweil
6. What has been your favorite moment in crypto history thus far?
My favorite moments were reading the underlying philosophy behind the Silk Road.
The government has done an amazing job distorting and smearing the underlying message behind the site.
My eyes started to tear up when I read this post on the front page of the Silk Road for the fist time:
https://www.reddit.com/Anarcho_Capitalism/comments/29diyt/defcons_latest_post_on_silk_road/?sort=top
I never bought or sold a single thing there, but I spent countless enjoyable hours reading their forums and exploring the site.
7. What are your future plans for Bitcoin Cash?
It isn’t just a hobby, it’s a global revolt. We will become money for the world.
8. Branding is so important. Bitcoin currently has greater brand recognition a la Coca-Cola, and is regarded by many as the “real” Bitcoin, even though this is widely disputed, especially by crypto-fundamentalists. Do you envision a Coca-Cola vs. Pepsi type scenario? Do you envision parity price-wise between the two on a long enough timeline?
Bitcoin Cash has more utility than BTC, so in the long run it will have a larger market cap. Currently we are in the era when Myspace was bigger than Facebook, but Myspace’s servers were being over loaded and causing a bad user experience.
Eventually people migrated to Facebook and eventually people will migrate away from BTC.
8. a) Have you ever thought of re-branding Bitcoin Cash?
No one is in control to do such a thing by themselves. The community can’t even agree on orange vs green for the colors.
9. Bitcoin Cash has the potential to truly be used as a global form of payment rather than merely a store of value, what else excites you the most about the potential of Bitcoin Cash?
  1. Fast
  2. Cheap
  3. Reliable
  4. Private
Payments for the world. That’s all we need.
10. I asked Adam Back the same question: If you could remove yourself from the equation, and remove bias, how would you objectively evaluate the pros and cons of Bitcoin Cash versus The Lightning Network?
Anyone can permissionlessly start using BCH to start sending or receiving payments world wide in about 30 seconds. (The time it takes to download an app)
It is accepted by more than 100,000 websites around the world, and has millions of users.
Lightning Network would take about a full day to setup and get working permissionlessly, and would take several hundred dollars of additional computer hardware.
Once it is setup, you can spend it at about 300 websites world wide, and it has maybe a few tens of thousands of users.
11. When you’re not working, what do you like to do for fun? Favorite hobbies?
I enjoy reading, and Brazilian Jujitsu. I’m especially interested in doing more competitions before I get too old.
12. What are a few of your favorite books? What are some that have made a long lasting impact on you? (Can be fiction or nonfiction)
I loved the Age of Spiritual Machines. It painted a picture of how exciting the world is going to be thanks to More’s Law.
I also loved The Moon is a Harsh Mistress. I see crypto currency being a world life parallel.
13. What are you most excited about for the future of blockchain technology and where do you see the space in 5 years?
I’m excited to see wide spread wallets with strong privacy, and more agorism starting to take place around the world.
14. What are your personal theories of who Satoshi was / were, what was their motivation, and do you think something like bitcoin would have inevitably been created eventually, had Satoshi never existed?
I don’t know who Satoshi is or was, but it was clear they were trying to build a peer to peer electronic cash system, not what BTC has become today.
It was an inevitability that someone would create something like Bitcoin eventually. People like David Friedman and others had been writing about it for decades in advance.
15. What advice would you give our viewers regarding blockchain, business, motivation, or life in general?
Read more books. Reading a book like having a one on one tutoring session from the author. It’s the best way to learn directly from the greatest minds the human race has ever produced.
BONUS:
If you were a director and could make only one film out of all the wild stories regarding crypto, what subject matter would you choose and why?
The Silk Road because it embodied the spirit of peer to peer cash and voluntaryism.
submitted by blindedzeppelin to mainstreetcrypto [link] [comments]

Our Network Issue #21

Our Network Issue #21

Insight 1 - Market-Realised Gradient

The Decred blockchain has a consistent baseload of demand for block-space, a result of the PoS ticket system and, more recently, on-chain CoinJoin privacy transactions. As such, the Realised Price metric differs in interpretation to Bitcoin. A strong conviction Decred holder actually has a regular and frequent on-chain signature moving DCR as opposed to the equivalent of long periods of dormancy for Bitcoin.
The Realised Price tends to follow the spot price more closely, however lags behind the day-to-day fluctuations in off-chain price sentiment. The chart below presents an experimental metric that takes the 28-day gradient of the Market Cap and Realised Cap, and produces an oscillator from their difference (purple). This tool distills times where off-chain price momentum bias flips before the on-chain response as DCR is bound in tickets and takes time to transact. Where the oscillator crosses the zero level, it often precedes a shift in price momentum in the direction of the flip.\
https://preview.redd.it/6bu8nqznt3y41.png?width=1296&format=png&auto=webp&s=bd1226fab2e792ab72f95cc6ab8047c4c60f9b56

Insight 2 - NVT and RVT Ratio

As noted, Decred has a consistent transaction demand which also shows up as reliable NVT and RVT signals. These metrics take the ratio between network valuation (market cap or realised cap) and the adjusted daily transaction value flowing through the chain, all denominated in USD. The chart below presents the NVT and RVT both in 28-day and 90-day moving average format with sound agreement in trend and magnitude between all.
During periods of bullish sentiment, we can observe low NVT|RVT ratios indicating that the chain is settling a substantial value relative to its network valuation, and vice-versa indicates bearish sentiment. Of particular interest is the period of strong demand for on-chain settlement since Aug 2019 at which point the CoinJoin privacy mix server came live. This provides valuable feedback for the community and developers regarding actual demand for the mixing service, and also gives miners a basis for future fee market expectations.
https://preview.redd.it/w954rgnqt3y41.png?width=1275&format=png&auto=webp&s=f86b365055caa125beaa5dfec7067a2ee5bb0e09

Insight 3 - Cumulative Transaction Volumes

Digging into transaction demand further, the area chart below shows the cumulative DCR settled on-chain through protocol history, divided into regular transactions (orange), ticket purchases (green) and CoinJoin mixes (red). The line charts to the right axis presents the daily transaction volume in DCR for ticket purchases and CoinJoins.
It can be seen that the gradient of the area plot has steepened since the privacy mix service went live, confirming increased demand for block-space. There has been a steady uptick in DCR flowing through the anonymity set with around 110k DCR mined in CoinJoin transactions per day. This represents around 0.96% of the total circulating DCR supply in CoinJoins, and is substantial when compared to the 192k DCR that are mined into tickets daily (1.67% of circ. supply).
https://preview.redd.it/y57bo6xrt3y41.png?width=1329&format=png&auto=webp&s=2bb4815052cd074ef06b33cc88c6d3f068c383b0

Insight 4 - Decred Treasury Flows

The Decred Treasury underpins the self-sovereign development of the protocol, and its accumulated value is subject to the market's pricing of DCR. To date, the treasury has spent a total of $7.625M bootstraping the network from genesis to now when pricing each outgoing transaction on the day of the spend. This represents around one third of the incoming DCR so far and 16% of the total DCR inflows that will occur via the block subsidy ending in year 2140.
Based on a current DCR coin price of $14/DCR, the Treasury is capitalized with enough USD value to build another Decred (assuming $7.625M build cost) and can repeat that metric for each $12 uplift in DCR price given the current Treasury balance of 636.3k DCR.
https://preview.redd.it/v914ebdst3y41.png?width=1339&format=png&auto=webp&s=6b6ee00a258f2a62be102b60ff3873c0417b99d1

Insight 5 - Treasury Vote Power

Finally, an interesting metric to gauge stakeholder governance power is to look at how much Treasury value is governed by each ticket in the PoS pool. The chart below presents the Treasury balance divided by the count of tickets in the pool (red), showing that each ticket commands decision making power of around 15.5 DCR. If we divided this by the purchase price of a ticket denominated in DCR (blue), governance power typically represents around 11% of the ticket value. Given tickets vote on average every 28 days, this means governance power on an annualised basis is equivalent to 143% of a typical ticket in value.
https://preview.redd.it/lq1s5azst3y41.png?width=1334&format=png&auto=webp&s=9ffb7fd567b77eabe44d5ca3e26f0e271f87baa6
submitted by __checkmatey__ to decred [link] [comments]

TokenClub Bi-Weekly Report — Issue 114(5.4–5.17)

TokenClub Bi-Weekly Report — Issue 114(5.4–5.17)

https://preview.redd.it/kkhj7agzz5251.png?width=875&format=png&auto=webp&s=f47007e7923d8f40d98e3ba7d08a31c3729a0bd3
Hello everyone, thank you for your continued interest and support. In the past two weeks, various tasks of TokenClub have been progressing steadily. The product development and community operation progress this week are as follows:
1. TokenClub Events
1)TokenClub & 499Block reached strategic cooperation in live broadcasting
On May 28th, TokenClub and 499Block reached a strategic cooperation to jointly build a live broadcast ecosystem in the vertical field of blockchain.
2)520e events
When 520 comes, TokenClub launches live interactive interaction. During the event, participate in interactive questions in the live broadcast room or forward the live poster to Twitter and the telegram group, and upload a screenshot to have the opportunity to extract 520, 1314 red envelope rewards

https://preview.redd.it/apyee28406251.png?width=1080&format=png&auto=webp&s=9c9798db931ad6611d6c258907120610ae11ff11

3)Text version of live content is abailable on Medium
In order to better understand the live broadcast of TokenClub by overseas communities, we translated the live broadcast content into English and uploaded it to TokenClub’s Medium official account, so that the community’s small partners can view it.


https://preview.redd.it/hhmu3pl506251.png?width=1080&format=png&auto=webp&s=fae9d42dcdee9d079219d1ffe612fc573bad01e8
4)Preview: TokenClub’s self-media grandma is invited to participate in the golden financial theme live event
From May 29th to June 4th, Golden Finance will hold a five-day live broadcast of the theme of “Finding Double Coins”. Grandpa Coin will express his views on June 3, welcome to pay attention.

2.TokenClub Live
1) Summary
Recently, Binance Co-founder He Yi, TRON founder Sun Yuchen, Hobbit HBTC founder Ju Jianhua, OSL chairman Dave, BlockVC founding partner Xu Yingkai, Outlier Ventures founder amie Burke, Bitribe founder SKY, CryptoBriefing CEO Han Kao , Huarai Group / Vice President, Global Market and Business Leader Ciara, Guosheng Securities Blockchain Research Institute Sun Shuang, Tongtongtong Research Institute CEO Song Shuangjie, Jin Tiancheng Law Firm Senior Partner Yu Bingguang, Binance China Jiang Jinze, principal researcher of Blockchain Research Institute, Meng Yan, vice president of Digital Asset Research Institute, co-founder of Primitive Ventures & director of Coindesk advisory board-Dovey Wan, founding partner of Genesis Capital & co-founder of Kushen Wallet Ocean Liao Yangyang, Binance C2C-Kathy, Binance OTC-Coco, Binance Contract & Options-Justin, Binance VIP-Jennifer, Binance Broker-Jess, Binance Mining Pool-Denny, Harbin Institute of Technology Blockchain Research Executive Deputy Director Xu Zhifeng, dForce founder Yang Mindao, Mars Finance co-founder Shang Silin, Cobo & Yuchi co-founder Shenyu, well-known investor Xu Zhe, CasperLabs CEO Mrinal Manohar, CasperLabs co-founder Scott Walker, Chairman of Rock Tree Omer Ozden, Nova Club incubation team leader & Waterdrop Capital partner Zheng Yushan, Rolling Stone miner founder Alex Lam, BitUniverse coin founder Chen Yong, Odaily Planet Daily founder and CEO Mandy Wang Mengdie, Binance stablecoin BUSD project responsible Helen Tu and senior expert of TokenClub blockchain and cryptocurrency investment strategy-Zao Shen talks with you about blockchain things ~
On May 18, Block 101 Binance Key Account Manager Luna talked to Primitive Ventures co-founder, non-profit bitcoin development fund Hardcore Fund executive director, and Coindesk advisory board director-Dovey Wan, to understand “C and C How is the Goddess of Crypto Assets made? “Dovey Wan shared with us on asset allocation, investment judgment, entrepreneurship, DCEP, etc.


https://preview.redd.it/0dsry36906251.png?width=1080&format=png&auto=webp&s=a7f6f4b852547d2e43114f81a981f7aa6ea10f61
On May 19, Block 101 Yingge talked with Sun Zeyu, the founding partner of Genesis Capital and co-founder of Kushen Wallet, to share the theme of “Blockchain Investment Experience”. This investor, who is rated as “reliable” by insiders, recommends that novices try not to touch contracts, do not stay overnight even when making contracts, be alert to risks, refuse gambling, and rationally analyze investments.

On May 20th, 499Block ’s two-year birthday carnival “Global Hot Chain, Keeping Together for Every Year” celebration was held in the TokenClub Live Room. The cross-border AMA Solitaire + popular day group anchor live video sharing, including Binance Co-founder He Yi, TRON founder Sun Yuchen, Hobbit HBTC founder Ju Jianhua, OSL chairman Dave, BlockVC founding partner Xu Yingkai, Outlier Ventures founder amie Burke, Bitribe founder SKY, CryptoBriefing CEO Han Kao, Huobi Group / Vice President Global Markets and Dozens of blockchain leaders from home and abroad, such as Ciara, the business leader, all appeared on the scene, and 499Block became a popular beauty angel group to help the interactive host.


https://preview.redd.it/ga6ey51b06251.png?width=1280&format=png&auto=webp&s=d94cc1a03640538ec1e99443c8cbb7a5e77596de
On May 20, Sun Shuang, senior researcher of Guosheng Securities Blockchain Research Institute, Song Shuangjie, Jin Tong, CEO of Tongzhengtong Research Institute were jointly invited by Lingang Xinyefang, Lingang Innovation Management School, and Binance China Blockchain Research Institute. Tian Bingguang Senior Partner Yu Bingguang, Binance China Blockchain Research Institute Chief Researcher Jiang Jinze, Vice President of Digital Assets Research Institute Meng Yan, and many experts talked about the “Critical Digital RMB DCEP” in the live broadcast, one A feast of intertwined thoughts is worth watching again!

On May 21st, Ocean Liao Yangyang, the founder of Block 101 Seven Seven Dialogue Force Field, focused on the “big enlightenment era of digital assets”, Ocean shared with us his entrepreneurial experience, the first pot of gold, public chain, currency circle and Analysis of the current market. Regarding the future of Bitcoin, Ocean feels that he can work hard towards the direction of digital gold and become a substitute or supplement for gold. He is determined to see more, because the ceiling of the entire industry is very high, and he still cannot see its end point. The index level is rising, far from being over.

On May 22, “In the name of the Pizza Festival, we came to a different live broadcast” Bringing Goods “”, which was organized by the girls in the 101-day group of the block: June 6, July 7, Sisi, Yingge, Qianjiangyue , Dialogue: Binance First Sister, Binance C2C-Kathy, Binance OTC-Coco, Binance Contract & Options-Justin, Binance VIP-Jennifer, Binance Broker-Jess, Binance Mining Pool-Denny. We have explained to us one by one about C2C, OTC, contract options, etc. If you are interested, please move to the live room.


https://preview.redd.it/a9am0j5e06251.png?width=1080&format=png&auto=webp&s=7f8d0e80492027a000d4e719ec727b56cc27d94f
On May 22, Block 101 Sisi Dialogue Xu Zhifeng, executive deputy director of the Blockchain Research Center of Harbin Institute of Technology, shared the theme: “Strategy of Great Powers: Seizing New Highlands of Blockchain Technology”. He expressed his views on his own currency circle experience, entrepreneurship, blockchain technology, DECP, etc. Xu Zhifeng is very optimistic about the future development of blockchain. He said: “Ten years later, blockchain will become a very common industry. We are the Internet industry and have never changed.”

On May 23, the old Chinese doctor Zao Shen from the coin circle went online ~ The theme of this issue: If you want to be short, you must be able to sing first, and if you want to be long, you must be patient. If the meal is not fragrant, the game is not good, and the happiness of the past has drifted into the distance, just because the daily reading is still a loss, and the head is hurt. Don’t panic, the old Chinese doctor Zao Shen of the currency circle will adopt the Trinity Interventional Therapy and precise care to regenerate life. Don’t move quickly to the live room to see what “therapy” is.

On May 25, Block 101, July 7th conversation with dForce founder Yang Mindao, talked about “DeFi opportunities and challenges.” Yang Mindao believes that the four biggest benefits of DeFi are: programmability; non-custodial nature; non-licensing; composability. He believes that the current public chain market is seriously homogenized, and the most promising public chain is Ethereum. Ethereum is the best and largest in terms of developer group, ecology, and technological evolution, and can absorb the advantages of each public chain. At the same time, he is also extremely optimistic about DeFi, “DeFi application value is gradually verified, and the value of this type of token will gradually become more prominent.”

On May 26th, Mars Finance co-founder Shang Silin Hardcore Dialogue Cobo & Yuchi co-founder Shenyu and well-known investor Xu Zhe. The trend of “financialization” in the digital asset industry is becoming more and more obvious, and the friends of miners need to master more and more skills. Unveiling the mystery of hedging for everyone.

On May 26th, Nova Superstar Dialogue Phase 13 focused on the Silicon Valley star project CasperLabs, specially invited CasperLabs CEO Mrinal Manohar, CasperLabs co-founder Scott Walker, Rock Tree chairman Omer Ozden, and Nova Club incubation team leader Water Capital Partners Zheng Yushan, discuss CasperLbs together.
On May 26, Block 101 Sisi talked with the founder of the Rolling Stone Miner, Alex Lam, and took us into the “post-worker life” of a PhD in finance. Alex shared the reasons for entering the coin circle, the first pot of gold, mining, pitted pits, investment experience and opportunities in the digital currency industry. Alex said: Bitcoin exceeds US $ 100,000, and it will be in the second half of next year or the year after.
On May 27th, Block 101 Yingge talked with BitUniverse founder Chen Yong and shared the theme: “Who” needs grid trading. Chen Yong mainly introduced the currency trading tool of Bitcoin. In his view, grid trading has changed an investor’s concept-from stud into a batch of positions and positions. Regarding the price of Bitcoin, Chen Yong believes that the price of Bitcoin may reach one hundred thousand dollars around 2030.

On May 28, Block 101 Binance Mining Pool Wu Di talked to Mandai Wang Mengdie, founder of Planet Daily Odaily, to learn more about the process of “media entrepreneurs marching into the blockchain from venture capital circles”. Mandy believes that the core competence in the media industry is high-quality original content, which is the most basic but difficult to stick to. The initial focus of entering the mixed media industry of the dragon and dragon is to focus and amplify value.

On May 29th, Block 101 Qianjiangyue Dialogue Hellen Tu, the project leader of Binance Stablecoin BUSD project, talked with everyone about the stablecoin “Life and Death”, Hellen shared the stablecoin in detail, and published his own the opinion of. For details, please move to the live room.

On May 30th, Zaoshen came to share the theme: Dongfeng blowing, bullets flying, unlimited chase? In this issue, Zao Shen shared with you the recent international financial situation and various major events in the United States in the past week, which extended to the impact on the currency circle and answered various questions about investment strategies. Friends who want to know more details can move to the live room of Zao Shen.
3.TokenClub operation data
-Live data: 13 live broadcasts in the past two weeks, with over 800,000 views. TokenClub hosted a total of 870 live broadcasts with a total of 45.06 million views.
-Binary trade data: In the past two weeks, guess the rise and fall to participate in a total of 1268 times, the amount of participation exceeded 2 million TCT. At present, it is guessed that the rise and fall function has participated in a total of 1.11 million times, with a cumulative participation amount of 498 million TCT.
-Chat data: In the past two weeks, a total of 19271 messages have been generated. A total of 4.85 milliom messages have been launched since the function was launched.
-Mini-game data: The mini-game has participated in a total of 4212 times in the past two weeks. A total of 1,66 million self-functions have been online.
-Cut leeks game data together: Since the game was launched, the total number of user participation in the game was 962612 TCT total consumption was 6,27 million gift certificate total consumption was 15,95million and TCT mining output was 161496.
-TokenClub KOL data: Over the past two weeks, the total reading volume of the BTCGrandpa article has been viewed by more than 300,000 people.
-Social media data: At present, the number of Weibo official accounts is 18033 and the number of Twitter followers is 1332 and we have opened the official Medium account this week, welcome to follow.
-Telegram official group data: In the past 2 weeks, there were 238 chats in the group, and the total number of Telegram official groups is currently 2906.
-Medium data: Medium official account u/TokenClub has published 5 excellent articles, official announcements and updates are published in English, welcome to follow.
4.Communities
1)Overseas Community
TokenClub held an event for forwarding Twitter and telegram group chats for overseas users. Bitcoin halved in less than two weeks, overseas users are more active in the telegram group, and some friends are more concerned about Binance Block 101 live broadcast, aggregation exchange, TCT usage and other issues, the administrator responded in time.On May 12th, when Bitcoin was halved, TokenClub organized a forwarding Twitter, telegram group chat prize event and participating in a live question asking interactive prize event for overseas users. There are many live broadcast events in the near future. The live broadcast poster information will be released to overseas users as soon as possible. The follow-up TokenClub will translate and broadcast high-quality live broadcast content to Twitter and Medium. Bitcoin halved, overseas users are more active in the telegram group, and some partners are more concerned about block 101 live broadcast, bitcoin future price trend, TCT usage and other issues, the administrator responded in time in the group.


https://preview.redd.it/2nrknnyo06251.png?width=1080&format=png&auto=webp&s=fb98b385c0caf7e65c7b3b2bb1edd782ec126905
2)Domestic community
Sweet Orange Club Weekly News
Last Friday, a holiday, the community opened the red envelope rain event, and brought a sincere gift to everyone while relaxing in the holiday. At the same time, it also sent the most sincere blessings to all mothers in the community on Mother’s Day. Thank you for your long-term support and help to the Orange Club community.

Hundred-day scheduled investment event (Phase II)
The fourth week of the second 100-day fixed investment plan held this week has been awarded, and everyone is still very active in this event. This week, the Bitcoin halving market was also opened in advance. The small partners participating in the fixed investment should now have a certain floating win, so we adopt the correct cycle investment strategy to believe that it can bring unexpected benefits to everyone.
Sign in the lottery.
On the evening of May 3rd and May 10th, TCT Fortune Free Academy carried out the 51st and 52nd week sign-in sweepstakes, and rewarded the small TCT partners who had always insisted on signing in. In these two sign-in sweepstakes, the lucky friends received 20–180TCT as a reward. In addition, during the lucky draw, the college friends also actively expressed their opinions on the topic of this year’s bull market.

The Leek Paradise Community Conference will continue as usual every Sunday at 20:00. During the conference, members will discuss recent hot topics, including gifts and blessings for Mother ’s Day, and the halving of Bitcoin everyone is paying attention to. At the end, the friends in the group also showed a rare enthusiasm at the first sight. It seems that the market still affects the mood. The members routinely started a red envelope rain to cheer for the participating partners and encourage everyone to maintain patience and confidence. Of course, at the same time, we are encouraging ourselves to see the community meeting next week. Come on!

TokenClub volunteer community, sign in red envelopes every day, as long as you sign in every day, you can get good benefits, friends join us quickly! In the past two weeks, the community has conducted active partners.
Volunteer community: Change to the currency circle consultation and pass the analysis of Grandma Coin and Panda analysts, support TokenClub in action, and continue to vote for TCT. In the last month, we have worked hard to learn the rain god’s strategy. We have doubled the coins in our hands. The community WeChat group has recently injected fresh students. We look forward to more people joining! Volunteer community, will continue to work hard for TokenClub
TCT has been listed on Binance、Okex、Gate.io、ZB-M、MXC、Biki、Coinex、BigOne、Coinbene、Cybex、SWFT、Loopring、Rootrex etc.
TokenClub website: www.tokenclub.com
Telegram:https://t.me/token\_club
submitted by tokenclubtct to u/tokenclubtct [link] [comments]

TokenClub Bi-Weekly Report — Issue 114(5.4–5.17)

TokenClub Bi-Weekly Report — Issue 114(5.4–5.17)

https://preview.redd.it/sxiftidp8cz41.png?width=1343&format=png&auto=webp&s=645584b9971068f347f80b63016bf229e45b0bbf
Hello everyone, thank you for your continued interest and support. In the past two weeks, various tasks of TokenClub have been progressing steadily. The product development and community operation progress this week are as follows:
1. TokenClub Events
1)Binance blockchain live streaming program “Block 101” joins TokenClub APP
TokenClub teamed up with Binance “Block 101” to host a series of live broadcast events. In the past two weeks, the big brothers such as the CEO of Feixin, Cobo co-founder Shenyu, and IOST co-founder Terry visited the TokenClub live broadcast room. See live summary. “Block 101” is a live broadcast of dialogues launched by Binance New Media Marketing Team, hosted by Jiayi, Anna, Liuliu, Yingge, Sisi, Qiqi, Doris, etc. Here will invite entrepreneurs in the industry, investment giants, opinion leaders, trading bulls or ordinary people with stories. Every Monday to Friday, with you in the TokenClub live room.

https://preview.redd.it/2ftnirwq8cz41.png?width=1080&format=png&auto=webp&s=88f45a13ad522f8d5139a703cbf2f337720907f2
https://preview.redd.it/qubkprdr8cz41.png?width=690&format=png&auto=webp&s=878a619dc582b7c2bb6d660395be4b350cb74983
2)Participate in poster forwarding, draw red envelope prize
When Bitcoin halves, TokenClub launches a poster forwarding red envelope campaign. On the day of the event, forward the poster to Twitter and the telegram group, and upload a screenshot to have the opportunity to extract the TCT red envelope award ~



3)Participate in live streaming interactive questions and win mysterious gift events
From May 11th to May 15th, TokenClub launched a live question and prize draw event. During the event, watch the block 101 live broadcast and interact with questions during the live broadcast, you will have the opportunity to get a mysterious gift from TokenClub.


https://preview.redd.it/rcx8yett8cz41.png?width=1080&format=png&auto=webp&s=4e2541c0d893e20725c54d76ad96634a79cfb8fd
3)TokenClub’s self-media Bilaoye was invited to participate in AMA
a. On May 7th,Bilaoye was invited by UPChain to conduct an AMA with the theme of “Half Countdown, Where Will the Market Go” in the Chains community. AMA article link:
http://public.tokenup100.com/page/article.html?articleId=f1db8c6bfaa94886bbdd863ec9908252&from=timeline&isappinstalled=0
b. On May 8th, Bilaoye was invited by Golden Finance to conduct an AMA with the theme “Bitcoin Breaks Over US $ 10,000 and Will Do This in Half”. Review link:
https://m.jinse.com/live/topic?id=11813&from=singlemessage&isappinstalled=0
C. On May 14, Bilaoye was invited by Cailu Finance to conduct an AMA with the theme of “Correct Postures for Depositing Money” in the Cailu community.Review link:

https://preview.redd.it/47prnpkv8cz41.png?width=1080&format=png&auto=webp&s=5baa2e06ec09ecdd60adb609bac247333059c016
2.TokenClub Live
1) Summary
Recently, Feng Yuqing, the director of Yicai Global America, the first Chinese reporter to interview Buffett, the organizer & host of the First Financial New York Forum; a world-renowned financial expert, a professor of finance at the Cheung Kong Graduate School of Business, and the director of the finance department -Cao Huining; ARPA founder Felix, SWFT Blockchain one-stop currency exchange cross-chain platform operation in Greater China & BD leader-Ye Fei, mining big man Binxin Mining CEO “Feige”, contract emperor co-founder Xiaoding, AlchemyPay co-founder Shi Xiang, financial expert & first-line trader Xu Zhe, Huobi Key Account Manager-Xiaotong, Roark Group & Bitribe & 499 Block founder sky, Cobo co-founder Shenyu, DappReview CEO Niu Fengxuan, IOST co-founder Terry; and TokenClub blockchain and cryptocurrency investment strategy senior expert-Zao Shen talks with you about the blockchain ~
On May 6, Block 101 Sisi Dialogue Felix, the founder of the hard-core technical team on the blockchain, ARPA Felix, the theme is “The Wall Street Battle of the Wall Street Elite”. In this live dialogue, the resume is dazzling. , The young man who was free to switch between “Yangchun Baixue” and “earthed gas” from the team’s initial heart chat to his investment strategy to the judgment of the entire currency market, his fanaticism of rock seems to explain a series of “adventure” options- — Longing for a more free and innovative world.


https://preview.redd.it/7fahx79x8cz41.png?width=1080&format=png&auto=webp&s=b0282a4fb4730d2898b15326d42e0460a3b92f10
On May 6th, TokenClub invited the one-stop SWFT Blockchain currency exchange cross-chain platform Greater China operation & BD leader-Ye Fei as a guest to “Jingjing at 8 o’clock” live broadcast, bringing us “flash exchange in the future block The theme of “Chain Payment Ecosystem” is shared. Mr. Ye made a detailed interpretation of SWFTC, and revealed the development plan of SWFTC, and exchanged questions and answers with fans enthusiastically.

https://preview.redd.it/27thi7cy8cz41.png?width=1080&format=png&auto=webp&s=df20cc7176e671942d85edf6b0790c0b8020663f
On May 7th, Block 101 Luna talked to the CEO of the mining industry, who is most familiar with KTV, Kexin Mining, “Fei Ge”. Liu Fei talked to Bin An Luna, he counted his mining “stepping on the pit road” “, Talking about halving the market and investment experience, talking to the second half, wearing a red Polo shirt, he began to persuade everyone to learn more in the KTV in Beijing at night, and recommended books.


https://preview.redd.it/4nhtp1sz8cz41.png?width=1080&format=png&auto=webp&s=03b8e1da731eefd1d57f65e3d1fa337e7eaafd66
On May 8, the TokenClub live column-”Professor had an appointment” shared the theme: “BOC crude oil treasure and financial derivatives market”. In this issue, Professor Cao invited the first U.S. Global Director of the United States, the first Chinese reporter to interview Buffett, the organizer & host of the First Financial New York Forum, and Columbia University Master of International Relations Feng Yuqing to share with guests on Chain, digital currency financial derivatives market, etc. have done a detailed exchange analysis.

https://preview.redd.it/4zgaxsw09cz41.png?width=1080&format=png&auto=webp&s=a88fc93057a631cc152b225dfb186385abaffbd6
On May 8th, block 101 was led by Binance BD’s head Li Jiayi, who talked about contract emperor co-founder Xiao Dingdang. He is an old code farmer who is known for his futures contract operations. He wrote a 10-year code, and the front end Everyone is familiar with it, and it is hard to say anything on the line of speech. Frankly, he talked from his fortune history to the story of the endless number of contract circles, and shared his trading iron law with everyone: there must be a stop loss; must practice more and try more.


https://preview.redd.it/90hyrg639cz41.png?width=1080&format=png&auto=webp&s=ded092ee130fa72d7b38e2ee9ca9b4d67d382c71
On May 9th, Zaoshen is coming ~ The sharing theme of this issue is: The Yangtze River will push back and forth, and one wave will be more than one wave. Speaking of the “Houlang” hot event, Zao Shen mainly analyzed the halving market with everyone in detail, to see how many opportunities there are and what strategies to choose. Soul asked: How much money did you make in this wave of quotes?


https://preview.redd.it/dwh2ojp49cz41.png?width=1080&format=png&auto=webp&s=466850dcc4d01e49872b144e49369c859256a67c
On May 11, Block 101 was discussed by Binance Qiqi Dialogue AlchemyPay co-founder Shi Xiang, the former vice president of Zhongan Technology and the founder of Micro Index shared with you the experience of dealing with overseas regulators: supervision is not actually strong Groups, regulation will strike you because you are worried about doing bad things, but as long as you are willing to actively communicate, regulation usually gives a tolerance period. For more content, please move to the live room.

https://preview.redd.it/grgnfkw59cz41.png?width=1080&format=png&auto=webp&s=83afa9faf03d4da0b26fc85f9e0c562127ca9f83
May 12, Exclusive: Huobi Global & Knowing Daniel Interpretation of “Physical Currency, Debt Currency to Encrypted Digital Currency”. The key account manager of Huobi Global has a conversation with financial expert and front-line trader Xu Zhe, talking about physical currency, debt currency and encrypted digital currency. Work is tired enough, the market is already exciting enough, pick Xu Da Tucao various currencies, teach you to return all the money. The value of the young lady’s face is a feeling of emotion.


https://preview.redd.it/8vsehsc79cz41.png?width=1080&format=png&auto=webp&s=b305df0b0c51b339ef109d8041da4ae05a7f7fd0
On May 12, Block 101 was founded by Binance Thinking, the founder of Roark Group, Bitribe, and 499Block. Sky, a science and technology man from Tsinghua University and MIT, has the title of “Coin Circle Zheng Kai”. Sky said that starting a business in the blockchain industry is like drifting in the turbulent Amazon River. If you do n’t believe that you will eventually reach the sea, you will be thrown off. Sky believes that Bitcoin is essentially a consensus based on time. Halving is like escaping the monsters, and each level increases the consensus.

https://preview.redd.it/gc9mgni89cz41.png?width=1080&format=png&auto=webp&s=2842c60a520c27993f8b4d1c611e112514352482
On May 13th, Block 101 Luna talked to F2Pool and Cobo co-founder Shenyu, and talked about the “new” story of Bitcoin. Leo ’s Godfish talked to us about the monopoly of computing power, mining pool operations, halving and Cobo ’s future development goals. He said that 80–90% of personal assets are Bitcoin, and about 10% of Ethereum and other Strange coins from mining. It is called “the first segment of the coin circle” because “more pits are filled, so in the end each pit becomes a stalk.”

https://preview.redd.it/rga6ean99cz41.png?width=1080&format=png&auto=webp&s=243c7aae2d8144621e913f3c8615465eea1d42e4
On May 14, Niu Fengxuan, CEO of DappReview, talked about “how ordinary people make money through Dapp”. Niu Fengxuan graduated from Fudan and Stanford. He is a serious game enthusiast. He has written many in-depth game evaluations and is an early participant of Dapp. He said that many people think that the biggest application of blockchain is speculation, but the technology ultimately serves products and applications. In the long run, if blockchain can really bring changes and innovations to the world technically, then it must be C-side users should feel it in a more friendly way in other fields.


https://preview.redd.it/zx38u5qa9cz41.png?width=1080&format=png&auto=webp&s=da5a65164e1ee8a3b91e446bdce8c5c7e905990f
On May 15th, Block 101 Yingge talked to IOST co-founder Terry and talked about “The Blockchain Ideal of Princeton Schoolmaster”. Terry told us about his sad history, happy history, and experience and experience of mining from college mining to graduate school to entrepreneurship, talked about the development direction of the blockchain market, and interacted with fans.


https://preview.redd.it/uats2yqb9cz41.png?width=1080&format=png&auto=webp&s=aba5587f0a96b0e31b3b205ea0d7a48a03664dd5
On May 16th, senior expert Zao Shen brought a live broadcast on the theme of “Depth Is Insufficient In Operation, How To Play With Crash”. In this live broadcast, in addition to analyzing the macro level of the economy, Zao Shen also focused on sharing The specific operation skills emphasized the principle of buying and selling, and finally commented on the hot events such as the recent Federal Reserve announcement that it will not fall to negative interest rates.


3.TokenClub operation data
-Live data: 13 live broadcasts in the past two weeks, with over 600,000 views. TokenClub hosted a total of 835 live broadcasts with a total of 44.25 million views.
-Binary trade data: In the past two weeks, guess the rise and fall to participate in a total of 1060 times, the amount of participation exceeded 2 million TCT. At present, it is guessed that the rise and fall function has participated in a total of 1.11 million times, with a cumulative participation amount of 496 million TCT.
-Chat data: In the past two weeks, a total of 28,950 messages have been generated. A total of 4.83 milliom messages have been launched since the function was launched.
-Mini-game data: The mini-game has participated in a total of 7,830 times in the past two weeks. A total of 1,66 million self-functions have been online.
-Cut leeks game data together: Since the game was launched, the total number of user participation in the game was 954,364 TCT total consumption was 6,27 million gift certificate total consumption was 15,53 million and TCT mining output was 160,48.
-TokenClub KOL data: Over the past two weeks, the total reading volume of the BTCGrandpa article has been viewed by more than 300,000 people.
-Social media data: At present, the number of Weibo official accounts is 17,972 and the number of Twitter followers is 1310, and we have opened the official Medium account this week, welcome to follow.
-Telegram official group data: In the past 2 weeks, there were 310 chats in the group, and the total number of Telegram official groups is currently 2971.
-Medium data: Medium official account u/TokenClub has published 1 excellent articles, official announcements and updates are published in English, welcome to follow.
4.Communities
1)Overseas community
TokenClub held an event for forwarding Twitter and telegram group chats for overseas users. Bitcoin halved in less than two weeks, overseas users are more active in the telegram group, and some friends are more concerned about Binance Block 101 live broadcast, aggregation exchange, TCT usage and other issues, the administrator responded in time.On May 12th, when Bitcoin was halved, TokenClub organized a forwarding Twitter, telegram group chat prize event and participating in a live question asking interactive prize event for overseas users. There are many live broadcast events in the near future. The live broadcast poster information will be released to overseas users as soon as possible. The follow-up TokenClub will translate and broadcast high-quality live broadcast content to Twitter and Medium. Bitcoin halved, overseas users are more active in the telegram group, and some partners are more concerned about block 101 live broadcast, bitcoin future price trend, TCT usage and other issues, the administrator responded in time in the group.

https://preview.redd.it/msi423re9cz41.png?width=1080&format=png&auto=webp&s=f0c453445cea34b8cba807e8bfa237dabfe9fb24
2)Domestic community
Last Friday, a holiday, the community opened the red envelope rain event, and brought a sincere gift to everyone while relaxing in the holiday. At the same time, it also sent the most sincere blessings to all mothers in the community on Mother’s Day. Thank you for your long-term support and help to the Orange Club community.


The third week of the second 100-day fixed investment plan held this week has been awarded. The participation of this event is still quite positive. This week, the bitcoin halving market was also opened in advance. If it starts according to the first day The small partners participating in the fixed investment should now have a certain floating win, so we adopt the correct cycle investment strategy to believe that it can bring unexpected benefits to everyone.


On May 9th and May 16th, TCT Fortune Free Academy carried out red envelope party activities as scheduled. In the event, in addition to GF red envelopes, students were reminded that there may be a callback risk after the pie halving, and short-term profits are available.


On the evening of May 3rd and May 10th, TCT Fortune Free Academy carried out the 51st and 52nd week sign-in sweepstakes, and rewarded the small TCT partners who had always insisted on signing in. In these two sign-in sweepstakes, the lucky friends received 20–180TCT as a reward. In addition, during the lucky draw, the college friends also actively expressed their opinions on the topic of this year’s bull market.

The Leek Paradise Community Conference will continue as usual every Sunday at 20:00. During the conference, members will discuss recent hot topics, including gifts and blessings for Mother ’s Day, and the halving of Bitcoin everyone is paying attention to. At the end, the friends in the group also showed a rare enthusiasm at the first sight. It seems that the market still affects the mood. The members routinely started a red envelope rain to cheer for the participating partners and encourage everyone to maintain patience and confidence. Of course, at the same time, we are encouraging ourselves to see the community meeting next week. Come on!

TokenClub volunteer community, sign in red envelopes every day, as long as you sign in every day, you can get good benefits, friends join us quickly! In the past two weeks, the community has conducted active partners.

TCT has been listed on Binance、Okex、Gate.io、ZB-M、MXC、Biki、Coinex、BigOne、Coinbene、Cybex、SWFT、Loopring、Rootrex etc.
TokenClub website: www.tokenclub.com
Telegram:https://t.me/token\_club
TokenClub App download QR code

https://preview.redd.it/59o55ojn9cz41.png?width=560&format=png&auto=webp&s=b3b3f69f59d6f25c87319d7e9331435e36e27ba7
submitted by tokenclubtct to u/tokenclubtct [link] [comments]

Newly appointed Chief of Staff Mick Mulvaney is Pro Bitcoin...that's good

Newly appointed Chief of Staff Mick Mulvaney is Pro Bitcoin...that's good submitted by Ishan1121 to Bitcoin [link] [comments]

FlowCards: A Declarative Framework for Development of Ergo dApps

FlowCards: A Declarative Framework for Development of Ergo dApps
Introduction
ErgoScript is the smart contract language used by the Ergo blockchain. While it has concise syntax adopted from Scala/Kotlin, it still may seem confusing at first because conceptually ErgoScript is quite different compared to conventional languages which we all know and love. This is because Ergo is a UTXO based blockchain, whereas smart contracts are traditionally associated with account based systems like Ethereum. However, Ergo's transaction model has many advantages over the account based model and with the right approach it can even be significantly easier to develop Ergo contracts than to write and debug Solidity code.
Below we will cover the key aspects of the Ergo contract model which makes it different:
Paradigm
The account model of Ethereum is imperative. This means that the typical task of sending coins from Alice to Bob requires changing the balances in storage as a series of operations. Ergo's UTXO based programming model on the other hand is declarative. ErgoScript contracts specify conditions for a transaction to be accepted by the blockchain (not changes to be made in the storage state as result of the contract execution).
Scalability
In the account model of Ethereum both storage changes and validity checks are performed on-chain during code execution. In contrast, Ergo transactions are created off-chain and only validation checks are performed on-chain thus reducing the amount of operations performed by every node on the network. In addition, due to immutability of the transaction graph, various optimization strategies are possible to improve throughput of transactions per second in the network. Light verifying nodes are also possible thus further facilitating scalability and accessibility of the network.
Shared state
The account-based model is reliant on shared mutable state which is known to lead to complex semantics (and subtle million dollar bugs) in the context of concurrent/ distributed computation. Ergo's model is based on an immutable graph of transactions. This approach, inherited from Bitcoin, plays well with the concurrent and distributed nature of blockchains and facilitates light trustless clients.
Expressive Power
Ethereum advocated execution of a turing-complete language on the blockchain. It theoretically promised unlimited potential, however in practice severe limitations came to light from excessive blockchain bloat, subtle multi-million dollar bugs, gas costs which limit contract complexity, and other such problems. Ergo on the flip side extends UTXO to enable turing-completeness while limiting the complexity of the ErgoScript language itself. The same expressive power is achieved in a different and more semantically sound way.
With the all of the above points, it should be clear that there are a lot of benefits to the model Ergo is using. In the rest of this article I will introduce you to the concept of FlowCards - a dApp developer component which allows for designing complex Ergo contracts in a declarative and visual way.

From Imperative to Declarative

In the imperative programming model of Ethereum a transaction is a sequence of operations executed by the Ethereum VM. The following Solidity function implements a transfer of tokens from sender to receiver . The transaction starts when sender calls this function on an instance of a contract and ends when the function returns.
// Sends an amount of existing coins from any caller to an address function send(address receiver, uint amount) public { require(amount <= balances[msg.sender], "Insufficient balance."); balances[msg.sender] -= amount; balances[receiver] += amount; emit Sent(msg.sender, receiver, amount); } 
The function first checks the pre-conditions, then updates the storage (i.e. balances) and finally publishes the post-condition as the Sent event. The gas which is consumed by the transaction is sent to the miner as a reward for executing this transaction.
Unlike Ethereum, a transaction in Ergo is a data structure holding a list of input coins which it spends and a list of output coins which it creates preserving the total balances of ERGs and tokens (in which Ergo is similar to Bitcoin).
Turning back to the example above, since Ergo natively supports tokens, therefore for this specific example of sending tokens we don't need to write any code in ErgoScript. Instead we need to create the ‘send’ transaction shown in the following figure, which describes the same token transfer but declaratively.
https://preview.redd.it/sxs3kesvrsv41.png?width=1348&format=png&auto=webp&s=582382bc26912ff79114d831d937d94b6988e69f
The picture visually describes the following steps, which the network user needs to perform:
  1. Select unspent sender's boxes, containing in total tB >= amount of tokens and B >= txFee + minErg ERGs.
  2. Create an output target box which is protected by the receiver public key with minErg ERGs and amount of T tokens.
  3. Create one fee output protected by the minerFee contract with txFee ERGs.
  4. Create one change output protected by the sender public key, containing B - minErg - txFee ERGs and tB - amount of T tokens.
  5. Create a new transaction, sign it using the sender's secret key and send to the Ergo network.
What is important to understand here is that all of these steps are preformed off-chain (for example using Appkit Transaction API) by the user's application. Ergo network nodes don't need to repeat this transaction creation process, they only need to validate the already formed transaction. ErgoScript contracts are stored in the inputs of the transaction and check spending conditions. The node executes the contracts on-chain when the transaction is validated. The transaction is valid if all of the conditions are satisfied.
Thus, in Ethereum when we “send amount from sender to recipient” we are literally editing balances and updating the storage with a concrete set of commands. This happens on-chain and thus a new transaction is also created on-chain as the result of this process.
In Ergo (as in Bitcoin) transactions are created off-chain and the network nodes only verify them. The effects of the transaction on the blockchain state is that input coins (or Boxes in Ergo's parlance) are removed and output boxes are added to the UTXO set.
In the example above we don't use an ErgoScript contract but instead assume a signature check is used as the spending pre-condition. However in more complex application scenarios we of course need to use ErgoScript which is what we are going to discuss next.

From Changing State to Checking Context

In the send function example we first checked the pre-condition (require(amount <= balances[msg.sender],...) ) and then changed the state (i.e. update balances balances[msg.sender] -= amount ). This is typical in Ethereum transactions. Before we change anything we need to check if it is valid to do so.
In Ergo, as we discussed previously, the state (i.e. UTXO set of boxes) is changed implicitly when a valid transaction is included in a block. Thus we only need to check the pre-conditions before the transaction can be added to the block. This is what ErgoScript contracts do.
It is not possible to “change the state” in ErgoScript because it is a language to check pre-conditions for spending coins. ErgoScript is a purely functional language without side effects that operates on immutable data values. This means all the inputs, outputs and other transaction parameters available in a script are immutable. This, among other things, makes ErgoScript a very simple language that is easy to learn and safe to use. Similar to Bitcoin, each input box contains a script, which should return the true value in order to 1) allow spending of the box (i.e. removing from the UTXO set) and 2) adding the transaction to the block.
If we are being pedantic, it is therefore incorrect (strictly speaking) to think of ErgoScript as the language of Ergo contracts, because it is the language of propositions (logical predicates, formulas, etc.) which protect boxes from “illegal” spending. Unlike Bitcoin, in Ergo the whole transaction and a part of the current blockchain context is available to every script. Therefore each script may check which outputs are created by the transaction, their ERG and token amounts (we will use this capability in our example DEX contracts), current block number etc.
In ErgoScript you define the conditions of whether changes (i.e. coin spending) are allowed to happen in a given context. This is in contrast to programming the changes imperatively in the code of a contract.
While Ergo's transaction model unlocks a whole range of applications like (DEX, DeFi Apps, LETS, etc), designing contracts as pre-conditions for coin spending (or guarding scripts) directly is not intuitive. In the next sections we will consider a useful graphical notation to design contracts declaratively using FlowCard Diagrams, which is a visual representation of executable components (FlowCards).
FlowCards aim to radically simplify dApp development on the Ergo platform by providing a high-level declarative language, execution runtime, storage format and a graphical notation.
We will start with a high level of diagrams and go down to FlowCard specification.

FlowCard Diagrams

The idea behind FlowCard diagrams is based on the following observations: 1) An Ergo box is immutable and can only be spent in the transaction which uses it as an input. 2) We therefore can draw a flow of boxes through transactions, so that boxes flowing in to the transaction are spent and those flowing out are created and added to the UTXO. 3) A transaction from this perspective is simply a transformer of old boxes to the new ones preserving the balances of ERGs and tokens involved.
The following figure shows the main elements of the Ergo transaction we've already seen previously (now under the name of FlowCard Diagram).
https://preview.redd.it/06aqkcd1ssv41.png?width=1304&format=png&auto=webp&s=106eda730e0526919aabd5af9596b97e45b69777
There is a strictly defined meaning (semantics) behind every element of the diagram, so that the diagram is a visual representation (or a view) of the underlying executable component (called FlowCard).
The FlowCard can be used as a reusable component of an Ergo dApp to create and initiate the transaction on the Ergo blockchain. We will discuss this in the coming sections.
Now let's look at the individual pieces of the FlowCard diagram one by one.
1. Name and Parameters
Each flow card is given a name and a list of typed parameters. This is similar to a template with parameters. In the above figure we can see the Send flow card which has five parameters. The parameters are used in the specification.
2. Contract Wallet
This is a key element of the flow card. Every box has a guarding script. Often it is the script that checks a signature against a public key. This script is trivial in ErgoScript and is defined like the def pk(pubkey: Address) = { pubkey } template where pubkey is a parameter of the type Address . In the figure, the script template is applied to the parameter pk(sender) and thus a concrete wallet contract is obtained. Therefore pk(sender) and pk(receiver) yield different scripts and represent different wallets on the diagram, even though they use the same template.
Contract Wallet contains a set of all UTXO boxes which have a given script derived from the given script template using flow card parameters. For example, in the figure, the template is pk and parameter pubkey is substituted with the `sender’ flow card parameter.
3. Contract
Even though a contract is a property of a box, on the diagram we group the boxes by their contracts, therefore it looks like the boxes belong to the contracts, rather than the contracts belong to the boxes. In the example, we have three instantiated contracts pk(sender) , pk(receiver) and minerFee . Note, that pk(sender) is the instantiation of the pk template with the concrete parameter sender and minerFee is the instantiation of the pre-defined contract which protects the miner reward boxes.
4. Box name
In the diagram we can give each box a name. Besides readability of the diagram, we also use the name as a synonym of a more complex indexed access to the box in the contract. For example, change is the name of the box, which can also be used in the ErgoScript conditions instead of OUTPUTS(2) . We also use box names to associate spending conditions with the boxes.
5. Boxes in the wallet
In the diagram, we show boxes (darker rectangles) as belonging to the contract wallets (lighter rectangles). Each such box rectangle is connected with a grey transaction rectangle by either orange or green arrows or both. An output box (with an incoming green arrow) may include many lines of text where each line specifies a condition which should be checked as part of the transaction. The first line specifies the condition on the amount of ERG which should be placed in the box. Other lines may take one of the following forms:
  1. amount: TOKEN - the box should contain the given amount of the given TOKEN
  2. R == value - the box should contain the given value of the given register R
  3. boxName ? condition - the box named boxName should check condition in its script.
We discuss these conditions in the sections below.
6. Amount of ERGs in the box
Each box should store a minimum amount of ERGs. This is checked when the creating transaction is validated. In the diagram the amount of ERGs is always shown as the first line (e.g. B: ERG or B - minErg - txFee ). The value type ascription B: ERG is optional and may be used for readability. When the value is given as a formula, then this formula should be respected by the transaction which creates the box.
It is important to understand that variables like amount and txFee are not named properties of the boxes. They are parameters of the whole diagram and representing some amounts. Or put it another way, they are shared parameters between transactions (e.g. Sell Order and Swap transactions from DEX example below share the tAmt parameter). So the same name is tied to the same value throughout the diagram (this is where the tooling would help a lot). However, when it comes to on-chain validation of those values, only explicit conditions which are marked with ? are transformed to ErgoScript. At the same time, all other conditions are ensured off-chain during transaction building (for example in an application using Appkit API) and transaction validation when it is added to the blockchain.
7. Amount of T token
A box can store values of many tokens. The tokens on the diagram are named and a value variable may be associated with the token T using value: T expression. The value may be given by formula. If the formula is prefixed with a box name like boxName ? formula , then it is should also be checked in the guarding script of the boxName box. This additional specification is very convenient because 1) it allows to validate the visual design automatically, and 2) the conditions specified in the boxes of a diagram are enough to synthesize the necessary guarding scripts. (more about this below at “From Diagrams To ErgoScript Contracts”)
8. Tx Inputs
Inputs are connected to the corresponding transaction by orange arrows. An input arrow may have a label of the following forms:
  1. [email protected] - optional name with an index i.e. [email protected] or u/2 . This is a property of the target endpoint of the arrow. The name is used in conditions of related boxes and the index is the position of the corresponding box in the INPUTS collection of the transaction.
  2. !action - is a property of the source of the arrow and gives a name for an alternative spending path of the box (we will see this in DEX example)
Because of alternative spending paths, a box may have many outgoing orange arrows, in which case they should be labeled with different actions.
9. Transaction
A transaction spends input boxes and creates output boxes. The input boxes are given by the orange arrows and the labels are expected to put inputs at the right indexes in INPUTS collection. The output boxes are given by the green arrows. Each transaction should preserve a strict balance of ERG values (sum of inputs == sum of outputs) and for each token the sum of inputs >= the sum of outputs. The design diagram requires an explicit specification of the ERG and token values for all of the output boxes to avoid implicit errors and ensure better readability.
10. Tx Outputs
Outputs are connected to the corresponding transaction by green arrows. An output arrow may have a label of the following [email protected] , where an optional name is accompanied with an index i.e. [email protected] or u/2 . This is a property of the source endpoint of the arrow. The name is used in conditions of the related boxes and the index is the position of the corresponding box in the OUTPUTS collection of the transaction.

Example: Decentralized Exchange (DEX)

Now let's use the above described notation to design a FlowCard for a DEX dApp. It is simple enough yet also illustrates all of the key features of FlowCard diagrams which we've introduced in the previous section.
The dApp scenario is shown in the figure below: There are three participants (buyer, seller and DEX) of the DEX dApp and five different transaction types, which are created by participants. The buyer wants to swap ergAmt of ERGs for tAmt of TID tokens (or vice versa, the seller wants to sell TID tokens for ERGs, who sends the order first doesn't matter). Both the buyer and the seller can cancel their orders any time. The DEX off-chain matching service can find matching orders and create the Swap transaction to complete the exchange.
The following diagram fully (and formally) specifies all of the five transactions that must be created off-chain by the DEX dApp. It also specifies all of the spending conditions that should be verified on-chain.

https://preview.redd.it/piogz0v9ssv41.png?width=1614&format=png&auto=webp&s=e1b503a635ad3d138ef91e2f0c3b726e78958646
Let's discuss the FlowCard diagram and the logic of each transaction in details:
Buy Order Transaction
A buyer creates a Buy Order transaction. The transaction spends E amount of ERGs (which we will write E: ERG ) from one or more boxes in the pk(buyer) wallet. The transaction creates a bid box with ergAmt: ERG protected by the buyOrder script. The buyOrder script is synthesized from the specification (see below at “From Diagrams To ErgoScript Contracts”) either manually or automatically by a tool. Even though we don't need to define the buyOrder script explicitly during designing, at run time the bid box should contain the buyOrder script as the guarding proposition (which checks the box spending conditions), otherwise the conditions specified in the diagram will not be checked.
The change box is created to make the input and output sums of the transaction balanced. The transaction fee box is omitted because it can be added automatically by the tools. In practice, however, the designer can add the fee box explicitly to the a diagram. It covers the cases of more complex transactions (like Swap) where there are many ways to pay the transaction fee.
Cancel Buy, Cancel Sell Transactions
At any time, the buyer can cancel the order by sending CancelBuy transaction. The transaction should satisfy the guarding buyOrder contract which protects the bid box. As you can see on the diagram, both the Cancel and the Swap transactions can spend the bid box. When a box has spending alternatives (or spending paths) then each alternative is identified by a unique name prefixed with ! (!cancel and !swap for the bid box). Each alternative path has specific spending conditions. In our example, when the Cancel Buy transaction spends the bid box the ?buyer condition should be satisfied, which we read as “the signature for the buyer address should be presented in the transaction”. Therefore, only buyer can cancel the buy order. This “signature” condition is only required for the !cancel alternative spending path and not required for !swap .
Sell Order Transaction
The Sell Order transaction is similar to the BuyOrder in that it deals with tokens in addition to ERGs. The transaction spends E: ERG and T: TID tokens from seller's wallet (specified as pk(seller) contract). The two outputs are ask and change . The change is a standard box to balance transaction. The ask box keeps tAmt: TID tokens for the exchange and minErg: ERG - the minimum amount of ERGs required in every box.
Swap Transaction
This is a key transaction in the DEX dApp scenario. The transaction has several spending conditions on the input boxes and those conditions are included in the buyOrder and sellOrder scripts (which are verified when the transaction is added to the blockchain). However, on the diagram those conditions are not specified in the bid and ask boxes, they are instead defined in the output boxes of the transaction.
This is a convention for improved usability because most of the conditions relate to the properties of the output boxes. We could specify those properties in the bid box, but then we would have to use more complex expressions.
Let's consider the output created by the arrow labeled with [email protected] . This label tells us that the output is at the index 0 in the OUTPUTS collection of the transaction and that in the diagram we can refer to this box by the buyerOut name. Thus we can label both the box itself and the arrow to give the box a name.
The conditions shown in the buyerOut box have the form bid ? condition , which means they should be verified on-chain in order to spend the bid box. The conditions have the following meaning:
  • tAmt: TID requires the box to have tAmt amount of TID token
  • R4 == bid.id requires R4 register in the box to be equal to id of the bid box.
  • script == buyer requires the buyerOut box to have the script of the wallet where it is located on the diagram, i.e. pk(buyer)
Similar properties are added to the sellerOut box, which is specified to be at index 1 and the name is given to it using the label on the box itself, rather than on the arrow.
The Swap transaction spends two boxes bid and ask using the !swap spending path on both, however unlike !cancel the conditions on the path are not specified. This is where the bid ? and ask ? prefixes come into play. They are used so that the conditions listed in the buyerOut and sellerOut boxes are moved to the !swap spending path of the bid and ask boxes correspondingly.
If you look at the conditions of the output boxes, you will see that they exactly specify the swap of values between seller's and buyer's wallets. The buyer gets the necessary amount of TID token and seller gets the corresponding amount of ERGs. The Swap transaction is created when there are two matching boxes with buyOrder and sellOrder contracts.

From Diagrams To ErgoScript Contracts

What is interesting about FlowCard specifications is that we can use them to automatically generate the necessary ErgoTree scripts. With the appropriate tooling support this can be done automatically, but with the lack of thereof, it can be done manually. Thus, the FlowCard allows us to capture and visually represent all of the design choices and semantic details of an Ergo dApp.
What we are going to do next is to mechanically create the buyOrder contract from the information given in the DEX flow card.
Recall that each script is a proposition (boolean valued expression) which should evaluate to true to allow spending of the box. When we have many conditions to be met at the same time we can combine them in a logical formula using the AND binary operation, and if we have alternatives (not necessarily exclusive) we can put them into the OR operation.
The buyOrder box has the alternative spending paths !cancel and !swap . Thus the ErgoScript code should have OR operation with two arguments - one for each spending path.
/** buyOrder contract */ { val cancelCondition = {} val swapCondition = {} cancelCondition || swapCondition } 
The formula for the cancelCondition expression is given in the !cancel spending path of the buyOrder box. We can directly include it in the script.
/** buyOrder contract */ { val cancelCondition = { buyer } val swapCondition = {} cancelCondition || swapCondition } 
For the !swap spending path of the buyOrder box the conditions are specified in the buyerOut output box of the Swap transaction. If we simply include them in the swapCondition then we get a syntactically incorrect script.
/** buyOrder contract */ { val cancelCondition = { buyer } val swapCondition = { tAmt: TID && R4 == bid.id && @contract } cancelCondition || swapCondition } 
We can however translate the conditions from the diagram syntax to ErgoScript expressions using the following simple rules
  1. [email protected] ==> val buyerOut = OUTPUTS(0)
  2. tAmt: TID ==> tid._2 == tAmt where tid = buyerOut.tokens(TID)
  3. R4 == bid.id ==> R4 == SELF.id where R4 = buyerOut.R4[Coll[Byte]].get
  4. script == buyer ==> buyerOut.propositionBytes == buyer.propBytes
Note, in the diagram TID represents a token id, but ErgoScript doesn't have access to the tokens by the ids so we cannot write tokens.getByKey(TID) . For this reason, when the diagram is translated into ErgoScript, TID becomes a named constant of the index in tokens collection of the box. The concrete value of the constant is assigned when the BuyOrder transaction with the buyOrder box is created. The correspondence and consistency between the actual tokenId, the TID constant and the actual tokens of the buyerOut box is ensured by the off-chain application code, which is completely possible since all of the transactions are created by the application using FlowCard as a guiding specification. This may sound too complicated, but this is part of the translation from diagram specification to actual executable application code, most of which can be automated.
After the transformation we can obtain a correct script which checks all the required preconditions for spending the buyOrder box.
/** buyOrder contract */ def DEX(buyer: Addrss, seller: Address, TID: Int, ergAmt: Long, tAmt: Long) { val cancelCondition: SigmaProp = { buyer } // verify buyer's sig (ProveDlog) val swapCondition = OUTPUTS.size > 0 && { // securing OUTPUTS access val buyerOut = OUTPUTS(0) // from [email protected] buyerOut.tokens.size > TID && { // securing tokens access val tid = buyerOut.tokens(TID) val regR4 = buyerOut.R4[Coll[Byte]] regR4.isDefined && { // securing R4 access val R4 = regR4.get tid._2 == tAmt && // from tAmt: TID R4 == SELF.id && // from R4 == bid.id buyerOut.propositionBytes == buyer.propBytes // from script == buyer } } } cancelCondition || swapCondition } 
A similar script for the sellOrder box can be obtained using the same translation rules. With the help of the tooling the code of contracts can be mechanically generated from the diagram specification.

Conclusions

Declarative programming models have already won the battle against imperative programming in many application domains like Big Data, Stream Processing, Deep Learning, Databases, etc. Ergo is pioneering the declarative model of dApp development as a better and safer alternative to the now popular imperative model of smart contracts.
The concept of FlowCard shifts the focus from writing ErgoScript contracts to the overall flow of values (hence the name), in such a way, that ErgoScript can always be generated from them. You will never need to look at the ErgoScript code once the tooling is in place.
Here are the possible next steps for future work:
  1. Storage format for FlowCard Spec and the corresponding EIP standardized file format (Json/XML/Protobuf). This will allow various tools (Diagram Editor, Runtime, dApps etc) to create and use *.flowcard files.
  2. FlowCard Viewer, which can generate the diagrams from *.flowcard files.
  3. FlowCard Runtime, which can run *.flowcard files, create and send transactions to Ergo network.
  4. FlowCard Designer Tool, which can simplify development of complex diagrams . This will make designing and validation of Ergo contracts a pleasant experience, more like drawing rather than coding. In addition, the correctness of the whole dApp scenario can be verified and controlled by the tooling.
submitted by eleanorcwhite to btc [link] [comments]

FlowCards: A Declarative Framework for Development of Ergo dApps

FlowCards: A Declarative Framework for Development of Ergo dApps
Introduction
ErgoScript is the smart contract language used by the Ergo blockchain. While it has concise syntax adopted from Scala/Kotlin, it still may seem confusing at first because conceptually ErgoScript is quite different compared to conventional languages which we all know and love. This is because Ergo is a UTXO based blockchain, whereas smart contracts are traditionally associated with account based systems like Ethereum. However, Ergo's transaction model has many advantages over the account based model and with the right approach it can even be significantly easier to develop Ergo contracts than to write and debug Solidity code.
Below we will cover the key aspects of the Ergo contract model which makes it different:
Paradigm
The account model of Ethereum is imperative. This means that the typical task of sending coins from Alice to Bob requires changing the balances in storage as a series of operations. Ergo's UTXO based programming model on the other hand is declarative. ErgoScript contracts specify conditions for a transaction to be accepted by the blockchain (not changes to be made in the storage state as result of the contract execution).
Scalability
In the account model of Ethereum both storage changes and validity checks are performed on-chain during code execution. In contrast, Ergo transactions are created off-chain and only validation checks are performed on-chain thus reducing the amount of operations performed by every node on the network. In addition, due to immutability of the transaction graph, various optimization strategies are possible to improve throughput of transactions per second in the network. Light verifying nodes are also possible thus further facilitating scalability and accessibility of the network.
Shared state
The account-based model is reliant on shared mutable state which is known to lead to complex semantics (and subtle million dollar bugs) in the context of concurrent/ distributed computation. Ergo's model is based on an immutable graph of transactions. This approach, inherited from Bitcoin, plays well with the concurrent and distributed nature of blockchains and facilitates light trustless clients.
Expressive Power
Ethereum advocated execution of a turing-complete language on the blockchain. It theoretically promised unlimited potential, however in practice severe limitations came to light from excessive blockchain bloat, subtle multi-million dollar bugs, gas costs which limit contract complexity, and other such problems. Ergo on the flip side extends UTXO to enable turing-completeness while limiting the complexity of the ErgoScript language itself. The same expressive power is achieved in a different and more semantically sound way.
With the all of the above points, it should be clear that there are a lot of benefits to the model Ergo is using. In the rest of this article I will introduce you to the concept of FlowCards - a dApp developer component which allows for designing complex Ergo contracts in a declarative and visual way.
From Imperative to Declarative
In the imperative programming model of Ethereum a transaction is a sequence of operations executed by the Ethereum VM. The following Solidity function implements a transfer of tokens from sender to receiver . The transaction starts when sender calls this function on an instance of a contract and ends when the function returns.
// Sends an amount of existing coins from any caller to an address function send(address receiver, uint amount) public { require(amount <= balances[msg.sender], "Insufficient balance."); balances[msg.sender] -= amount; balances[receiver] += amount; emit Sent(msg.sender, receiver, amount); } 
The function first checks the pre-conditions, then updates the storage (i.e. balances) and finally publishes the post-condition as the Sent event. The gas which is consumed by the transaction is sent to the miner as a reward for executing this transaction.
Unlike Ethereum, a transaction in Ergo is a data structure holding a list of input coins which it spends and a list of output coins which it creates preserving the total balances of ERGs and tokens (in which Ergo is similar to Bitcoin).
Turning back to the example above, since Ergo natively supports tokens, therefore for this specific example of sending tokens we don't need to write any code in ErgoScript. Instead we need to create the ‘send’ transaction shown in the following figure, which describes the same token transfer but declaratively.
https://preview.redd.it/id5kjdgn9tv41.png?width=1348&format=png&auto=webp&s=31b937d7ad0af4afe94f4d023e8c90c97c8aed2e
The picture visually describes the following steps, which the network user needs to perform:
  1. Select unspent sender's boxes, containing in total tB >= amount of tokens and B >= txFee + minErg ERGs.
  2. Create an output target box which is protected by the receiver public key with minErg ERGs and amount of T tokens.
  3. Create one fee output protected by the minerFee contract with txFee ERGs.
  4. Create one change output protected by the sender public key, containing B - minErg - txFee ERGs and tB - amount of T tokens.
  5. Create a new transaction, sign it using the sender's secret key and send to the Ergo network.
What is important to understand here is that all of these steps are preformed off-chain (for example using Appkit Transaction API) by the user's application. Ergo network nodes don't need to repeat this transaction creation process, they only need to validate the already formed transaction. ErgoScript contracts are stored in the inputs of the transaction and check spending conditions. The node executes the contracts on-chain when the transaction is validated. The transaction is valid if all of the conditions are satisfied.
Thus, in Ethereum when we “send amount from sender to recipient” we are literally editing balances and updating the storage with a concrete set of commands. This happens on-chain and thus a new transaction is also created on-chain as the result of this process.
In Ergo (as in Bitcoin) transactions are created off-chain and the network nodes only verify them. The effects of the transaction on the blockchain state is that input coins (or Boxes in Ergo's parlance) are removed and output boxes are added to the UTXO set.
In the example above we don't use an ErgoScript contract but instead assume a signature check is used as the spending pre-condition. However in more complex application scenarios we of course need to use ErgoScript which is what we are going to discuss next.
From Changing State to Checking Context
In the send function example we first checked the pre-condition (require(amount <= balances[msg.sender],...) ) and then changed the state (i.e. update balances balances[msg.sender] -= amount ). This is typical in Ethereum transactions. Before we change anything we need to check if it is valid to do so.
In Ergo, as we discussed previously, the state (i.e. UTXO set of boxes) is changed implicitly when a valid transaction is included in a block. Thus we only need to check the pre-conditions before the transaction can be added to the block. This is what ErgoScript contracts do.
It is not possible to “change the state” in ErgoScript because it is a language to check pre-conditions for spending coins. ErgoScript is a purely functional language without side effects that operates on immutable data values. This means all the inputs, outputs and other transaction parameters available in a script are immutable. This, among other things, makes ErgoScript a very simple language that is easy to learn and safe to use. Similar to Bitcoin, each input box contains a script, which should return the true value in order to 1) allow spending of the box (i.e. removing from the UTXO set) and 2) adding the transaction to the block.
If we are being pedantic, it is therefore incorrect (strictly speaking) to think of ErgoScript as the language of Ergo contracts, because it is the language of propositions (logical predicates, formulas, etc.) which protect boxes from “illegal” spending. Unlike Bitcoin, in Ergo the whole transaction and a part of the current blockchain context is available to every script. Therefore each script may check which outputs are created by the transaction, their ERG and token amounts (we will use this capability in our example DEX contracts), current block number etc.
In ErgoScript you define the conditions of whether changes (i.e. coin spending) are allowed to happen in a given context. This is in contrast to programming the changes imperatively in the code of a contract.
While Ergo's transaction model unlocks a whole range of applications like (DEX, DeFi Apps, LETS, etc), designing contracts as pre-conditions for coin spending (or guarding scripts) directly is not intuitive. In the next sections we will consider a useful graphical notation to design contracts declaratively using FlowCard Diagrams, which is a visual representation of executable components (FlowCards).
FlowCards aim to radically simplify dApp development on the Ergo platform by providing a high-level declarative language, execution runtime, storage format and a graphical notation.
We will start with a high level of diagrams and go down to FlowCard specification.
FlowCard Diagrams
The idea behind FlowCard diagrams is based on the following observations: 1) An Ergo box is immutable and can only be spent in the transaction which uses it as an input. 2) We therefore can draw a flow of boxes through transactions, so that boxes flowing in to the transaction are spent and those flowing out are created and added to the UTXO. 3) A transaction from this perspective is simply a transformer of old boxes to the new ones preserving the balances of ERGs and tokens involved.
The following figure shows the main elements of the Ergo transaction we've already seen previously (now under the name of FlowCard Diagram).
https://preview.redd.it/9kcxl11o9tv41.png?width=1304&format=png&auto=webp&s=378a7f50769292ca94de35ff597dc1a44af56d14
There is a strictly defined meaning (semantics) behind every element of the diagram, so that the diagram is a visual representation (or a view) of the underlying executable component (called FlowCard).
The FlowCard can be used as a reusable component of an Ergo dApp to create and initiate the transaction on the Ergo blockchain. We will discuss this in the coming sections.
Now let's look at the individual pieces of the FlowCard diagram one by one.
  1. Name and Parameters
Each flow card is given a name and a list of typed parameters. This is similar to a template with parameters. In the above figure we can see the Send flow card which has five parameters. The parameters are used in the specification.
  1. Contract Wallet
This is a key element of the flow card. Every box has a guarding script. Often it is the script that checks a signature against a public key. This script is trivial in ErgoScript and is defined like the def pk(pubkey: Address) = { pubkey } template where pubkey is a parameter of the type Address . In the figure, the script template is applied to the parameter pk(sender) and thus a concrete wallet contract is obtained. Therefore pk(sender) and pk(receiver) yield different scripts and represent different wallets on the diagram, even though they use the same template.
Contract Wallet contains a set of all UTXO boxes which have a given script derived from the given script template using flow card parameters. For example, in the figure, the template is pk and parameter pubkey is substituted with the `sender’ flow card parameter.
  1. Contract
Even though a contract is a property of a box, on the diagram we group the boxes by their contracts, therefore it looks like the boxes belong to the contracts, rather than the contracts belong to the boxes. In the example, we have three instantiated contracts pk(sender) , pk(receiver) and minerFee . Note, that pk(sender) is the instantiation of the pk template with the concrete parameter sender and minerFee is the instantiation of the pre-defined contract which protects the miner reward boxes.
  1. Box name
In the diagram we can give each box a name. Besides readability of the diagram, we also use the name as a synonym of a more complex indexed access to the box in the contract. For example, change is the name of the box, which can also be used in the ErgoScript conditions instead of OUTPUTS(2) . We also use box names to associate spending conditions with the boxes.
  1. Boxes in the wallet
In the diagram, we show boxes (darker rectangles) as belonging to the contract wallets (lighter rectangles). Each such box rectangle is connected with a grey transaction rectangle by either orange or green arrows or both. An output box (with an incoming green arrow) may include many lines of text where each line specifies a condition which should be checked as part of the transaction. The first line specifies the condition on the amount of ERG which should be placed in the box. Other lines may take one of the following forms:
  1. amount: TOKEN - the box should contain the given amount of the given TOKEN
  2. R == value - the box should contain the given value of the given register R
  3. boxName ? condition - the box named boxName should check condition in its script.
We discuss these conditions in the sections below.
  1. Amount of ERGs in the box
Each box should store a minimum amount of ERGs. This is checked when the creating transaction is validated. In the diagram the amount of ERGs is always shown as the first line (e.g. B: ERG or B - minErg - txFee ). The value type ascription B: ERG is optional and may be used for readability. When the value is given as a formula, then this formula should be respected by the transaction which creates the box.
It is important to understand that variables like amount and txFee are not named properties of the boxes. They are parameters of the whole diagram and representing some amounts. Or put it another way, they are shared parameters between transactions (e.g. Sell Order and Swap transactions from DEX example below share the tAmt parameter). So the same name is tied to the same value throughout the diagram (this is where the tooling would help a lot). However, when it comes to on-chain validation of those values, only explicit conditions which are marked with ? are transformed to ErgoScript. At the same time, all other conditions are ensured off-chain during transaction building (for example in an application using Appkit API) and transaction validation when it is added to the blockchain.
  1. Amount of T token
A box can store values of many tokens. The tokens on the diagram are named and a value variable may be associated with the token T using value: T expression. The value may be given by formula. If the formula is prefixed with a box name like boxName ? formula , then it is should also be checked in the guarding script of the boxName box. This additional specification is very convenient because 1) it allows to validate the visual design automatically, and 2) the conditions specified in the boxes of a diagram are enough to synthesize the necessary guarding scripts. (more about this below at “From Diagrams To ErgoScript Contracts”)
  1. Tx Inputs
Inputs are connected to the corresponding transaction by orange arrows. An input arrow may have a label of the following forms:
  1. [email protected] - optional name with an index i.e. [email protected] or u/2 . This is a property of the target endpoint of the arrow. The name is used in conditions of related boxes and the index is the position of the corresponding box in the INPUTS collection of the transaction.
  2. !action - is a property of the source of the arrow and gives a name for an alternative spending path of the box (we will see this in DEX example)
Because of alternative spending paths, a box may have many outgoing orange arrows, in which case they should be labeled with different actions.
  1. Transaction
A transaction spends input boxes and creates output boxes. The input boxes are given by the orange arrows and the labels are expected to put inputs at the right indexes in INPUTS collection. The output boxes are given by the green arrows. Each transaction should preserve a strict balance of ERG values (sum of inputs == sum of outputs) and for each token the sum of inputs >= the sum of outputs. The design diagram requires an explicit specification of the ERG and token values for all of the output boxes to avoid implicit errors and ensure better readability.
  1. Tx Outputs
Outputs are connected to the corresponding transaction by green arrows. An output arrow may have a label of the following [email protected] , where an optional name is accompanied with an index i.e. [email protected] or u/2 . This is a property of the source endpoint of the arrow. The name is used in conditions of the related boxes and the index is the position of the corresponding box in the OUTPUTS collection of the transaction.
Example: Decentralized Exchange (DEX)
Now let's use the above described notation to design a FlowCard for a DEX dApp. It is simple enough yet also illustrates all of the key features of FlowCard diagrams which we've introduced in the previous section.
The dApp scenario is shown in the figure below: There are three participants (buyer, seller and DEX) of the DEX dApp and five different transaction types, which are created by participants. The buyer wants to swap ergAmt of ERGs for tAmt of TID tokens (or vice versa, the seller wants to sell TID tokens for ERGs, who sends the order first doesn't matter). Both the buyer and the seller can cancel their orders any time. The DEX off-chain matching service can find matching orders and create the Swap transaction to complete the exchange.
The following diagram fully (and formally) specifies all of the five transactions that must be created off-chain by the DEX dApp. It also specifies all of the spending conditions that should be verified on-chain.

https://preview.redd.it/fnt5f4qp9tv41.png?width=1614&format=png&auto=webp&s=34f145f9a6d622454906857e645def2faba057bd
Let's discuss the FlowCard diagram and the logic of each transaction in details:
Buy Order Transaction
A buyer creates a Buy Order transaction. The transaction spends E amount of ERGs (which we will write E: ERG ) from one or more boxes in the pk(buyer) wallet. The transaction creates a bid box with ergAmt: ERG protected by the buyOrder script. The buyOrder script is synthesized from the specification (see below at “From Diagrams To ErgoScript Contracts”) either manually or automatically by a tool. Even though we don't need to define the buyOrder script explicitly during designing, at run time the bid box should contain the buyOrder script as the guarding proposition (which checks the box spending conditions), otherwise the conditions specified in the diagram will not be checked.
The change box is created to make the input and output sums of the transaction balanced. The transaction fee box is omitted because it can be added automatically by the tools. In practice, however, the designer can add the fee box explicitly to the a diagram. It covers the cases of more complex transactions (like Swap) where there are many ways to pay the transaction fee.
Cancel Buy, Cancel Sell Transactions
At any time, the buyer can cancel the order by sending CancelBuy transaction. The transaction should satisfy the guarding buyOrder contract which protects the bid box. As you can see on the diagram, both the Cancel and the Swap transactions can spend the bid box. When a box has spending alternatives (or spending paths) then each alternative is identified by a unique name prefixed with ! (!cancel and !swap for the bid box). Each alternative path has specific spending conditions. In our example, when the Cancel Buy transaction spends the bid box the ?buyer condition should be satisfied, which we read as “the signature for the buyer address should be presented in the transaction”. Therefore, only buyer can cancel the buy order. This “signature” condition is only required for the !cancel alternative spending path and not required for !swap .
Sell Order Transaction
The Sell Order transaction is similar to the BuyOrder in that it deals with tokens in addition to ERGs. The transaction spends E: ERG and T: TID tokens from seller's wallet (specified as pk(seller) contract). The two outputs are ask and change . The change is a standard box to balance transaction. The ask box keeps tAmt: TID tokens for the exchange and minErg: ERG - the minimum amount of ERGs required in every box.
Swap Transaction
This is a key transaction in the DEX dApp scenario. The transaction has several spending conditions on the input boxes and those conditions are included in the buyOrder and sellOrder scripts (which are verified when the transaction is added to the blockchain). However, on the diagram those conditions are not specified in the bid and ask boxes, they are instead defined in the output boxes of the transaction.
This is a convention for improved usability because most of the conditions relate to the properties of the output boxes. We could specify those properties in the bid box, but then we would have to use more complex expressions.
Let's consider the output created by the arrow labeled with [email protected] . This label tells us that the output is at the index 0 in the OUTPUTS collection of the transaction and that in the diagram we can refer to this box by the buyerOut name. Thus we can label both the box itself and the arrow to give the box a name.
The conditions shown in the buyerOut box have the form bid ? condition , which means they should be verified on-chain in order to spend the bid box. The conditions have the following meaning:
  • tAmt: TID requires the box to have tAmt amount of TID token
  • R4 == bid.id requires R4 register in the box to be equal to id of the bid box.
  • script == buyer requires the buyerOut box to have the script of the wallet where it is located on the diagram, i.e. pk(buyer)
Similar properties are added to the sellerOut box, which is specified to be at index 1 and the name is given to it using the label on the box itself, rather than on the arrow.
The Swap transaction spends two boxes bid and ask using the !swap spending path on both, however unlike !cancel the conditions on the path are not specified. This is where the bid ? and ask ? prefixes come into play. They are used so that the conditions listed in the buyerOut and sellerOut boxes are moved to the !swap spending path of the bid and ask boxes correspondingly.
If you look at the conditions of the output boxes, you will see that they exactly specify the swap of values between seller's and buyer's wallets. The buyer gets the necessary amount of TID token and seller gets the corresponding amount of ERGs. The Swap transaction is created when there are two matching boxes with buyOrder and sellOrder contracts.
From Diagrams To ErgoScript Contracts
What is interesting about FlowCard specifications is that we can use them to automatically generate the necessary ErgoTree scripts. With the appropriate tooling support this can be done automatically, but with the lack of thereof, it can be done manually. Thus, the FlowCard allows us to capture and visually represent all of the design choices and semantic details of an Ergo dApp.
What we are going to do next is to mechanically create the buyOrder contract from the information given in the DEX flow card.
Recall that each script is a proposition (boolean valued expression) which should evaluate to true to allow spending of the box. When we have many conditions to be met at the same time we can combine them in a logical formula using the AND binary operation, and if we have alternatives (not necessarily exclusive) we can put them into the OR operation.
The buyOrder box has the alternative spending paths !cancel and !swap . Thus the ErgoScript code should have OR operation with two arguments - one for each spending path.
/** buyOrder contract */ { val cancelCondition = {} val swapCondition = {} cancelCondition || swapCondition } 
The formula for the cancelCondition expression is given in the !cancel spending path of the buyOrder box. We can directly include it in the script.
/** buyOrder contract */ { val cancelCondition = { buyer } val swapCondition = {} cancelCondition || swapCondition } 
For the !swap spending path of the buyOrder box the conditions are specified in the buyerOut output box of the Swap transaction. If we simply include them in the swapCondition then we get a syntactically incorrect script.
/** buyOrder contract */ { val cancelCondition = { buyer } val swapCondition = { tAmt: TID && R4 == bid.id && @contract } cancelCondition || swapCondition } 
We can however translate the conditions from the diagram syntax to ErgoScript expressions using the following simple rules
  1. [email protected] ==> val buyerOut = OUTPUTS(0)
  2. tAmt: TID ==> tid._2 == tAmt where tid = buyerOut.tokens(TID)
  3. R4 == bid.id ==> R4 == SELF.id where R4 = buyerOut.R4[Coll[Byte]].get
  4. script == buyer ==> buyerOut.propositionBytes == buyer.propBytes
Note, in the diagram TID represents a token id, but ErgoScript doesn't have access to the tokens by the ids so we cannot write tokens.getByKey(TID) . For this reason, when the diagram is translated into ErgoScript, TID becomes a named constant of the index in tokens collection of the box. The concrete value of the constant is assigned when the BuyOrder transaction with the buyOrder box is created. The correspondence and consistency between the actual tokenId, the TID constant and the actual tokens of the buyerOut box is ensured by the off-chain application code, which is completely possible since all of the transactions are created by the application using FlowCard as a guiding specification. This may sound too complicated, but this is part of the translation from diagram specification to actual executable application code, most of which can be automated.
After the transformation we can obtain a correct script which checks all the required preconditions for spending the buyOrder box.
/** buyOrder contract */ def DEX(buyer: Addrss, seller: Address, TID: Int, ergAmt: Long, tAmt: Long) { val cancelCondition: SigmaProp = { buyer } // verify buyer's sig (ProveDlog) val swapCondition = OUTPUTS.size > 0 && { // securing OUTPUTS access val buyerOut = OUTPUTS(0) // from [email protected] buyerOut.tokens.size > TID && { // securing tokens access val tid = buyerOut.tokens(TID) val regR4 = buyerOut.R4[Coll[Byte]] regR4.isDefined && { // securing R4 access val R4 = regR4.get tid._2 == tAmt && // from tAmt: TID R4 == SELF.id && // from R4 == bid.id buyerOut.propositionBytes == buyer.propBytes // from script == buyer } } } cancelCondition || swapCondition } 
A similar script for the sellOrder box can be obtained using the same translation rules. With the help of the tooling the code of contracts can be mechanically generated from the diagram specification.
Conclusions
Declarative programming models have already won the battle against imperative programming in many application domains like Big Data, Stream Processing, Deep Learning, Databases, etc. Ergo is pioneering the declarative model of dApp development as a better and safer alternative to the now popular imperative model of smart contracts.
The concept of FlowCard shifts the focus from writing ErgoScript contracts to the overall flow of values (hence the name), in such a way, that ErgoScript can always be generated from them. You will never need to look at the ErgoScript code once the tooling is in place.
Here are the possible next steps for future work:
  1. Storage format for FlowCard Spec and the corresponding EIP standardized file format (Json/XML/Protobuf). This will allow various tools (Diagram Editor, Runtime, dApps etc) to create and use *.flowcard files.
  2. FlowCard Viewer, which can generate the diagrams from *.flowcard files.
  3. FlowCard Runtime, which can run *.flowcard files, create and send transactions to Ergo network.
  4. FlowCard Designer Tool, which can simplify development of complex diagrams . This will make designing and validation of Ergo contracts a pleasant experience, more like drawing rather than coding. In addition, the correctness of the whole dApp scenario can be verified and controlled by the tooling.
submitted by Guilty_Pea to CryptoCurrencies [link] [comments]

Blockchain Bitcoin Consensus Preuve de travail Transfer Bitcoin from Coinbase to Blockchain - YouTube Who is Satoshi Nakamoto, Blockchain transactions explained infographic. How to Exchange Bitcoin to Ether using blockchain CFA vers BITCOIN SUR ORANGE MONEY

Beyond bitcoin, blockchain provides many other opportunities. Secure, transparent, and immutable, it is seen as a promising tool for modernising agri-food supply chains. More and more food consumer goods are produced, transformed, and distributed by an ever-increasing number of players, spread across the globe. A community dedicated to Bitcoin, the currency of the Internet. Bitcoin is a distributed, worldwide, decentralized digital money. Bitcoins are issued and managed without any central authority whatsoever: there is no government, company, or bank in charge of Bitcoin. Accueil Bitcoin Blockchain: Orange in the full black. ... En évoquant « la réputation sulfureuse de LA blockchain », le représentant d’Orange se fait le porte-voix d’une sorte de rumeur ou de légende urbaine, du style tu fais cuire un œuf entre deu x smartphones et il y apporte sa caution de CTO d’Orange, ... The leader in blockchain news, CoinDesk is a media outlet that strives for the highest journalistic standards and abides by a strict set of editorial policies.CoinDesk is an independent operating ... The bitcoin blockchain technology, as it is called, could be used to cheaply transfer money between different countries, Nahon said. Like other carriers, Orange is building up its mobile-payment ...

[index] [23009] [33302] [26878] [1733] [14171] [5381] [21435] [6719] [2341] [937]

Blockchain Bitcoin Consensus Preuve de travail

Retirer vos Bitcoin en Espèce par WU, Wari,Money gram,(MTN,Org,Moov)Money, ppl etcPar Ousmane Salam - Duration: 7:40. OBL-SOMO 11,792 views N’hésitez à visionner nos vidéos sur notre blog. Tous vos commentaires sont les bienvenus https://blog.bitcoinacademy.ch/ Pour plus d’information, nous vous invitons à visiter notre site ... The Orange County Bitcoin Network - Bitcoin node deep-dive series today with nodl! Bitcoin Magazine. ... LA Blockchain Summit 50 views. 53:47. Drinks in Quarantine - Pleb Take Over - Duration: ... In this video we will see: - What is BlockChain - Why blockchain is important - Who is Satoshi Nakamoto - What is bitcoin - Bitcoin with blockchain - Securit... Blockchain is the invisible technology that is said to be changing the world. But what is a blockchain? Whether you’re a tech geek or a technophobe it’s good to know the basics.

https://ltcmining.chiabuy.info