Live metal prices for react and react native using websocket
Using npm:
npm install metal-price-live
Using yarn:
yarn add metal-price-live
import useMetalPriceLive from 'metal-price-live';
// ...
const { status, data, error } = useMetalPriceLive(
'wss://your-websocket-endpoint',
'your-api-key'
);
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library