Skip to content

vLeapGroup/itheum-xpand-plug-sc

Repository files navigation

Itheum xPand DAO Plug

A Plug Snapshot Template to use with PeerMe DAO smart contracts.

Contains a snapshot script for ESDT holders and a pluggable smart contract to feed PeerMe DAOs with members' voting power information.

Set the current network name in interaction/snippets.sh:

NETWORK_NAME="devnet" # devnet, testnet, mainnet

Generate admin keys:

Don't forget to fill the admin account with some EGLD to cover transaction & deployment fees.

. ./interaction/snippets.sh && generateAdminKeys

Deploy the plug smart contract:

. ./interaction/snippets.sh && deploy

Set a the Itheum ESDT ID for snapshot:

. ./interaction/snippets.sh && setItheumTokenId YOURTOKEN-123456

Set a the Itheum Trailblazer NFT ID for snapshot:

. ./interaction/snippets.sh && setTrailblazerNftId YOURNFT-123456-01

Register ESDT holder snapshot:

npm install
ts-node ./snapshot/register-snapshot.ts devnet

For more details and how to integrate, please refer to our Documentation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published