This page may contain legacy content

To get our most up-to-date content please access our documentation

February 19, 2022

Moralis Magazine #27 – One Click Authentication

Table of Contents

How will you ever get what you want if you don’t ask for it?

Often in sales and life, you’ll never get more than what you strive for. This is why at Moralis, we stress the importance of “big hairy audacious goals!” Benchmarks which, to some, seem unattainable or even laughable. We do this because we understand the consequence of not striving to be unimaginably great; accepting mediocrity.

As a Moralis Mage, you are among a class of elite developers; you have the privilege, or rather, the right to declare what protocols, what integrations, and what methods are important to you. Moralis is ready to adapt to your needs and the needs of the entire Web3 community; let’s find out how…

What are you building with Moralis? Are you stuck? Reach out to us with questions and comments. Who knows, we may even respond to you directly in a future magazine! 

Send Us Your Questions

You Ask, We Answer!

Each week we receive questions from Moralis developers just like you. Often, the answers can be found by visiting the official Moralis forum. Let’s take, for example, a question we received recently:

“I am building a REST API in NodeJS that bids on NFT collections, and I want to build the frontend in Moralis React, which calls the REST API for services, BUT using the logged-in users authenticated wallet. How would you pass those wallet credentials from Moralis to the API so that the API could bid from the end-users wallet?”

To this question, we answer:

If you need to call an external API from your application, then try making an HTTP request from inside a cloud function. There are more detailed instructions in the documentation, but you would need to define a simple cloud function that returns an HTTP request to your API; when calling the cloud function, you could pass parameters such as the wallet address (request.params.address).

But wait, there’s more…

Details on cloud server requests can be found at:

https://docs.moralis.io/moralis-server/cloud-code/httprequest.

While discussion on a related topic can be found here:

https://forum.moralis.io/t/how-to-call-external-api-in-moralis-cloud-function-and-job/7673.

If all else fails, reach out in the Moralis DAO Discord chat for further assistance.

Ask, and You Shall Receive…

The Moralis core team maintains a living timeline document, found at https://roadmap.moralis.io/. Unlike other timelines you may have come across in the past, the Moralis timeline is a growing adapting roster of new suggestions, planned proposals, and in-progress implementations.

We want to know what you think and what is important to you. Check out the roadmap and submit your feature request today!

Authenticate Like Magic!

Looking to integrate “trusted authority” wallet creation and authentication into your Moralis-powered Web3 dApp? Well, now you can! Check out our new tutorial for full details:

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

Most users will find Magic (from Magic Labs) a pretty intuitive solution for new user authentication; however, it is not the only choice that Moralis developers will have. Soon, Web3Auth will also be supported by Moralis’ Web3 framework. Web3Auth (https://web3auth.io/) improves the diversity of choices by implementing a “secret sharing scheme,” which replaces the key-custody method implemented by Magic.

Each of you is part of something extraordinary, and this magazine is all about putting the power of Moralis to work for you!

We are all Moralis and are here to support each other. If you are not already active in the Moralis DAO Discord, today’s the day to make your introduction.

Inside the Moralis DAO Discord, you’ll find a stacked deck of Moralis experts and fellow mages. Post your projects and get feedback from the community, participate in coding challenges, and stay updated with the latest Moralis features and updates.


Dynamic In-Game NFT: Part 2

Our fearless Moralis Expert Ash is at it again this week, with more tips and tools for enhancing our Web3-enabled games!

This week’s video picks up where part one left off:

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

The biggest restriction for metaverse/NFT game development is the ability to capture what’s happening off-chain and bring it on-chain.

This is called “the oracle problem” and affects all games wishing to “plug-in” to the present metaverse gaming opportunities.

In the previous video, we talked about the concept of updating NFT game assets and best practices for user experience, but in this video, we would like to get into some line-by-line solutions for you.

Let’s get into the code of the NFT game sandbox we’re building with Moralis that will demonstrate the issue.

What you do with the tools and expertise provided is up to you, and we hope this magazine helps spark some ideas.


Thanks for reading! We hope you found this week’s Moralis Magazine useful. 

Keep BUIDLING!

See you next time 💚

The Moralis Research Team

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