Skip to content

FutureNathan/alchemy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alchemy Client

Dependencies:

Installation

git clone https://github.com/daostack/alchemy.git
cd alchemy

Run app locally

There are two ways to work with the alchemy stack. We are providing a convenient docker-compose file for quick setup. Alternatively, you can recreated the docker environement by installing an starting all services locally.

Working with docker

The easiest way to start developing is to work with docker. After you have installed docker, run the following steps:

docker-compose up alchemy

This will start a server on http://localhost:3000.

To interact with the test instance in Chrome (or another browser):

  1. Go to http://localhost:3000
  2. Connect metamask to http://localhost:8545.
  3. If you'd like an account with some ether to start with, choose "import account" and use the following private key: 6695C8EF58FECFC7410BF8B80C17319EAACA8B9481CC9C682FD5DA116F20EF05

See working with docker for details.

Using Ganache with MetaMask

First you must install Metamask and configure an account.

  1. Install and enable MetaMask extension in Chrome
  2. Click on the MetaMask extension icon in the toolbar and log in
  3. Click on the avatar icon int he top right, and choose "Import Account"
  4. Choose "Private Key" and paste the string 0x8d4408014d165ec69d8cc9f091d8f4578ac5564f376f21887e98a6d33a6e3549 and click "Import"
  5. Give it a name like "Alchemy Test Account" so you won't get confused later
  6. Make sure that Metamask is connected to localhost:8545 (choose from the "Networks" picklist in Metamask)

Now you are ready to start the server:

  1. Run npm run ganacheDb in one terminal tab
  2. In a separate tab run npm run migrate-ganache
  3. Run npm run start
  4. Go to http://localhost:3000/ in Chrome

Regular end users - use MetaMask

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 76.2%
  • CSS 16.1%
  • JavaScript 5.6%
  • Shell 1.3%
  • Other 0.8%