security

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

Researchers Detect Ambitious Bitcoin Mining Malware Campaign Targeting 1,000s Daily

Cybersecurity researchers have identified a persistent and ambitious campaign that targets thousands of Docker servers daily with a Bitcoin (BTC) miner.In a report published on April 3, Aqua Security issued a threat alert over the attack, which has ostensibly “been going on for months, with thousands of attempts taking place nearly on a daily basis.” The researchers warn: “These are the highest numbers we’ve seen in some time, far exceeding what we have witnessed to date.”Such scope and ambition indicate that the illicit Bitcoin mining campaign is unlikely to be “an

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

Africa Using Blockchain to Drive Change, Part Two: Southern Solutions

With pundits like Twitter CEO Jack Dorsey predicting that Africa “will define” the future of Bitcoin (BTC), cryptocurrency and blockchain technology continue to attract interest from both public and private establishments across the continent. Many of these adoption cases have been moving beyond finance, developing solutions targeted at issues like unemployment, identity management, health care and supply chain, among others.Amid the growing enthusiasm for crypto and blockchain technology in Africa, industry stakeholders interviewed by Cointelegraph identify a lack of education as one of the major hurdles standing in the way of more

Top 5 Cryptos Other Than Bitcoin This Week (Mar 29): XMR, BNB, HT, CRO, BSV

Consumer attitudes are changing towards banknotes and credit cards as reports suggest that the deadly coronavirus can spread by their use. The Bank of International Settlements (BIS) has, therefore, urged the central banks to consider developing central bank digital currencies (CBDCs). BIS believes that under the current circumstance, CBDCs will quickly gain prominence. However, it has warned that this move could have a “severe impact on unbanked and older consumers.”  Chamath Palihapitiya, the billionaire CEO of venture capital firm Social Capital, believes that the setting is right for Bitcoin (BTC) to

Top 5 Cryptos Not Named Bitcoin This Week (Mar 29): XMR, BNB, HT, CRO, BSV

Consumer attitudes are changing towards banknotes and credit cards as reports suggest that the deadly coronavirus can spread by their use. The Bank of International Settlements (BIS) has, therefore, urged the central banks to consider developing central bank digital currencies (CBDCs). BIS believes that under the current circumstance, CBDCs will quickly gain prominence. However, it has warned that this move could have a “severe impact on unbanked and older consumers.”  Chamath Palihapitiya, the billionaire CEO of venture capital firm Social Capital, believes that the setting is right for Bitcoin (BTC) to

Cryptocurrency News From Japan: March 29 – April 4 in Review

This week’s headlines from Japan included the country’s Financial Services Agency revealing feedback from the public on recent regulation, the Cabinet Office Ordinance announcing regulatory changes, Zaif exchange removing three crypto assets, BitBank’s COO predicting crypto exchange mergers, and Nomura Research Institute issuing Japan’s first blockchain-based bond. Check out some of this week’s crypto and blockchain headlines, originally reported by Cointelegraph Japan.Japanese FSA receives comments on new regulationsThe Japanese Financial Services Agency, or FSA, unveiled 172 comments from citizens and groups, pertaining to recent crypto asset laws taking effect on May

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