How Cryptocurrency Developers Can Earn Bitcoin Cash With REST APIs

How Cryptocurrency Developers Can Earn Bitcoin Cash With REST APIs

A recent video by Chris Troutner, Senior Javascript Developer at Bitcoin.com, points out a problem with anti-profit seeking approaches to crypto development, and how devs can incentivize growth and attract business using REST APIs to earn BHC. Without incentives, Troutner notes, many promising services and applications run the risk of succumbing to an economic tragedy of the commons, when user demand surpasses developer ability to accommodate these needs.

Also Read: Running Bitcoin Cash: An Introduction to Operating a Full Node

Profit Protects Quality

There’s nothing wrong with free, but at the end of the day, everybody has to eat. In the cryptosphere this fact of reality shouldn’t be looked at as an obstacle, but rather an opportunity for growth. This is the view of Chris Troutner, who in his latest video expounds on the possibilities of economies of scale within the Bitcoin Cash ecosystem.

A REST API is a ubiquitous type of API (application program interface) used all over the internet today and on popular sites like Amazon and Twitter. As Troutner says in his presentation, the acronyms aren’t all that important. An API is simply a “way for a computer on the internet to talk to another computer on the internet.”

[embedded content]

Some examples of free APIs in the BCH space are Electrumx servers, Cashshuffle, SLPDB, Bitdb and Rest.bitcoin.com. While free APIs are a wonderful thing, there are also risks when demand outruns scalability. Speaking of Rest.bitcoin.com, the developer notes:

It’s not that people aren’t using the service, it’s that too many people are using the service and we don’t have a pro tier. We don’t have a way to move people from the free service to a paid service so that the end users can pay for the services they’re using.

The reasons for incentivizing REST APIs are myriad, and it’s not just about making a buck. According to Troutner, “What this tragedy of the commons is specifically with REST APIs is that they’re open to abuse and they’re open to disproportionate use.” He notes that serious developers trying to create a great user experience and make crypto accessible to all have to compete with malicious entities and less experienced developers, all utilizing the same free infrastructure. For a business looking to build on a solid foundation, this presents significant risk. Troutner’s proposed solution is to wrap a full BCH node around a REST API, and charge a small fee to serve multiple people. The developer elaborates:

Now all of the sudden, you have 30 people paying one dollar, instead of 30 people paying 30 dollars to run their own [full node] infrastructure. So that’s a huge economy of scale … Businesses need to focus on their core business value, and running infrastructure like full nodes is not a part of that.

How Cryptocurrency Developers Can Earn Bitcoin Cash With REST APIs
Payment button on Troutner’s demo application, allowing a user to access greater permissions on an API via BCH.

Payment for APIs via BCH

One proposed way users could access REST APIs via bitcoin cash is through leveraging JSON web tokens (JWT). JWTs are access-granting credentials. The long and short of Troutner’s demo in the video, and proposed solution to the ‘tragedy of the commons,’ is as follows:

  • An API (such as for a crypto wallet) has a limit imposed on running requests.
  • In order to access the next tier of usage allowance, the user must provide a JWT credential.
  • To obtain the JWT, users can pay the REST API in BCH.

Things like subscription duration, refund options, rollover credits and other parameters can be put in place on the JWTs as well, increasing options for developers. The entire process can be automated, according to Troutner.

How Cryptocurrency Developers Can Earn Bitcoin Cash With REST APIs

Permissionless Profit

For some reason, many in the crypto space seem to view profit as an evil boogeyman. A strange thing considering the whole mission is to make sure the world is spending and using crypto as money. Troutner provides the code used for his demo via his organization, the Permissionless Software Foundation, on Github, and a couple other sources detailed in-depth in the video. Hardly the move of a heartless, greedy profiteer.

The confusion in the crypto space surrounding profit seems to often take the form of conflation. The confusion of “not free” with “not fair.” The truth is, there can be world of incentivized development happening via open source software and code, and all degrees of usability and tiered access. This kind of robust environment can only happen in one context, though: a free and permissionless (non-authoritarian) open market. As Troutner puts it:

The fix to the typical tragedy of the commons scenario is to create a marketplace.

What do you think about Chris Troutner’s proposed incentives for devs? Let us know in the comments section below.


Images courtesy of Shutterstock, fair use.


Did you know you can verify any unconfirmed Bitcoin transaction with our Bitcoin Block Explorer tool? Simply complete a Bitcoin address search to view it on the blockchain. Plus, visit our Bitcoin Charts to see what’s happening in the industry.

