Skip to content

ZeroPass/row.contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

row.contract

Short demo https://youtu.be/1TeMFoVr95A

This repository contains ROW EOSIO smart contract which handles WebAuthn multisig transaction executions. The contract manages user authorization permissions (authorities table), transaction proposals, proposed transaction approvals via WebAuthn signature and executes proposed transaction. Contract also stores WebAuthn keyhandles (credentialID) for every stored authority key.

There are 2 signature algorithms supported, the RSA PKCS v1.5 (RS256) signature algorithm and ECDSA P-256 (ES256) signature algorithm, using SHA-256 for hash algorithm. The RSA PKCS v1.5 algorithm is written in the contract.

Requirements

Installed EOSIO nodeos v2.0 Installed eosio.cdt 1.8

How to build

  1. git clone https://github.com/ZeroPass/row.contract.git row.contract
  2. cd row.contract
  3. mkdir build
  4. cd build
  5. cmake ..
  6. make

How to install

Start nodeos with --eos-vm-oc-enable flag (due to RSA **) In folder scripts modify any script to point to valid nodeos and change account keys as needed, then execute script bootstrap.sh.

Testnet

Contract with RSA support enabled is uploaded to Jungle 3 testnet under the irowyourboat account.

Copyright

© 2021 ZeroPass zeropass@pm.me

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published