GithubHelp home page GithubHelp logo

moralisweb3 / moralisdocumentation Goto Github PK

View Code? Open in Web Editor NEW
63.0 63.0 58.0 79.66 MB

This is the official repository for DEPRECATED V1 Moralis Documentation hosted in Gitbooks.

Home Page: https://docs.moralis.io

moralisdocumentation's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

moralisdocumentation's Issues

Change dependency install code to include moralis on react-moralis docs

Issue:

  1. Ideally devs would read every word before they start, but we all know they don't. Myself included. It's very easy to skip the part that says "make sure you have moralis installed" -- your eye is naturally drawn to the copyable code snippet to install react-moralis.
  2. Presumably anyone installing react-moralis is setting up the project and hasn't already installed moralis. Changing the copyable code makes it a little bit smoother, and removes the existential dread you get when you throw an error as soon as you've installed dependencies.

Solution:

Change the npm and yarn install scripts to npm install moralis react-moralis and yarn add moralis react-moralis, and remove moralis from the "make sure you've installed" bit.

[Request] Please elaborate chainId

Specify the chainId.
You might want to specify the chain id that WalletConnect will use by default. You can do this by providing the chainId as an extra option

I want wo suggest to elaborate on this since most of the wallets will just ignore this param (for example Metamask states in their docs that they ignore it for now) and I don't have idea for what use case exactly this is used, never see it in action. If there is a real use case please add it no a future video.

Just trying to help since Moralis should make dev's life easier.

Unclear how to sync historical data for an address using the watchXxxAddress cloud function

I was trying to find a way to programmatically watch and sync addresses using cloud functions. The current documentation mentions that you can sync and watch addresses by calling:

await Moralis.Cloud.run("watchBscAddress", {address: "0x..."})

It seems, however, that this only watches new transactions made by addresses. It does not immediately sync the historical transactions to the database.

The solution is to add sync_historical: true as an argument:

await Moralis.Cloud.run("watchBscAddress", {address: "0x...", sync_historical: true});

I would suggest to add this to the Moralis docs.

[Bug] Objects logging as `undefined`

The Moralis cloud logger outputs undefined when objects are passed in as parameters. For example, outputting the results of a successful call to getPairReserves logs undefined. I tested that the object was in fact not undefined when it correctly outputted the attributes of the resulting API call. Just wanted to bring this to y'alls attention in case this is not expected behavior.

Connect with React has missing code

Problem

In the documentation, under Connect with React title, Authenticate User part has explanation for authenticating user with wallet but the code snippet found below has missing hook to complete the action.

Solution

A hook such as useEffect() might be added.

Screenshot

image

Cloud's nodejs version

It would be very useful to write the current version of nodejs that runs cloud functions for compiler configurations (babel, typscript).

And what's the version by the way 😁?

contributing for translate Moralis doc

Hello,

I am Sara Bavifard. I want to be the coordinator of Persian Moralis documentation and translate this doc into the Persian language.
Currently, I'm the coordinator of Persian solidity doc.
I'm interested in joining your team as a content creator in the Persian language and working with Moralis full-time.

kindly guide me to join your team.

New Moralis authKit

Documentation on the new moralis authkit for the sdk version for webgl, platform, ios and andriod

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.