Tags in this story
API, API integration, BCH, BCH ecosystem, bitcoin cash, Chris Troutner, crypto, Cryptocurrency, Developer, Profit, REST API
How Cryptocurrency Developers Can Earn Bitcoin Cash With REST APIs 1
Graham Smith

Graham Smith is an American expat living in Japan, and the founder of Voluntary Japan—an initiative dedicated to spreading the philosophies of unschooling, individual self-ownership, and economic freedom in the land of the rising sun.

About the author

E-Crypto News was developed to assist all cryptocurrency investors in developing profitable cryptocurrency portfolios through the provision of timely and much-needed information. Investments in cryptocurrency require a level of detail, sensitivity, and accuracy that isn’t required in any other market and as such, we’ve developed our databases to help fill in information gaps.

Related Posts

E-Crypto News Executive Interviews



bitcoin
Bitcoin (BTC) $ 63,486.00
ethereum
Ethereum (ETH) $ 4,116.45
binance-coin
Binance Coin (BNB) $ 477.23
tether
Tether (USDT) $ 1.00
cardano
Cardano (ADA) $ 2.17
solana
Solana (SOL) $ 186.77
xrp
XRP (XRP) $ 1.10
polkadot
Polkadot (DOT) $ 43.25
dogecoin
Dogecoin (DOGE) $ 0.245625
usd-coin
USD Coin (USDC) $ 1.00
USD
EUR
GBP
bitcoinBitcoin (BTC)
$ 63,486.00
ethereumEthereum (ETH)
$ 4,116.45
tetherTether (USDT)
$ 1.00
bitcoin-cashBitcoin Cash (BCH)
$ 630.15
litecoinLitecoin (LTC)
$ 200.40
bitcoinBitcoin (BTC)
54.599,86
ethereumEthereum (ETH)
3.540,27
tetherTether (USDT)
0,860030
bitcoin-cashBitcoin Cash (BCH)
541,95
litecoinLitecoin (LTC)
172,35
bitcoinBitcoin (BTC)
46,070.84
ethereumEthereum (ETH)
2,987.25
tetherTether (USDT)
0.725685
bitcoin-cashBitcoin Cash (BCH)
457.29
litecoinLitecoin (LTC)
145.43

Automated trading with HaasBot Crypto Trading Bots

Crypto Scams

Behind The Scenes: How this Crypto Community Responded to + $50m Hack
October 18, 2021
Crypto Scams
Crypto Scams Still Persistent In 2021, SEC Warns About Red Flags To Watch
September 9, 2021
Poly Network
Here’s How Hackers Stole Over $600 million in the Poly Network Attack
August 12, 2021
The World’s Most Infamous Crypto Hacks and Scams
July 31, 2021
Cryptocurrency Exchanges
Cryptocurrency Exchanges and the Plague of Scams and Bans
June 29, 2021

Blockchain/Cryptocurrency Questions and Answers

ICo Presale
The Science Behind ICO Presales…
October 14, 2021
Beginner’s Guide to Investing in Cryptocurrency
August 9, 2021
Short-Sell Cryptocurrency
How to Short-Sell Cryptocurrency: A Brief Overview
July 17, 2021
Klaytn
What Is Klaytn (KLAY) And How Does It Work?
July 16, 2021
Cryptocurrencies
Our Crypto Roundup Interview Asks- Do Cryptocurrencies Have a Future?
July 15, 2021


CryptoCurrencyUSDChange 1hChange 24hChange 7d
Bitcoin62,729 1.52 % 5.32 % 9.12 %
Ethereum4,073.3 1.33 % 0.84 % 12.97 %
Binance Coin474.09 1.12 % 5.81 % 0.96 %
Tether0.9986 0.03 % 0.08 % 0.23 %
Cardano2.150 1.31 % 1.68 % 1.64 %
Solana183.65 2.51 % 6.97 % 23.76 %
XRP1.090 1.53 % 4.46 % 3.02 %
Polkadot30.87 2.19 % 17.29 % 10.73 %
USD Coin1.000 0.14 % 0.20 % 0.17 %
Dogecoin0.2438 1.46 % 4.96 % 4.73 %

bitcoin
Bitcoin (BTC) $ 63,486.00
ethereum
Ethereum (ETH) $ 4,116.45
binance-coin
Binance Coin (BNB) $ 477.23
tether
Tether (USDT) $ 1.00
cardano
Cardano (ADA) $ 2.17
solana
Solana (SOL) $ 186.77
xrp
XRP (XRP) $ 1.10
polkadot
Polkadot (DOT) $ 43.25
dogecoin
Dogecoin (DOGE) $ 0.245625
usd-coin
USD Coin (USDC) $ 1.00