This is project for frozen multi-sig wallet
- Truffle
In order to run the Skymap, you will need Node.js (tested with version 8.x.x). This will include npm, needed to install dependencies.
-
Install truffle.
npm install -g truffle
-
Download and install ethereum client for local development - Ganache Client. This client is recomended because migration script is customised for this setup to compile smart contracts, deploye them to network and in the end to udpate smart contracts defifinition abi and config file in react-app-typescript.
http://truffleframework.com/ganache/
-
Install yarn.
## MacOS brew install yarn ## Windows https://yarnpkg.com/en/docs/install#windows-tab
-
Download or clone repository.
-
Install the node dependencies.
yarn install
-
Launch Ganache client
-
Compile and migrate the contracts. This command compile all smart contracts and redeploy them on the network
truffle migrate --compile-all --reset
-
Truffle's own suite is included for smart contracts. Be sure you've compile your contracts before running jest, or you'll receive some file not found errors.
// Runs Truffle's test suite for smart contract tests. truffle test