Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Silvestr Predko 04826c807f Update README accordignly to the changes il y a 2 ans
.github/workflows Add CD pipeline for web-client il y a 2 ans
common-api Use near-client from crates.io il y a 2 ans
example Fixed a e2ee issues il y a 2 ans
web-client Use an ```ApiResponse``` in a client. il y a 2 ans
.dockerignore Add /pkg to docker ignore il y a 2 ans
.gitignore Rename js-client to example il y a 2 ans
Cargo.toml Use near-client from crates.io il y a 2 ans
Dockerfile Use near-client from crates.io il y a 2 ans
README.md Update README accordignly to the changes il y a 2 ans
docker-compose.yml Update a Docker file for new integration tests il y a 2 ans

README.md

Client

CI

Common-API 🦆

Commonly used API among different dependencies. For example key-exchange-server

Web-Client 🦘

Client library for communication from browser and Near blockchain. It’s a high-level API. User doesn’t need to understand how blockchain works.

Usage of web-client library:

Please follow the official instructions to use the latest package.

Build

wasm-pack build web-client --target bundler --out-dir ../pkg

Test

Pre requirements: Clone a key-exchange-server and near-smartcontracts. Deploy their docker instances:

⚠️ Please keep the order(near-smartcontracts depends on the key-exchange-server network)

  1. key-exchange-server: bash docker-compose up -d
  2. near-smartcontracts: bash docker-compose -f docker-compose.yml -f docker-compose.tests.yml up -d

Then:

docker-compose up