Skip to main content

Questions tagged [config]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
25 views

what is the `address_labels` field in the CLI config.yml for?

In the solana cli config file (~/.config/solana/cli/config.yml) there is a address_labels array field. By default, it includes the system program. What is this field for and where are the labels ...
nickfrosty's user avatar
  • 1,199
0 votes
1 answer
32 views

Error fetching block: ReferenceError: GetBlockConfig is not defined

Hello Im a bit confused about this error and what im doing wrong, here is my code const { Connection, clusterApiUrl } = require('@solana/web3.js'); const connection = new Connection(clusterApiUrl('...
Golden's user avatar
  • 61
1 vote
1 answer
83 views

Following a Solana token guide and found out later on the info is dated. Not I'm getting an error when I try to check my spl-token accounts

I was following the https://mafyuh.com/posts/spl-token-cli/ guide, and used this command "as instructed" PS C:\Users\Keola> solana config set --url https://api.mainnet-beta.solana.com --...
Keola's user avatar
  • 83
3 votes
1 answer
643 views

Change config file location in CLI

My current config file is at ~/.config/solana/cli/config.yml, how do I switch it to use ~/.config/solana/cli/some.other.config.yml? So far, I've only been able to do it on a per-command basis using ...
gxc's user avatar
  • 165
3 votes
1 answer
4k views

Error: RPC request error: cluster version query failed: error sending request for url (http://localhost:8899/): error trying to connect

Error: RPC request error: cluster version query failed: error sending request for url (http://localhost:8899/): error trying to connect: tcp connect error: Connection refused (os error 61) Whenever I ...
Rajib Mondal's user avatar
1 vote
0 answers
33 views

I have downloaded solana and rust and am trying to anchor build a project and keep getting this message

error[E0635]: unknown feature proc_macro_span_shrink --> /Users/arslandin/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.47/src/lib.rs:92:30 | 92 | feature(proc_macro_span, ...
Arslan's user avatar
  • 11
1 vote
1 answer
54 views

Setting up config file in terminal

I'm setting up Solana on an M1 mac and I've reached a hurdle. I'm meant to set up a file at ~/.cargo/config and include the instructions featured in the attached photo. How do I set up the file though?...
Ezra 's user avatar
  • 11