In all the Solana examples, view functions require a signer with funds simply to fetch data from an account. This works ok for tests but not when fetching from a browser using phantom as it gets disruptive
I think there should be more examples that show how one can use something like program.account.state.fetch(<account>) to get data from a program which I've seen used in anchor projects
In all the Solana examples, view functions require a signer with funds simply to fetch data from an account. This works ok for tests but not when fetching from a browser using phantom as it gets disruptive
I think there should be more examples that show how one can use something like
program.account.state.fetch(<account>)to get data from a program which I've seen used in anchor projects