Skip to content

SolDapper/rpcx-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

rpcx-proxy

solana rpc proxy for non-node enviroments running php

features

whitelist domains or allow all origins

protects your rpc endpoint from public view

example usage

just send your rpc requests from your front end to the proxy

let proxy = "https://yourwebsite.com/proxy.php";
let connection = new solanaWeb3.Connection(proxy, "confirmed");

settings

open the proxy file and add your whitelist and rpc details

$whitelist = array("https://yourwebsite.com","https://anotherwebsite.com"); 
$key = "helius-key-here";
$path = "https://mainnet.helius-rpc.com/?api-key=".$key;

About

Solana PHP RPC Proxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages