This is a TypeScript(TS) implementation of Panthalassa. TS is a compiled programming laguage. In the case of typescript it get's compiled to normal JavaScript(JS). The compiled JS can found in the dist folder.
Run all the command's via the CLI
npm run build
compiles the TS to JS
Feel free to have a look at the Issue section and take what ever you want. Feel free to ask questions.
We are using the last LTS node js release (6.11.3).
A docker setup is provided. To use it, please follow the step's:
- Clone the repository and switch into it
- Get docker
- Run
docker-compose up -d
to bring up the container - Run
docker-compose exec node bash
to enter the container
Useful docker commands
- Run
exit
in the container to exit - Run
docker-compose down
to destroy the container - Run
docker-compose stop
to shutdown the container
Updated the documentation
- Get IPFS
- Start the ipfs daemon
ipfs daemon
- Add the docs folder to ipfs (
ipfs add -r docs
) - Removed the hash after
../ipfs/
(at the top of this readme file) with the new hash printed in the commandline.
First, let me explain the project structure. In the project root you see a src
folder it contains all the typescript sources files. So when we run npm run build
the source get's compiled into javascript to the dist folder. So the file src/EthWallet/EthUtils.ts
(which is the typescript source file) get's compiled to dist/EthWallet/EthUtils.js
. This is important to understand since the documentation is generated from the src
folder. So you won't be able to use the src/EthWallet/EthUtils.ts
instead please use the equivalent file in the dist
folder.