2022-09-15 11:25:20 -07:00
|
|
|
# radiance ☀️
|
2022-01-25 05:13:42 -08:00
|
|
|
|
2022-09-15 11:30:36 -07:00
|
|
|
Highly experimental Solana Go playground monorepo.
|
|
|
|
|
|
|
|
⚠️ **No guarantees, no support, quite possibly no documentation either.
|
|
|
|
Ignore this repo unless you're ready to read and understand the code.** ⚠️
|
2022-09-11 13:51:08 -07:00
|
|
|
|
2022-09-12 09:07:18 -07:00
|
|
|
## Available tooling
|
2022-09-11 13:51:08 -07:00
|
|
|
|
|
|
|
- [solrays](cmd/solrays), an RPC proxy that exports call latency of a Solana RPC node.
|
|
|
|
|
2022-09-12 09:07:18 -07:00
|
|
|
## Building
|
2022-09-11 13:51:08 -07:00
|
|
|
|
|
|
|
In order to build the available tooling, the following is required:
|
|
|
|
- Go 1.18+
|
|
|
|
- Run
|
|
|
|
```
|
|
|
|
./generate.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
Building all the tools _should_ be as easy as:
|
|
|
|
```
|
|
|
|
:; go build -o _bin/ github.com/certusone/radiance/cmd/...
|
|
|
|
```
|
|
|
|
|
|
|
|
All binaries will be placed in `_bin/` folder.
|
|
|
|
|
|
|
|
Or if you're just looking for a single tool, say `solrays`:
|
|
|
|
```
|
|
|
|
:; go build -o _bin/ github.com/certusone/radiance/cmd/solrays
|
|
|
|
```
|
|
|
|
|
|
|
|
**NOTE:** Mind yourself, some of the tools here tools may depend on C code (and CGO), and other shenanigans,
|
2022-09-15 11:25:20 -07:00
|
|
|
so you may have to adapt accordingly.
|