web3-fake-provider - A mock provider class that can be used with Ethereum web3.js

  •        195

web3-fake-provider is a mock provider class that can be used with Ethereum web3.js. It mocks the behavior of Web3.providers.HttpProvider. Might be useful for testing or having a working web3 instance when your Ethereum node is down.

https://github.com/raineorshine/web3-fake-provider

Tags
Implementation
License
Platform

   




Related Projects

web3-provider-engine - A JavaScript library for composing Ethereum provider objects using middleware modules

  •    Javascript

Web3 ProviderEngine is a tool for composing your own web3 providers. Built to be modular - works via a stack of 'sub-providers' which are like normal web3 providers but only handle a subset of rpc methods.

trust-wallet-ios - :iphone: Trust - Ethereum Wallet and Web3 DApp Browser for iOS

  •    Swift

We intend for this project to be an educational resource: we are excited to share our wins, mistakes, and methodology of iOS development as we work in the open. Our primary focus is to continue improving the app for our users in line with our roadmap. The best way to submit feedback and report bugs is to open a GitHub issue. Please be sure to include your operating system, device, version number, and steps to reproduce reported bugs. Keep in mind that all participants will be expected to follow our code of conduct.

web3

  •    PHP

A php interface for interacting with the Ethereum blockchain and ecosystem.

honeyLambda - honeyλ - a simple, serverless application designed to create and monitor fake HTTP endpoints (i

  •    Python

honeyλ allows you to create and monitor fake HTTP endpoints automatically. You can then place these URL honeytokens in e.g. your inbox, documents, browser history, or embed them as {hidden} links in your web pages (Note: honeybits can be used for spreading breadcrumbs across your systems to lure the attackers toward your traps). Depending on how and where you implement honeytokens, you may detect human attackers, malicious insiders, content scrapers, or bad bots. This application is based on Serverless framework and can be deployed in different cloud providers such as Amazon Web Services (AWS), Microsoft Azure, IBM OpenWhisk or Google Cloud (Only tested on AWS; the main function may need small changes to support other providers). If your cloud provider is AWS, it automatically creates HTTP endpoints using Amazon API Gateway and then starts monitoring the HTTP endpoints using honeyλ Lambda function.

Legend Fakes - Fake it easy!

  •    

A dynamic fake framework. * Easier semantics, all fake objects are just that - fakes - the use of the fakes determines whether they're mocks or stubs. * Context aware fluent interface guides the developer. * Full VB.Net support.


ethereum-lists - A repository for maintaining lists of things like malicious URLs, fake token addresses, and so forth

  •    Javascript

A repository for maintaining lists of things like malicious URLs, fake token addresses, and so forth. We love lists. Navigate to the file you would like to make the adjustment to by clicking it's name.

pact-ruby - Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project

  •    Ruby

Define a pact between service consumers and providers, enabling "consumer driven contract" testing. Pact provides a fluent API for service consumers to define the HTTP requests they will make to a service provider and the HTTP responses they expect back. These expectations are used in the consumer specs to provide a mock service provider. The interactions are recorded, and played back in the service provider specs to ensure the service provider actually does provide the response the consumer expects.

web3.js - Ethereum JavaScript API

  •    Javascript

This is the Ethereum compatible JavaScript API which implements the Generic JSON RPC spec. It's available on npm as a node module, for bower and component as an embeddable js and as a meteor.js package.You need to run a local Ethereum node to use this library.

dyson - Node server for dynamic, fake JSON.

  •    Javascript

Node server for dynamic, fake JSON. When developing client-side applications, often either static JSON files, or an actual server, backend, datastore, or API, is used. Sometimes static files are too static, and sometimes an actual server is not available, not accessible, or too tedious to set up.

json-server - Get a full fake REST API with zero coding in less than 30 seconds

  •    Javascript

JSON Server is a full fake REST API with zero coding in less than 30 seconds Created with <3 for front-end developers who need a quick back-end for prototyping and mocking.

FakePoint

  •    

FakePoint is a set of fake (mock or stub) SharePoint object model API classes to enable unit testing and TDD. The FakePoint DLL is referenced in the test project in place of the SharePoint assembly, allowing the fake API classes to be used transparently without special coding.

mockolate - fake chocolate, mock objects and test spies for AS3

  •    ActionScript

fake chocolate, mock objects and test spies for AS3

FakeRest - Patch fetch/XMLHttpRequest to fake a REST API server in the browser, based on JSON data.

  •    Javascript

Intercept AJAX calls to fake a REST server based on JSON data. Use it on top of Sinon.js (for XMLHTTPRequest) or fetch-mock (for fetch) to test JavaScript REST clients on the browser side (e.g. single page apps) without a server. FakeRest uses a standard REST flavor, described below.

mist - Mist. Browse and use Ðapps on the Ethereum network.

  •    Javascript

The Mist browser is the tool of choice to browse and use Ðapps.For the Mist API see the MISTAPI.md.

mockingjay-server - Fake server, Consumer Driven Contracts and help with testing performance from one configuration file with zero system dependencies and no coding whatsoever

  •    Javascript

Mockingjay makes it really easy to check your HTTP integration points. It's fast, requires no coding and is better than other solutions because it will ensure your mock servers and real integration points are consistent so that you never have a green build but failing software.This ensures your integration test is working against a reliable fake.

casual - Fake data generator for javascript

  •    Javascript

NOTE: if getter function has non-empty arguments list then generator should be called as function casual.profile('public'), otherwise it should be accessed as property casual.profile. Default locale is en_US.

pact-net -

  •    CSharp

A .NET implementation of the Ruby consumer driven contract library, Pact. Pact is based off the specification found at https://github.com/pact-foundation/pact-specification. PactNet primarily provides a fluent .NET DSL for describing HTTP requests that will be made to a service provider and the HTTP responses the consumer expects back to function correctly. In documenting the consumer interactions, we can replay them on the provider and ensure the provider responds as expected. This basically gives us complete test symmetry and removes the basic need for integrated tests. PactNet also has the ability to support other mock providers should we see fit.

web3.py - A python interface for interacting with the Ethereum blockchain and ecosystem.

  •    Python

Read more in the documentation on ReadTheDocs. View the change log on Github.If you would like to develop and test inside a docker environment, use the sandbox container provided in the docker-compose.yml file.

Token-Factory - Basic Token Factory dapp.

  •    Javascript

The Token Factory allows simple creation of a standard ERC20 token on Ethereum. It requires an injected web3 (Mist or Metamask) to function. It also has uPort support. It does not use an on-chain factory at this point in time.





We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.