summaryrefslogtreecommitdiff
path: root/README
blob: 3393faf3f97d1ccbdcc014fd455492ba22b69fca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
GNU Taler Wallet
================

This package implements a wallet for GNU Taler in TypeScript.

It can be run on different platforms:
1. As a cross-browser extension, written for the WebExtension API
2. As a Node.JS package


Dependencies
============

Dependencies are managed as NPM dependencies.  For performance reasons,
we use `yarn' as a replacement for `npm' in the build system.

For cryptographic operations, the wallet uses an emscripten-compiled
library.  The binary files for this library are in `./emscripten'.
The instructions for building this binary from scratch can be found
in the libtaler-emscripten repository:

https://git.taler.net/libtalerutil-emscripten.git/


pre-configure step
==================

`make submodules/init && make submodules/update`
`ln -sf build-scripts/configure configure`
`ln -sf build-scripts/configure.py configure.py`

or, at your choice:

`./bootstrap`

In the following steps you can ommit
`--prefix=$PREFIX` if you have set
the environment variable PREFIX to an
existing path on your system.

Building from source (Web Extension)
======================================

Run `./configure --prefix=$PREFIX && make webex-stable'
to create an archive containing the extension
in ./build/taler-wallet-$VERSION.zip


Building from source (Node.JS)
======================================

Run `./configure --prefix=$PREFIX && make' to build the wallet.
The command line interface for the wallet is available
in `./bin/taler-wallet-cli'.


Installation
============

To install the package permanently on your system, run:

`$ npm install -g --prefix $PREFIX .``

The binaries will be installed to `$PREFIX/bin`.