Docker project for MPC nodes for Teleport bridge network.
Lux Teleport has the following features:
- Decentralized oracle operations using MPC
- Decentralized permissioning using MPC
- Zero knowledge transactions, signers don't know details about assets being teleported to and from supported chains.
Clone the repository on all signers.
git clone https://github.com/luxfi/mpc_nodes_docker
Install docker on your computer.
Build project.
docker compose build
Run project.
docker compose up -d
Stop process
docker compose down
Once project is running successfully on Docker, generate key shares in each containers. Open bash from all the containers
docker compose exec mpc-node-0 /bin/bash
docker compose exec mpc-node-1 /bin/bash
docker compose exec mpc-node-2 /bin/bash
and run following command in each bash window to generate key shares
npm run keygen
convert compose.yaml using kompose command
kompose convert -f compose.yaml -o k8s/
kubectl apply -f ./k8s
kubectl get pods
kompose get services
kubectl port-forward service/server 8080:8080
kubectl exec -it mpc-node-0 -- /bin/bash
kubectl exec -it mpc-node-1 -- /bin/bash
kubectl exec -it mpc-node-1 -- /bin/bash
npm run keygen