Giter VIP home page Giter VIP logo

browser-builds's Introduction

ethereumjs - Browser Builds

This repository contains browser builds of the following ethereumjs libraries:

They are built using browserify with a known set of working dependencies.

For every library/build collection there is a larger plain source version also including the source mappings (e.g. ethereumjs-vm-x.x.x.js) and a minified version for use in production (e.g. ethereumjs-vm-x.x.x.min.js).

Note:

This repository was just lately (October 2017) revived. Currently all builds are considered experimental in terms of API stability, functionality and security!

Usage

In your web application, include only one of the builds from the dist directory. All exports will be available under the global ethereumjs.

Note: all packages expect ECMAScript 6 (ES6) as a minimum environment. From browsers lacking ES6 support, please use a shim (like es6-shim) before including any of the builds from this repo.

Examples

Examples for usage of the browser builds can be found in the examples directory:

Start an http-server from the main directory of the repository to run the examples in the browser.

Build

Builds are done using the .js exports compilation files from the src/ directory and using the build.js script from the main directory to create the build in the dist/ folder.

Version numbers for the builds are directly extracted from the versions installed in the local node_modules folder.

For creating new builds:

  1. Change package.json to require desired/up-to-date versions of the libraries
  2. Reinstall/update local node_modules packages
  3. Run npm run build to generate new set of builds

browser-builds's People

Contributors

axic avatar holgerd77 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.