bafnetwork/baf-wallet-v2

Should not use API to read the contract

Open

#31 opened on Apr 26, 2021

 (1 comment) (0 reactions) (0 assignees)TypeScript (0 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (4 stars)
PR merge metrics
 (PR metrics pending)

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

Contributor guide