streamingfast / solana-go

Go library for the Solana Blockchain
Apache License 2.0
123 stars 25 forks source link

how to authenticate? #9

Closed WilliamWhispell closed 3 years ago

WilliamWhispell commented 3 years ago

I downloaded the head revision, but seeing 403 even after creating a vault and importing a private key.

slnc serum get market 8AcVjMG2LTbpkjNoyq8RwysokqZunkjy3d5JDzxC6BJa
Error: fetch market: unable to get market account:403:Access forbidden, contact your app developer or support@rpcpool.com.

maoueh commented 3 years ago

After investigation, it appears the default RPC provider URL we use by default was a bit wrong (it probably worked in the past but was changed on the backend side at some point in time). It had a trailing /rpc which make the call fail.

The latest master branch should be fixed now. Please test and report if it's not the case.