Forum Academy Marketplace Showcase Pricing Features

Ⓜ Moralis SDK by EazyCode

Moralis SDK

The ultimate Web3 tool now without code!

All the main features of the Moralis SDK integrated in one plugin.

Main Features:

  • Login with MetaMask or WalletConnect
  • Send ERC20 or Native Token
  • Send NFT
  • Get ERC20 Token MetaData
  • Get NFT Metadata
  • Get balance of token
  • Get all NFTs in Wallet
  • Get all NFT from Contract
  • Get Token Price (Price from DEX like Pancakeswap, Uniswap etc.)
  • Get NFT Lowest Price
  • Get Transaction Confirmations
  • Run Smart Contract Functions

Additional features

IPFS

A separate plugin element with IPFS related features:

  • Upload JSON Object
  • Upload Base64 File
  • Select and Upload File
  • Get JSON
Sync - Subscribe to wallet Transactions

Separate plugin element

  • Tokens transactions
  • NFT transactions

Supported chains

The plugin supports any chain that is listed on the official documentation page such as Ethereum, Polygon, BSC etc.

Instructions

Get Started

  1. First thing, you need 2 keys to run the SDK, you will get for free on moralis.io
    “App ID” and “Server URL”
    Get them and insert in the plugin settings.
  2. Add the plugin element Moralis SDK on the page
  3. To access all feature, first thing you need to do is to login the user, use the “Login with MetaMask” or “Login with WalletConnect” plugin action.
  4. Now all Moralis SDK features are available to you.

Demo: Bubble | No-code apps
Marketplace: Moralis NoCode SDK Plugin | Bubble


All our plugins & templates:

2 Likes

Hi. Thanks for the plugin! Could you include an action in backend to subscribe/unsubscribe a user in Moralis, an action to get all transactions of this user and another to synchronize for new transactions?

I noticed the existence of an element that receives new transactions when the wallet is synced “A Moralis Sync New Transaction”. Very good. But my use case needs to receive all user transactions executed in wallet. I have not identified a specific element for this or an action. If there really is no such function in the plugin, would it be possible to include it? Moralis documentation states that the system automatically downloads all user transactions carried out in the wallet. Already for the attention.

User Balances and Transactions - Moralis.

I need to understand how to call a contract function. In which fields to put. Do you have any documentation?

Anyway, check if it’s correct, please:

Function name field, should contain only the name, in your case: claim

everything else from the inside are the function parameters, each of them should be in the “Parameters” field of this action.
Open the small documentation under this field.

1 Like

Hum… ok, but don´t working. Have some problem with json. Could you check?

The params:
{_receiver:“0x7b2b564dB76240642Ef0C8E5ae6590a046ee75f1”, _quantity: 1, _currency: “0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE”, _pricePerToken: 1000000000000000, _proofs: “0x0000000000000000000000000000000000000000000000000000000000000000”, _proofMaxQuantityPerTransaction: 0}

Captura de Tela 2022-05-07 às 01.47.00

But…

I did a lot testings… but, don´t work. Do you know if i need change some param format? Ex.: Without {}…

The function i put just: claim

Thanks.

I made on more simples… and :frowning:

It seems to me to be something in the formatting different from the json in the parameters. That’s what I need to know, if the formatting is wrong.

It seems to me to be something in the formatting different from the json in the parameters. That’s what I need to know, if the formatting is wrong or if there’s a bug in the plugin.

to test:
rinkeby net

Contract:
0xf9caB5a3C619048C52bA73164cE916C5859ea614

Occupation:
balanceOf

ABI:
[{“internalType”:“address”,“name”:“owner”,“type”:“address”}],“name”:“balanceOf”,“outputs”:[{“internalType”:“uint256”, “name”:"",“type”:“uint256”}]

parameters
{
owner:“0x7b2b564dB76240642Ef0C8E5ae6590a046ee75f1”
}

Hi!

Keen to use your Moralis plugin for our Bubble project, as we use a number of Moralis functions supported by it.

Unfortunately however it doesn’t seem to support Web3Auth (Torus) login, which we need in addition to Metamask.

Moralis supports Web3Auth, so would it be possible to achieve this with the plugin?

Alternatively, would you write a dedicated plugin for Web3Auth login instead?

Many thanks

Hi, thanks for pointing it out, we will definitely add this in the next update as soon as possible.

Hi, in your screenshot seems like you are using the wrong format of double quotes. Make sure they are of standard type. Usually it happens when copy/pasting the json data is reformatting.

From your other screenshot, the owner parameter doesn’t have double quotes, try to add them, and again, make sure they are of standard type.

tks for your reply ! a dedicated web3auth plugin wld be awesome actually, saw on discord that it’s in progress already - look forward to it :))

A separate post on forum will be out soon, but until then, check this :wink:

Thanks that’s great! I’ve just bought it but need a bit of help getting it to work.

Have posted more details on the Web3Auth thread 🛡 Web3Auth - plugin by NovaBloq .

Cheers :slight_smile:

@ezdev Can you add the ability to create a wallet when user signs up with email? Or the ability to link wallet and manage user keys with the app? Cheers.

I have the same problem, I tried manually re-entering json, but it didn’t work. Help me understand please.))
sc1


Hello!

I just had a quick question → What is the process I would go through in order to display NFT images from User’s Metamask Wallet?

I can get to the point of seeing user’s Wallet address, and even being able to display the text information for “All Wallet NFTs” - But I can’t figure out how to display the images.

With that, I’d love to be able to limit it to specific collections as a condition when pulling from the users wallet.

All help is appreciated immensely! Thank you so much.

See this demo page
In the result, there’s a parameter called “image”, you will need to extract that parameter using regex.
You can use this demo page from Web3&Metamask for reference, it uses the same method to extract data from json response.

1 Like

Hi, is it possible to make a Contract Write with this plugin? I mean, I have my own contract with custom functions, including some payable functions. Can I call (ie Contract Write) these functions with this plugin ? if yes, can you pls tell how to make the call? Thanks.

Yes, it is possible using action called “Run Contract Function
However it is a bit limited, so I strongly recommend using the Web3&Metamask plugin for Write contract calls, it is way more flexible (there is a also a few demo pages)
It can be combined with Web3Auth if you want to use other wallets besides MetaMask

If you will have more questions, I will be happy to help, join our Discord :wink:

Hi, thanks for your prompt reply.
I had tried Run Contract Function but…it seems only Read interactions can be done with it - while Write function calls seems not to work at all. Also, I have seen that with Run Contract Function I can not send payments (BNB, ETH, etc) along with the Write function call, ie there is not a “value” field to use.
It would be GREAT if you guys could update this plugin with a full functional Write functionality as in Web3&Metamask which I am using perfectly (lovely plugin, good job) and also with the Wallet Connect plugin (I do not remember if it yours, sorry).
This Moralis plugin, IF you guys add a real Write functionality, could avoid develpers using Web3&Metamask and WalletConnect plugins and always keep track of what connection the user has chosen.
I has also tried Web3Modal + Web3&Metamask to do Write calls to my custom contracts, but such combintion seems not realiable, sometimes it get stuck and there is no popup in the Wallet to confirm the transaction, I could not figure it out how to fix this, maybe my fault,I do not know… I decided to stay with Web3&Metamask + WalletConnect plugins - until you upgrade Moralis plugin :-).
I do not know Web3Auth, I will double check if it fits my “Write” needs.
Thanks!