Ledger location:test-ledgerLog:test-ledger/validator.log Initializing...Version:1.10.28Shred Version:483Gossip Address:127.0.0.1:1024TPUAddress:127.0.0.1:1027JSONRPCURL:http://127.0.0.1:889900:00:16|Processed Slot:12|Confirmed Slot:12|Finalized Slot:0|Full Snapshot Slot:-|Incremental Snapshot Sl...
$ solana config set --url https://api.testnet.solana.com // 确认: $ solana config get Config File: /Users/xxx/.config/solana/cli/config.yml RPC URL: https://api.testnet.solana.com WebSocket URL: wss://api.testnet.solana.com/ (computed) Keypair Path: /Users/xxx/.config/solana/id....
NetworkWSSHTTPS DEVNET ✅ ✅ TESTNET ✅ ✅ MAINNET ✅ ✅Making Solana API RequestsIn this documentation, you will see example requests made with various programming languages for each supported Solana method. This section will explain how to execute each one of them on your machine....
-url: The URL of the web socket server. Must use the ws or wss protocols.getChannelPoolingChannelCreator(createChannel, { maxSubscriptionsPerChannel, minChannels })Given a channel creator, will return a new channel creator with the following behavior....
WSS: WebSocket URL for monitoring. MINT: The mint address of the token you want to monitor. MAIN_KP: The keypair to use for signing transactions. DOUBLE_CHECK_INTERVAL: The interval (in ms) to double-check the wallet state. ADDRESS_TO_UNFREEZE: Optionally, provide a wallet address to unf...
You can also specify an arbitrary RPC URL and RPC subscription URL:const connection = connect("https://mainnet.example.com/", "wss://mainnet.example.com/");After you've made a connection Kite is ready to use. You don't need to set up any factories, they're already configured. A ...
WebSocket URL: wss://api.devnet.solana.com/ (computed) Keypair Path: /home/swarnab/.config/solana/id.json Commitment: confirmed 现在我们来部署程序: $ anchor deploy 部署成功 如果你得到提示部署成功,这意味着你的程序部署成功。 去区块链浏览器可以用程序 ID 查询。确保cluster被设置为devnet。程序 ID...
00.0000 cwfdjtyqfc37pyjlfsg5bxfjgckb3ejhdyatnsygywss 1 16.613 2025-04-01 00:00:00.0000 hmv1t5isv7hh3bqzyezhroblxs7ytfzpksxpv8jgyak6 1 16.5 2025-04-01 00:00:00.0000 3uzaqwkzqermwbzesqgut2pu4cmtjnu9qfpqnw2nmzcg 1 16.482 2025-04-01 00:00:00.0000 j6dbgkdffsrxjxxynel3dfqaxn2...
yml RPC URL: https://api.testnet.solana.com WebSocket URL: wss://api.testnet.solana.com/ (computed) Keypair Path: /Users/xxx/.config/solana/id.json Commitment: confirmed 或者本地的solana: % solana config set --url localhost Config File: /Users/walker/.config/solana/cli/config.yml RPC...
WebSocket URL: wss://api.devnet.solana.com/ (computed) KeypAIr Path: /Users/anoushkkharangate/.config/solana/id.json Commitment: confirmed 接下来,请参考Solana wallet docs设置 文件系统钱包,并使用命令solana airdrop 1添加一些devnet的 sol通证。