Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codingshot/pizza
Pizza DAO NFT Poap for global pizza day with 3 DAO onboarding, Keypom enabled telegram bot
https://github.com/codingshot/pizza
account-abstraction dao keypom near telegram telegram-bot
Last synced: 21 days ago
JSON representation
Pizza DAO NFT Poap for global pizza day with 3 DAO onboarding, Keypom enabled telegram bot
- Host: GitHub
- URL: https://github.com/codingshot/pizza
- Owner: codingshot
- Created: 2023-05-20T23:53:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-24T13:13:55.000Z (over 1 year ago)
- Last Synced: 2024-10-06T17:39:49.798Z (about 1 month ago)
- Topics: account-abstraction, dao, keypom, near, telegram, telegram-bot
- Language: TypeScript
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🍕🔑 PizzaDAO Keypom Onboard
The following is a script that uses keypom (https://docs.keypom.xyz) on NEAR protocol to issue a linkdrop (ability to claim a series of nft/ft/near/function calls with or without an account).## Functionality
- create an account
- get a NFT
- get added via proposal to a series of DAOs```
npm install
```Switch to mainnet in cli
```
export NEAR_ENV=mainnet
``````
near login
```- after you near login replace the FUNDER_ACCOUNT with your account
- change the DAO name with your DAO and a custom message and the specific role (case sensistive) you want to add these members to.
- you can also changed the deposit per link to a larger or smaller amount depending how muhc NEAR you want to load each account win
- put telegram api key and chatID (use telegram raw bot to get your chat id https://t.me/RawDataBot) in .env (check example.ev)
- make sure in your DAO the v2.keypom.near contract has permission to add_member as a porposal. Note this does not allow for autoregistration to prevent the keypom contract from having to much permission over your DAO.```
node pizza.ts {number-of-keypom-drops}
```# ToDo
- add QR code generator for to generate QR code for each link# Future
- have them post to social.near