What's this ?

This is a prototype implementation of token payment.

  • Frontend: Typescrypt and WebAssembly(rust)
  • Backend: Golang

More Precisely...

What's this?

This is a prototype implementation of token payment.

  • Frontend: Typescrypt and WebAssembly(rust)
  • Backend: Golang

More Precisely...

We determined to use a stream cipher so-called XChacha20-Poly1305.

However, we couldn't find a decent implementation of the cipher by Javascript.

Thus We decided to implement encrypt and decrypt method by using rust - wasm.

This is a prototype implementation and we still do not send back any token to the client browser at present. We are planning to cooperate with our other token calculation microservice, thus this repository already satisfied our aim to try out implementing payment-flow despite incompleteness.

Payment - Google Chrome 05 03 2022 23_43_05

launch server

yarn
yarn dev
pushd back
make run&
popd