transaction

Smart Contracts: Don’t Reinvent the Wheel

SafeMathIn most modern programming languages, safety in arithmetic operations is accounted for, so little thought goes into their implementation. However, in Solidity, overflows and underflows present a security risk.SafeMath is a library that ensures safe arithmetic operations by reverting the transaction if the bounds of an integer data type are exceeded.SafeMath example.The using statement indicates to the compiler that the contract is using functions defined in SafeMath for uint operations. Instead of using arithmetic operators (+, -, *, /, %), use the functions add(), sub(), mul(), div(), and mod(). Source:

Introducing the new Blockchain.com monthly newsletter — April Edition: “After the Dust Settles”

The quality of information and data in crypto has improved in recent years, so you may be asking why another monthly newsletter?There are still some big data and analysis gaps in crypto. Crypto markets are nowhere near as widely served with reliable research and data as traditional markets. Indeed, the March 12–13th crypto stress test demonstrated there are also still some very significant issues with the state of crypto exchange infrastructure.What you can expect from our monthly newsletterOur intention with this newsletter is to avoid repeating what you can find

Blockin Launches Bitcoin Explorer With Detailed Fee Guidance

Blockin, the parent company of one of popular Bitcoin (BTC) mining pools, Poolin, is launching a new block explorer on April 6. The explorer includes mempool statistics that would help users decide the correct fee to send their BTC payment.Blockin’s explorer provides many of the standard features shared with competing offerings, like block data, transaction information and statistics on network hashrate and pool distribution. It adds to an already large suite of tools for miners to calculate profit or compare ASIC devices.The company says that its explorer will also be

38% of Enterprises Plan to Adopt Blockchain Solutions in 2020

With blockchain solutions growing in popularity, the number of enterprises planning to adopt the technology in 2020 is set to increase. Data gathered by InsideBitcoins.com indicates that 38% of entities will integrate blockchain solutions into their operations this year.From the data, 15% of the enterprise will heavily adopt blockchain solutions while 23% will have moderate adoption to manage different operations. Organizations are also planning to adopt technologies like the Public cloud. About 79% of enterprises are planning to have heavy or moderate adoption of technology.Elsewhere, Artificial intelligence (AI)/and machine learning

Revised Crypto Laws in Japan to be Enforced Starting May 1

New laws for regulating cryptocurrencies in Japan will start to be enforced next month.The Payment Services Act (PSA) and Financial Instruments and Exchange Act (FIEA), two of the pieces of legislation passed by the Japanese House of Representatives last year to regulate crypto, were scheduled to come into effect starting in April. However, with unexpected delays, no enforcement date had officially been set until last week.In the April 3 edition of an official government newsletter, it was announced that the revised versions of the PSA and FIEA would be enforced

Staking, Consensus and the Pursuit of Decentralization

Oh, the wonders of decentralized consensus — that dream of permissionless blockchains to be censorship-resistant, trustless, collaborative and egalitarian for a potentially global community of users. While lofty in ideals, consensus is foundational for each crypto network, which must agree upon that most basic question of who decides what on the network.Decentralized consensus in the form of a proof-of-work mechanism was at the core of Satoshi Nakamoto’s innovation when creating Bitcoin — all additional protocol elements stem from PoW’s ability to reach consensus regarding the digital ledger through the computational work

Bitcoin Posts Laudable Performance Over the Quarter 

The first quarter of 2020 was a bit of a mixed bag for cryptocurrencies. As expected, no other asset can demonstrate this better than Bitcoin. While the top digital asset led a market rally into the year and started 2020 gaining as much as 13 percent in its value, the coronavirus hit, and the market soon experienced a massive slump – with record drops witnessed on multiple fronts. Accounts Surged, but Transactions Stalled However, the market has corrected, and things appear to be on the uptrend once more. Bitcoin crossed the $7,200 mark

Is Blockchain Necessary? An Unbiased Perspective

Yes, that’s the question we are asking today. Is blockchain technology necessary? The answer is tricky. To arrive at the conclusion takes an unbiased perspective. Bankers and people in the stock market will tell you that it’s the epitome of evil. Blockchain engineers and enthusiasts will tell you it’s the future of the world. The government, as usual, will be indecisive.Both are overly eager in their opinions, and both are unfortunately wrong. Blockchain is wonderful and revolutionary, no doubt there. But it has some very serious cons that are underplayed

Spanish Tax Watchdog Puts 66,000 Crypto Traders on Notice

The Spanish tax authority has begun sending out warning notices to 66,000 cryptocurrency holders to remind them of their tax obligations.According to Europa Press, the Agencia Estatal de Administración Tributaria (AEAT) began the campaign on April 1, and will keep firing off letters until June 30 in the midst of the national COVID-19 crisis.The 66,000 notices represents a sharp increase from 2019, the first year of the campaign, when a reported 14,700 notices were sent out. The tax watchdog is also targeting those who earn income abroad and from real estate

Is Decentralized ASIC Production Possible?

The news about ASICs for Nervos CKB came out recently, as the time of writing, there are four ASICs announced, the Toddminer C1, Toddminer C1 Pro, Bitmain K5 and PA miner — the first batch of C1 was delivered on March 9, K5 and PA Miner are expected to be delivered in April and C1 Pro in May.Since mainnet launch, the total hashrate on CKB mainnet has been around 200TH/S on average, it is now gradually picking up (at the time of writing at ~500TH/S) with ASICs. Toddminer says C1+C1