@@ -5,13 +5,6 @@
export function getSolanaRpcUrl(): string {
const rpcUrl = process.env.SOL_ENDPOINT
-
- if (!rpcUrl) {
- throw new Error(
- 'SOL_ENDPOINT 环境变量未设置。请在 .env.local 文件中设置 SOL_ENDPOINT,或在构建时通过环境变量传入。'
- )
- }
return rpcUrl
}