@altude/core and @altude/gasstation publish dedicated react-native entrypoints. Metro selects them through the package export condition.
Install
Use the same public imports as other runtimes:
Compatibility behavior
- HTTP RPC clients initialize without Node.js
Buffer
- Transaction-building paths avoid
DOMException assumptions
- Gill’s React Native entrypoint is selected instead of its Node/WebSocket build
- RPC subscriptions initialize only when a subscription-dependent property is accessed
Do not add a Metro extraNodeModules alias that forces the Node.js Gill package. Doing so can reintroduce ws, Buffer, and other Node-only dependencies.
Subscriptions
HTTP methods work with the React Native entrypoint. Accessing rpcSubscriptions still requires WebSocket capabilities from the target runtime.