Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sovryn Guardian UI

Netlify Status

Gnosis safe sdk: https://safe-global.github.io/safe-core-sdk/

Initial setup

  • Install NodeJS - must be v18 or higher
  • Install Yarn globally - npm i -g yarn
  • Clone this repository - git clone https://github.com/DistributedCollective/guard
  • Navigate to the new cloned repository folder and run yarn to install packages
  • Run the application by executing yarn dev

Usage

0. Set up correct chain

The app is configured to run on Mainnet RSK by default, if you need to run it on Testnet please amend .env file to have the line REACT_APP_CHAIN_ID=31 instead of REACT_APP_CHAIN_ID=30. You may also create a .env.local file in the same location with the same contents and it will override that found in .env

1. Connect to safe

Connect to safe using your wallet

2. Create a new transaction

Use checkboxes to select modules you want disable or enable, "Propose & Approve" button will light up when you select at least one module.

Click "Propose & Approve" button to create a new transaction and sign it.

3. Download proposal file

Once signed, you will see a download button, click it to download a proposal file. Share this file with other guardians.

You will also see transaction content and hash used to verify the proposal.

4. Approve proposal

Other guardians need to open guardian website, connect to safe and open "Sign" page.

They then need to upload the proposal file.

Once uploaded, they will see transaction hash and who already signed it.

They can then click "Approve" / "Approve & Execute" or "Execute" button to sign / execute the transaction.

5. Execute proposal

In most cases, last approver will execute the transaction (they will see "Approve & Execute" button). But if it was not executed, you will see "Execute" button once there is enought signers.

6. !!!!!Verify execution!!!!!!

After execution, guardian website DOES NOT indicate it was executed or that last approval happened! Check it manually by opening transaction hash in explorer and checking for the events!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages