Skip to content

melyndav/Azulo-SubGraph-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Azulo Trust Subgraph

This subgraph tracks activity on trusts and transactions within Azulo's multi-sig wallets.

The purpose is show to show transparency of Azulo's trusts through usage data.

Built by the Azulo team.

Notes

Azulo is built using Gnosis Safe.

For more information see the Gnosis Safe docs and/or the docs for The Graph.

Networks:

Prerequiste

  • yarn
install yarn
  • graph-cli
yarn global add @graphprotocol/graph-cli

Getting started

  1. Get the source and install the dependencies
yarn install
  1. Build
yarn prepare:mainnet
yarn codegen
yarn build

Deployment

  1. Authenticate to a graph node
$ graph auth https://api.thegraph.com/deploy/ <token>
  1. Deploy
graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ melyndav/azulo-trust-subgraph

Model

  • Wallet
    • Transaction

Query samples

Get Wallet details

{
  wallet(id: "0x12312312.....") {
    id
    creator
    network
    stamp
    hash
    factory
    owners
    threshold
    transactions {
      id
      stamp
      hash
      status
      value
      destination
      data
      signatures
      nonce
      operation
      estimatedSafeTxGas
      estimatedBaseGas
      estimatedGasPrice
      gasToken
      refundReceiver
      gasUsed
      gasPrice
    }
  }
}

About

Config files for my GitHub profile.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published