Solana RPC API中文文档 Solana节点提供遵循JSON-RPC 2.0规范的API接口。 要在JavaScript程序内方法Solana节点,可以使用solana-web3.js库,它提供了访问Solana节点的RPC方法的便捷接口。 Solana节点支持HTTP和WebSocket访问,端口及端接点URL如下所示: HTTP 默认端口:8899 访问端节点:例如:http://localhost:8899, http:/...
Solana RPC API中文文档 Solana节点提供遵循JSON-RPC 2.0规范的API接口。 要在JavaScript程序内方法Solana节点,可以使用solana-web3.js库,它提供了访问Solana节点的RPC方法的便捷接口。 Solana节点支持HTTP和WebSocket访问,端口及端接点URL如下所示: HTTP 默认端口:8899 访问端节点:例如:http://localhost:8899, http:/...
process.env.SOLANA_RPC_ENDPOINT || "https://api.mainnet-beta.solana.com", }; const SPL_PROGRAM_KEYS = { TOKEN_PROGRAM: address("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"), TOKEN_2022_PROGRAM: address("TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"), }; const solanaRpc = createSol...
我正在尝试使用 websockets 连接到 Solana 主网。我不知道如何使用 web3.js 进行连接。也许有人遇到这个问题并可以帮助我? 谢谢 这是我编写的一行简单代码: let con = new web3.Connection('https://api.mainnet-beta.solana.com', { commitment: "confirmed", wsEndpoint: 'ws://api.mainnet-beta.solana....
问Solana websocket RPC与@solana/web3.jsENSolana第9次宕机!验证端升级后无法出块 根本原因仍在查 ...
To interact with a Solana node inside a JavaScript application, use thesolana-web3.jslibrary, which gives a convenient interface for the RPC methods. 回到顶部 RPC HTTP Endpoint# Default port: 8899 e.g.http://localhost:8899,http://192.168.1.88:8899 ...
This version fixes a bug with RPC subscriptions that we introduced in Release Candidate 2. We now expect this, Release Candidate 3, to be the final version before tagging version 2.0 of@solana/web3.js. Please submit any final bug reports before Thursday, November 7th byfiling a GitHub Issue...
Add link to new web3.js repo (#30096) 2年前 wen-restart Wen_restart: check block full using blockstore (#250) 1年前 zk-keygen [clap-v3-utils] Deprecate signer source validation (#33802) 1年前 zk-token-sdk [zk-token-sdk] Implement FromStr for ElGamalPubkey, `ElGamal...
Ok, so now we’ve imported solana-web3.js, spl-token, and base58. We’ll be using solana-web3 for most of this, as a base layer connection and interactivity layer with the Solana blockchain. We’ll be using spl-token for the minting and tokenAccount process, and we’ll be using ...
Solex is an explorer that lets you connect your Solana wallet, check your balance, get your token accounts, and view your transaction history with details. typescript nextjs web3 solana solana-wallet-adapter solana-web3 Updated Jan 10, 2023 TypeScript g0drlc / Solana-projects Star 3 Co...