- NVM can be helpful to manage different versions of node
- NodeJS 9.4 or greater + NPM
- You will need alchemy-server running locally for the app to function
git clone https://github.com/daostack/alchemy.git
cd alchemy
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.
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):
- Go to http://localhost:3000
- Connect metamask to http://localhost:8545.
- 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.
First you must install Metamask and configure an account.
- Install and enable MetaMask extension in Chrome
- Click on the MetaMask extension icon in the toolbar and log in
- Click on the avatar icon int he top right, and choose "Import Account"
- Choose "Private Key" and paste the string
0x8d4408014d165ec69d8cc9f091d8f4578ac5564f376f21887e98a6d33a6e3549
and click "Import" - Give it a name like "Alchemy Test Account" so you won't get confused later
- Make sure that Metamask is connected to
localhost:8545
(choose from the "Networks" picklist in Metamask)
Now you are ready to start the server:
- Run
npm run ganacheDb
in one terminal tab - In a separate tab run
npm run migrate-ganache
- Run
npm run start
- Go to http://localhost:3000/ in Chrome
- Go to https://alchemy.daostack.io
- Install Metamask or the Parity Chrome Extension
- In MetaMask switch to the desired network.
- Unlock your account