Gnosis Safe – The most trusted platform to store digital assets on Ethereum https://gnosis-safe.io
Go to file
Germán Martínez 3cc7cac7cc Update dependencies 2019-06-14 18:37:38 +02:00
.storybook Adapting fonts sizes #72 2018-11-06 12:13:13 +01:00
config fix dev config and tests 2019-06-13 15:32:22 +04:00
contracts add token contracts for testing purposes and refactor TokenMovements utils 2019-05-31 17:58:35 +04:00
flow-typed/npm [WA-229] Feature - Create safe (#10) 2018-03-29 11:05:42 +02:00
migrations send funds test refacotring wip 2019-05-31 19:22:05 +04:00
public Adapting fonts sizes #72 2018-11-06 12:13:13 +01:00
scripts safe creation test wip 2019-05-29 18:11:44 +04:00
src Fix bug loading the name of a Safe 2019-06-14 18:33:48 +02:00
.eslintignore WA-521 Added .eslintignore file 2018-08-20 16:47:03 +02:00
.eslintrc [WA-229] Feature - Create safe (#10) 2018-03-29 11:05:42 +02:00
.flowconfig WA-238 Added contracts after migrated to Kovan and Rinkeby 2018-05-04 12:50:24 +02:00
.gitignore pr fixes wip: remove compiled contracts, dep bump, TODO: fix CSS loader 2019-06-13 13:47:00 +04:00
.travis.yml Add xenial dist to travis.yml 2019-04-30 17:20:37 +02:00
LICENSE.md Adding README and LICENSE (#7) 2018-03-12 11:26:53 +01:00
babel.config.js safe creation test wip 2019-05-29 18:11:44 +04:00
jest.config.js add token contracts for testing purposes and refactor TokenMovements utils 2019-05-31 17:58:35 +04:00
jsconfig.json WA-238 Added contracts after migrated to Kovan and Rinkeby 2018-05-04 12:50:24 +02:00
package.json Update dependencies 2019-06-14 18:37:38 +02:00
precommit.sh [WA-229] Feature - Create safe (#10) 2018-03-29 11:05:42 +02:00
readme.md add token contracts for testing purposes and refactor TokenMovements utils 2019-05-31 17:58:35 +04:00
truffle.js add token contracts for testing purposes and refactor TokenMovements utils 2019-05-31 17:58:35 +04:00
yarn.lock Update dependencies 2019-06-14 18:37:38 +02:00

readme.md

Gnosis Team Safe

Allowing crypto users manage funds in a safer way

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them

yarn add truffle // recommended usage of -g flag
yarn add ganache-cli // recommended usage of -g flag
yarn add flow-type // recommended usage of -g flag

We use yarn in our infrastacture, so we decided to go with yarn in the README

Installing

A step by step series of examples that tell you have to get a development env running

Run ganache in one terminal

ganache-cli -b 3

Start the project in the other one

yarn install
yarn start

Running the tests

To run the test, you'll need to migrate contracts safe-contracts to the local ganache-cli

  1. Migrating Safe Contracts:
git clone https://github.com/gnosis/safe-contracts.git
cd safe-contracts
yarn
ganache-cli -l 7000000
npx truffle compile
npx truffle migrate
  1. Compiling Token Contracts for the tests: Inside safe-react directory
npx truffle compile
  1. Run the tests:
yarn test

Break down into end to end tests

Explain what these tests test and why

Give an example

And coding style tests

Explain what these tests test and why

Give an example

Deployment

Add additional notes about how to deploy this on a live system

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Thanks for Gnosis Team for providing the Safe contracts.