Skip to content

driemworks/cryptex-example-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enigma

Enigma is an experiment

The code in this repo is experiment, use at your own risk.

Setup

npm i
npm run start

Local Development

For local devlopment, update the package.json to point to a local wasm-pack build of the dkg-wasm library (https://github.com/ideal-lab5/dkg/tree/main/dkg-wasm).

To bypass cors for IPFS when developing locally, configure your node as follows:

ipfs config Addresses.Gateway /ip4/0.0.0.0/tcp/8080
ipfs config Addresses.API /ip4/0.0.0.0/tcp/5001
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin "[\"*\"]"
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Credentials "[\"true\"]"

TODO

  • encrypt/decrypt share
  • use extension to get account https://polkadot.js.org/docs/extension/usage/
  • deploy + call smart contract
  • use react router
  • allow arbitrary length messages, use new delimiter (using 0 for now for padding, not really good)
  • ipfs config + other settings
  • validate member addresses when creating society

About

A PoC for interacting with the cryptex blockchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors