Skip to content

manifoldfinance/mock-rpc

Mock RPC Relay

Proxy that uses MSW that allows to override RPC / REST / GraphQL calls to ease testing on certain scenarios, specifically designed for SushiSwap interface.

Requirements

Alternatively, having NodeJS 16 is enough to run the project without anything of the above.

Running

It will open connection at port 8080

npm run server 

Note: for ipv6, use http://[::1]:8080

License

Copyright 2021 CommodityStream LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

RPC Proxy that uses MSW that allows to override RPC / REST / GraphQL calls to ease testing on certain scenarios

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published