bafnetwork/baf-wallet-v2

Should not use API to read the contract

Ouverte

#31 ouverte le 26 avr. 2021

 (1 commentaire) (0 réaction) (0 personne assignée)TypeScript (0 fork)auto 404
enhancementgood first issue

Métriques du dépôt

Stars
 (4 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

  • Currently the api has endpoints, being used by the frontend, to read the contract for when the frontend's account is not initialized

  • The Near JS API does not provide a clear way of reading contracts without having an account on the frontend

  • Use JSON RPC or connect with NEAR developers in order to read data from the contract directly

  • Ideally this would be part of its own library or the baf-contract library

Guide contributeur