bafnetwork/baf-wallet-v2
Should not use API to read the contract
Aberta
#31 aberto em 26 de abr. de 2021
enhancementgood first issue
Métricas do repositório
- Stars
- (4 estrelas)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
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