Skip to content

E Signer on Infura With MetaMask

Orie Steele edited this page Jul 12, 2018 · 11 revisions

The purpose of this guide is to explain how to use the transmute cli, framework and platform on macOS for decentralized application development.

If you encounter any problems following this guide, please open an issue.

Getting Started

First we need to install some global dependencies, such as minikube. We provide a bootstrap script to automate this process, you should review the script before running it:

$ bash <(curl -Ls https://git.io/transmute_bootstrap)

Once the bootstrap is complete, you will have the transmute cli installed globally.

Now, we'll walk through doing a testnet deployment of the E-Signer Demo using Infura.

cd ~/.transmute/git/transmute/packages/transmute-dashboard

Before we do a testnet deployment, we need to verify that everything is working locally.

Spin up an ethereum testnet and ipfs in minikube:

transmute k8s provision-minikube macOS-cluster
transmute k8s init macOS-cluster

Migrate contracts into minikube testnet:

TRANSMUTE_ENV='minikube' npm run truffle:migrate

Now start the dashboard web app:

npm run start

Navigate to the MetaMask page, which helps fund your account on testnets.

http://localhost:3000/metamask

Alternatively, you can grab a private key from ganache, which will have some test ether in it.

export GANACHE_POD_NAME=$(kubectl get pods --namespace default -l "app=ganache,release=ganache"  -o jsonpath="{.items[0].metadata.name}")
kubectl logs $GANACHE_POD_NAME | head -n 40

Use the account import feature of MetaMask to import the private key.

Once you have funds in MetaMask, you can proceed to the demo.

http://localhost:3000/demo

Modify .example.env to .env with the correct values for Infura, and your deployment wallet.

Testnet deployment instructions coming soon!

Setup

Features

Demos

Standards

  • PGP
  • DID
Clone this wiki locally