GithubHelp home page GithubHelp logo

isabella232 / mymonero-libapp-js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mymonero/mymonero-libapp-js

0.0 0.0 0.0 7.74 MB

Used to generate the WebAssembly files used by the Desktop apps and Web Wallet

License: BSD 3-Clause "New" or "Revised" License

CMake 10.60% Shell 4.29% JavaScript 48.94% C++ 36.16%

mymonero-libapp-js's Introduction

General dependencies

The MyMonero libapp build requires you to have installed docker. Docker should be in your system's evironment path.

Building libapp

  1. Clone the repo git clone https://github.com/mymonero/mymonero-libapp-js.git
  2. cd mymonero-libapp-js
  3. Run bin/update_submodules
  4. Download Boost libraries
  • curl -LO https://dl.bintray.com/boostorg/release/1.69.0/source/boost_1_69_0.tar.gz or wget https://dl.bintray.com/boostorg/release/1.69.0/source/boost_1_69_0.tar.gz - For Mac, you can verify the integrity of the archive by running shasum -a 256 boost_1_69_0.tar.gz. You should see the following hash: 9a2c2819310839ea373f42d69e733c339b4e9a19deab6bfec448281554aa4dbb
  1. mkdir -p contrib/boost-sdk
  2. tar zxf boost_1_69_0.tar.gz -C contrib/boost-sdk --strip-components=1
  3. rm -rf build && mkdir build
  4. rm libapp_js/MyMoneroLibAppCpp_*

Build boost emscripten

  1. docker run -it -v $(pwd):/app quay.io/exodusmovement/emscripten:1.38.48 ./bin/build-boost-emscripten.sh

Build MyMonero emscripten

  1. docker run -it -v $(pwd):/app quay.io/exodusmovement/emscripten:1.38.48 ./bin/archive-emcpp.sh
  • If you get '#error Including <emscripten/bind.h> requires building with -std=c++11 or newer!' error, re-run step 10.

By following these instructions, new WASM and ASM libraries are generated and copied to the libapp_js folder

mymonero-libapp-js's People

Contributors

karlbuys avatar paulshapiro avatar xiphon 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.