A quick introduction to smart contracts and decentralized API πŸ–‡οΈ

πŸ§΅πŸ‘‡πŸ»
Before diving into Decentralized API or dAPI, we need to understand Smart Contracts. πŸ‘‡πŸ»
Consider Smart contracts like typical contracts but they are programmatically generated and completely digital. Smart contracts are stored on a blockchain (a system of recording information in a way that makes it difficult or impossible to change, hack, or cheat the system).
Any two unknown parties can transfer assets without any trust issues.

Consider an automatic vending machine (AVM) inside which you put the coin and get the desired product. There's no third-party intervention and hence no trust issues.
Smart contracts are almost impossible to hack as they are immutable and distributed.
Ethereum is one of the blockchains that supports smart contracts.

Solidity programming language is specifically designed to create smart contracts.
Smart contracts are unable to obtain data that is not already available on the blockchain.

Here Decentralized APIs come into play. πŸ‘‡πŸ»
Decentralized APIs unlock the full potential of smart contracts. Decentralized API or dAPI is typically an API that solves API connectivity issues without introducing any security risks.
However, decentralized oracles also solve this problem by allowing data integration from various sources. But it does not consider the data source API to be within the scope of their solution.
Decentralized APIs are full blockchain native made up of multiple data provider-operated nodes.
dAPIs include the APIs that support the data feed in the context of the solution.

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh
γ€€

Keep Current with RapidAPI

RapidAPI Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @Rapid_API

15 Nov
Top 5 Natural Language Processing APIs that can help you build excellent web projects.

A Thread πŸ§΅πŸ‘‡πŸ»
1️⃣ Text-to-Speech

- The Voice RSS Text-to-Speech (TTS) API allows conversion of textual content to speech easier than ever.

πŸ”— RapidAPI.com/voicerss/api/t…

πŸ“ˆ Popularity: 9.7/10
πŸ•› Latency: 1,194ms
βœ… Service Level: 100%
2️⃣ Rev .AI

- This API will let you maximize the value of your audio/video data in just a few steps by recognizing all spoken words in your media files.

πŸ”— RapidAPI.com/Rev.AI/api/rev…

πŸ“ˆ Popularity: 7/10
πŸ•› Latency: 4,376ms
βœ… Service Level: 100%
Read 6 tweets
2 Nov
Best practices for designing REST APIs.

πŸ§΅πŸ‘‡πŸ»
The abbreviation REST stands for "REpresentational State Transfer".

REST APIs are used to call resources and allow the software to communicate based on standardized principles, properties, and constraints.
1️⃣ Correct status codes

When developing REST APIs, make sure you use the HTTP status code. This helps your user to know if the request they have made is successful or not.
Read 10 tweets
2 Nov
Let's talk about widely used HTTP request methods and how to test them.

In this thread, we will cover:

- GET
- POST
- PUT
- DELETE

πŸ§΅πŸ‘‡πŸ»
πŸ“Œ GET

The GET method is the widely used request method. It is used to get the desired resources from the server.

For example, making a request to the /posts endpoint will return all the available posts.
One thing to note here is that we have used plural noun (/posts) for URL naming.

Using plural nouns for naming URLs is the best practice. It simply reduces the confusion about whether there are one or more posts in the resource collection. Using plural nouns for naming URLs is the best practice.
Read 14 tweets
2 Nov
We always believe in project-based learning. πŸš€

Check out these 11 excellent API-based web development projects you can build using RapidAPI.

Thread πŸ§΅πŸ‘‡πŸ»
1️⃣ Build and sell your own API $$$

- In this video, you'll learn how to make a profitable API and sell it on the RapidAPI Hub.

πŸ”—
2️⃣ Travel Advisor App

- A great tutorial on building and deploying a Google Maps Travel Companion App using a free API available on RapidAPI.

πŸ”—
Read 12 tweets
1 Nov
Here are 20 excellent APIs that can fulfill all your requirements of building a Machine Learning model.

Including voice and facial recognition, text analysis, spam filters APIs, and much more.

Thread πŸ§΅πŸ‘‡πŸ»
1️⃣ Sentiment Analysis

- Enter a string to check the positive or negative tone.

πŸ”— RapidAPI.com/twinword/api/s…

πŸ“ˆ Popularity: 9.6/10
πŸ•› Latency: 342ms
βœ… Service Level: 100%
2️⃣ OOPSpam Spam Filter

- OOPSpam Anti-Spam API helps you better identify spam content for contact forms, comment systems, blogs, live chat, etc.

πŸ”— RapidAPI.com/oopspam/api/oo…

πŸ“ˆ Popularity: 9.3/10
πŸ•› Latency: 351ms
βœ… Service Level: 100%
Read 22 tweets
29 Oct
Introduction to CORS

CORS is an HTTP-based mechanism that lets you request data from one URL to a different URL.

Let's talk about it in a bit more detail. πŸ§΅πŸ‘‡πŸ»
CORS stands for Cross-Origin Resource Sharing.

Half of the definition is clear by the abbreviation. CORS allows a server to share resources with browsers having different origins.
Let's try to understand cross-origin requests via an example:

Suppose you're making an HTTP request from "a .com" to "b .com". That's a cross-origin request.
Read 10 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Thank you for your support!

Follow Us on Twitter!

:(