Skip to content
The official network explorer for Wavelet.
TypeScript JavaScript CSS Other
Branch: master
Clone or download
claudiucelfilip and iwasaki-kenta Integrate wavelet-client library. (#33)
* perlin, developer: refactored account, transactions and contract related server calls to use wavelet-client

* ui: removed deprecated comments

* perlin, developer: integrated wavelet-client websocket account, tx and consensus polling

* developer: fixed null gas limit validation

* contract: refactored and removed duplicate contract loading functionality

* developer: fixed 100% gas limit error by substracting gas fee

* quick-send: adjusted gas limit and amount fields to work with wavelet-client

* quick-send: adjusted gas limit default to work with wavelet-client's JSBI comparisons

* quick-send: fixed 100% gas limit error by substracting gas fee

* developer: fixed param values before getting passed to the wavelet-client and removed unused code

* perlin: updated to latest wavelect-client and added BigInt polyfill flag

* perlin: switch DataView Uint64 polyfill on all platforms

* changed GAS_FEE constant name to TX_FEE

* updated wavelet-client and enabled native BigInt usage if possible

* tx-details: removed promise finally which doesn't work on FF

* developer: fixed byte and bytes input type validation and parse

* added gas balance functionality to quick send, contract uploader and executor

* added amount/gas deposit to contract test function

* updated wavelet-client dependency

* added modal to fetch PERLs from faucet

* faucet: small copy change

* faucet: integrated wavelet-faucet npm component

* integrated wavelet-faucet from perlin-network

* fixes contract lookup which sometimes fails to detect that it's a contract

* developer: fixed contract executor gas limit and deposit calculation
Latest commit 41313ae Aug 15, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config feat(build): bump webpack deps, improve build speed Feb 23, 2019
public site-tracking: added google analytics Jun 25, 2019
scripts build: removed dockerfile to just build as user Oct 5, 2018
src Integrate wavelet-client library. (#33) Aug 15, 2019
.dockerignore build: removed dockerfile to just build as user Oct 5, 2018
.gitignore all: initial commit. Aug 28, 2018
.prettierrc chore: add .prettierrc file Jan 25, 2019
README.md readme: update with more info Nov 8, 2018
images.d.ts all: initial commit. Aug 28, 2018
package.json Integrate wavelet-client library. (#33) Aug 15, 2019
tsconfig.json Simulated Nodes TX graph growth (#24) Jun 18, 2019
tsconfig.prod.json
tsconfig.test.json
tslint.json Simulated Nodes TX graph growth (#24) Jun 18, 2019
yarn.lock Integrate wavelet-client library. (#33) Aug 15, 2019

README.md

Lens

A TypeScript/React/MobX web interface to a Perlin node's API.

By default, Lens connects to a node whose HTTP API is hosted on port 9000 locally (location.hostname + ":9000"). Should you wish to change the HTTP API endpoint which Lens will connect to, you may change it at src/Perlin.tsx.

The module src/Perlin.tsx additionally holds a MobX API interface in TypeScript that you may use in building misc. web/backend applications which interact with a Wavelet node.

Setup

npm install -g yarn

# install dependencies
yarn

# run debug web server
yarn start

Production

yarn build

$(cd build; python3 -m http.server)
# browser visit localhost:8000

Docker Build

If you want to build the website without installing the tools locally, use the CI build script:

bash scripts/build.prod.sh

$(cd build; python3 -m http.server)
# browser visit localhost:8000

Common errors

# if you see an error:
Error: ENOSPC: no space left on device,
# then run
npm dedupe
You can’t perform that action at this time.