New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@zero-tech/zdao-sdk

Package Overview
Dependencies
Maintainers
4
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zero-tech/zdao-sdk

This repository contains the sdk to associate DAO in snapshot.

latest
Source
npmnpm
Version
0.16.1
Version published
Maintainers
4
Created
Source

zDAO-sdk with snapshot

This repository contains the sdk to associate DAO in snapshot.

zDAO has multiple associated zNA, this association is defined in ZDAORegistry smart contract.

To use zDAO with sdk

  • Create ENS and create a space in snapshot.
  • create ENS: https://docs.snapshot.org/spaces/before-creating-your-space

  • create space: https://docs.snapshot.org/spaces/create

    When create a space in snapshot, should use erc20-with-balance strategy with voting token.

  • Register zDAO and associated zNAs in ZDAORegistry contract

    ENS and zNA can be different strings, one zDAO can have multiple associated zNAs, multiple zNAs can point to the same zDAO. Smart contract is using uint for ENS and zNA.

Functionality Requirements

  • Create zDAO from parameters
  • List all the associated zNAs
  • Get zDAO by associated zNA
  • List all the assets(coin, collectibles) of zDAO from associated Safe Global
  • List all the transactions of zDAO from associated Safe Global
  • List all the proposals of zDAO from snapshot
  • Create a proposal of zDAO with the erc20-with-balance strategy which can transfer voting token to recipient
  • List all the votes and voting result of proposal
  • Cast a vote on proposal who has holding of certain amount of voting token
  • Execute a proposal by Safe Global owners .

FAQs

Package last updated on 18 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts