bafnetwork/baf-wallet-v2

Should not use API to read the contract

Aperta

#31 aperta il 26 apr 2021

 (1 commento) (0 reazioni) (0 assegnatari)TypeScript (0 fork)auto 404
enhancementgood first issue

Metriche repository

Star
 (4 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

  • 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

Guida contributor