Skip to content

A proof of concept for Infineon Security2Go smart cards for interacting with Gnosis Safe contracts.

License

Notifications You must be signed in to change notification settings

lab10-coop/gnosis-s2g-mvp

Repository files navigation

gnosis-s2g-mvp

About

This is a proof of concept implementation which shows how to set up and use a Gnosis Safe with Infineon Security2Go Smart Cards as owners.
Development was supported by the Gnosis Ecosystem Fund, see the "Multicard" application.

The application consists of a local webserver that connects to a local NFC reader (see requirements).
the Web UI guides you through different steps of the lifetime of a Safe:

  • Deploying a new Safe from scratch
  • Initializing a set of owners for multisig
  • Funding that Safe with 1 unit of native currency
  • Getting out 0.1 units of native currency using a Safe transaction with multiple signatures

Requirements

  • A NFC Card reader that is supported by PCSC lite
  • In order to install the package you need to have installed in the system the pcsclite libraries. For example, in Debian/Ubuntu: apt-get install libpcsclite1 libpcsclite-dev
  • Access to an Ethereum compatible blockchain - we use ARTIS tau1 (testnet) in this example
  • At least one Security2Go NFC Card (3 recommended - 1 for setting up and funding the Safe, 2 for multisig)
    • with address at index 1 initialised
    • with some funding (at least 1.5 ATS for ARTIS)
  • Linux OS - tested with Ubuntu 18 LTS - but most other common Linux distros should do as well
  • libudev and libusb 1.0.8 or later
  • Node.js v10 LTS (tested with v10.15.3)
  • NPM (tested with v6.4.1)

Build and run

npm ci
npm start

This pops up a web server on port 3000.
Navigate to http://localhost:3000 in a browser of your choice and follow the instructions.

About

A proof of concept for Infineon Security2Go smart cards for interacting with Gnosis Safe contracts.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published