Learn about the benefits and uses cases of Nexus
Nexus
as a reverse proxy, the node provider will only see the IP address of your Nexus
server, thus respecting the privacy of your end users.
Nexus
, you are able to switch node providers from a single location, without downtime and without having to change your dApp code or configuration. This is especially useful if you are publishing multiple dApps, connecting to multiple blockchains, or operating multiple clients and services that require blockchain access.
Nexus
, you can simply add a new node provider to your configuration and you’re good to go. No need to introduce additional providers to your dApp.
Nexus
will cycle the request to another one, effectively multiplying your availability and uptime. Check out Load Balancing for more information.
Nexus
will continuously track response times and
availability of your providers and will automatically forward requests to the
fastest one.Nexus
brings the best of both worlds: you can use any provider you want, and
you can protect your keys from being exposed. Nexus
will protect your keys and
will only expose its own access keys to your users. If run in token
mode, unlike standard
providers keys which are baked into your client code, Nexus
will manage access through
jwt tokens at runtime.
Nexus
:
totalSupply()
and balanceOf()
for your token contracts A
and B
.totalSupply()
and balanceOf()
for your token contracts A
, B
and C
, and also call transferTo()
on A
and B
.Nexus
is currently under development. Fine-grained access protection
(described below) will be available in an upcoming release.Nexus
allows you to create fine-grained scopes via middleware. If you’re already using a token-based authentication system, you can configure your services to sign Nexus
tokens as you authenticate your users. Check out Authorization and Middleware for more information.
Nexus
round-robins the relayed requests when it detects multiple configured providers for a given chain. For example, if you configure your access keys for infura, alchemy and ankr, since they all support eth mainnet, your clients will have their requests randomly relayed to one of these providers at any given time, effectively decentralizing your blockchain access.
Nexus
will optionally allow you to configure quorum
based strategies, such as 2-of-3, 3-of-5, etc. This will provide additional
security and decentralization, beyond the randomized-round-robin strategy.Nexus
.Nexus
allows you to execute custom code before, during and after your web3 transactions, allowing you to handle state transitions atomically and in a single request. Since this happens on the server-side, you are no longer required to implement web2 subscriptions on the client-side. You are further protected from client-specific failure modes, such as network connectivity issues or request interruptions (e.g. user closes the browser tab in the middle of a state transition).
Nexus
does this through Event Handlers, which allow you to coordinate web2 and web3 state updates in a single request. This is a much more robust solution, as it allows you to handle errors and retries in a single place, and it also allows you to implement atomicity, as you can rollback your web2 state if your web3 transaction fails. Nexus
allows you to inject custom code based on built-in events, as well as custom events that you define yourself.
Nexus
allows you to configure rate limiting on multiple levels. You can limit based on IP addresses, request types (e.g. eth_call
, eth_sendTransaction
, etc.), request parameters (e.g. method
, params
, etc.), aggregate number of requests per second, user roles, and many more. You can even configure different rate limits for different providers. This allows you to protect your providers from being rate limited or disabled by your provider, causing outages for your users.
If the out-of-the-box rate limiting capabilities of Nexus
are not enough for your use case, you can easily extend them by implementing your own rate limiting logic of your choice. Check out Rate Limiting for more information.
Nexus
is currently under development. Rate limiting will be available in an
upcoming release.