Skip to content

singulart/astro-dao-slack

Repository files navigation

Slack App that integrates with Astro smart contract for DAOs

This is a submission for the DAO Global Hackathon Bounty

NEAR Blog on Astro initiative.

Installation

  1. Clone the repo
  2. yarn
  3. npm run start:dev

App Features

  • Connect a wallet
  • Create proposals (Transfer, Bounty, Add Member, Remove Member)
  • Get proposals updates in Slack channel
  • Vote on proposals
  • Query the DAO Treasury balance

Design Highlights

Users' private keys are never stored within the app. Each and every transaction must be signed via the Wallet.

Sequence diagram

Astro Slack App

Configuration

.evn file should be created in the root folder, with the following variables:

ASTRO_API=https://api.testnet.app.astrodao.com/api/v1
ASTRO_APP=https://api.testnet.app.astrodao.com
SLACK_HOOK=<HOOK>
APP_CLIENT_ID=<Client ID>
APP_SHARED_SECRET=<Shared Secret>
BOT_TOKEN=<Bot Token>

About

Integration with Slack for Astro DAO team

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published