0.12.0 • Published 2 months ago
@whatsgood/nexus v0.12.0
Introduction
Welcome to Nexus
- a simple TypeScript proxy server for any Ethereum JSON RPC compliant blockchain. Instead of connecting your dApps to a blockchain node, you can connect them to Nexus
and Nexus
serves the requests for you. Nexus
is open source and free to use.
Documentation
Check out our documentation for detailed instructions.
Installation
# npm
npm install @whatsgood/nexus
# pnpm
pnpm install @whatsgood/nexus
# yarn
yarn add @whatsgood/nexus
Quickstart
// Cloudflare worker example
import { Nexus } from "@whatsgood/nexus";
type Env = Record<string, string>;
const nexus = Nexus.create<Env>({
providers: (ctx) => [
{
name: "alchemy",
key: ctx.ALCHEMY_KEY,
},
{
name: "infura",
key: ctx.INFURA_KEY,
},
{
name: "ankr",
key: ctx.ANKR_KEY,
},
],
globalAccessKey: (ctx) => ctx.NEXUS_GLOBAL_ACCESS_KEY,
chains: [1],
});
export default {
fetch: nexus.fetch,
};
0.11.0
2 months ago
0.12.0
2 months ago
0.9.0
5 months ago
0.8.0
5 months ago
0.7.0
5 months ago
0.6.0
5 months ago
0.5.0
5 months ago
0.4.0
5 months ago
0.3.0
5 months ago
0.2.1
5 months ago
0.2.0
5 months ago
0.0.8
6 months ago
0.0.7
6 months ago
0.0.6
6 months ago
0.0.5
6 months ago
0.0.4
6 months ago
0.0.3
6 months ago
0.0.2
6 months ago
0.0.1
6 months ago