August 10, 2022

Introducing Moralis 2.0

Table of Contents

Today marks the beginning of our transition to Moralis 2.0.

Moralis 2.0 is key to our overall goal of accelerating Web3 mass-adoption. 

We at Moralis are aiming at onboarding one million Web2 developers to Web3. For Web3 to truly become mainstream, we need great devs in the space – and great devs require great tools. To onboard this massive amount of devs, we need to massively reduce the Web3 entry barriers for Web2 devs. 

In order to minimize the friction for Web2 devs getting into Web3, we want to offer experiences that are very familiar to existing developers. This makes their transition to Web3 as smooth as possible – and this is exactly what Moralis 2.0 is about. 

What is Moralis 2.0?

With Moralis 2.0, we are focusing on what we do best; providing top-of-the-line Web3 backend services; and we are enabling easy integrations with all the Web2 platforms that Web2 developers already use. 

Let’s first take a step back and see why we are introducing Moralis 2.0. To be as accessible as possible to developers looking to get into Web3, we have to be present across all platforms Web2 developers already use.

Currently, most of our time has gone into developing great Web3 backend solutions. In addition to this, we also develop a few frontend SDKs, such as our React SDK, Unity SDK, or our upcoming React Native SDK.  

How do we go from this…

This strategy clearly provides a huge amount of value to the masses of developers using Moralis. However, we want to be present on many more platforms, to reach even more developers. In order to do this, we need to provide integrations to our world-class backend, instead of implementing all different frontend SDK ourselves. 

This means instead of building frontend SDKs, we double-down on building our backend and backend SDKs, and we then do integrations to unlock all the different SDKs for mobile, gaming, and web development. 

As such, we are now bringing our hugely popular Web3 components – such as our world-class Web3 Authentication, Web3 Syncs, and our other APIs like our NFT API – and make these fully compatible and easily integrateable with Web2 backends like Firebase, Supabase, Playfab, and many others. For all Moralis 2.0 details, be sure to check out the following video:

https://www.youtube.com/watch?v=hqkOm4gWftA

What Happens Now?

Long-term, Moralis 2.0 aims to allow developers to integrate Web3 into any tech stack. For example, Moralis 2.0 will eventually enable developers to use Moralis with all your favorite web and mobile frameworks, as well as game integrations with e.g. Unreal Engine and Unity. 

Moreover, Moralis  2.0 will also allow us to do a full open-sourcing of the Moralis stack. We are currently taking all different services we offer from the Moralis service and turning them into APIs. For example, we’re making both our authentication and syncs features APIs, meaning you’ll soon be able to self-host your Moralis server.

Starting today, we’re releasing the Moralis JavaScript SDK v2 Update. This is the first step towards realizing Moralis 2.0 and being able to integrate Moralis with any backend, and we’re now starting with NodeJS. Starting today, you’ll be able to handle EVM API, Solana API, and to handle Moralis authentication through the API.

What About the Current JavaScript SDK?

If you want to keep using Moralis as you currently do with the “moralis” SDK, follow these steps below to continue receiving bugfixes and patches:

Moralis-v1

Replace the “moralis” library with the “moralis-v1″ library here: https://github.com/MoralisWeb3/Moralis-JS-SDK-v1

NPM Users:

Change the “moralis” dependency to “moralis-v1” 

https://www.npmjs.com/package/moralis-v1

CDN Import Users:

Change the script src from https://unpkg.com/[email protected]/dist/moralis.js to https://unpkg.com/[email protected]/dist/moralis.js

Please note that this only applies only for updates after v1.11.0.

If you’re using a fixed version of Moralis below 1.11.0, you can leave it as it is until you update. When you update to v1.11.0 or above, you’ll need to change the dependency to moralis-v1. For a full introduction to the new NodeJS SDK for Moralis 2.0, check out the following video:

https://www.youtube.com/watch?v=RPK37-_ZJFE
Moralis Money
Stay ahead of the markets with real-time, on-chain data insights. Inform your trades with true market alpha!
Moralis Money
Related Articles
September 15, 2022

How to Token Swap ERC-20 Tokens

March 14, 2023

Notify Custom Webhooks – Real-Time Data with Moralis Streams

February 9, 2023

Alchemy NFT API Alternative – Which is the Fastest NFT API?

December 31, 2022

Ethereum Logs and Events – What are Event Logs on the Ethereum Network?

January 12, 2023

BNB Faucet – The Full Guide to BNB Testnet Faucets

August 2, 2022

How to Create an NFT Candy Machine

December 22, 2022

What is Danksharding? EIP-4844 and Danksharding Explained

December 11, 2022

Web3.js vs Ethers.js – The Full 2023 Guide to ETH JavaScript Libraries

November 7, 2023

Etherscan API Alternatives – Easiest Way to Build Similar Sites to Etherscan