A Javascript library for interacting with the Mesh JSON RPC API over WebSockets.
yarn add @0x/mesh-rpc-client
If your project is in TypeScript, add the following to your tsconfig.json
:
"compilerOptions": {
"typeRoots": ["node_modules/@0x/typescript-typings/types", "node_modules/@types"],
}
If you would like to contribute bug fixes or new features to the client, checkout the 0xproject/0x-mesh project and use the below commands to install the dependencies, build, lint and test your changes.
yarn install
yarn build
yarn clean
yarn lint
yarn test