UNPKG

ethereumjs-testrpc

Version:

[![npm](https://img.shields.io/npm/v/ethereumjs-testrpc.svg)]() [![npm](https://img.shields.io/npm/dm/ethereumjs-testrpc.svg)]() [![Build Status](https://travis-ci.org/ethereumjs/testrpc.svg?branch=master)](https://travis-ci.org/ethereumjs/testrpc)

13 lines (11 loc) 327 B
var Provider = require("ganache-core/lib/provider"); var Server = require("ganache-core/lib/server"); // This interface exists so as not to cause breaking changes. module.exports = { server: function(options) { return Server.create(options); }, provider: function(options) { return new Provider(options); } };