Skip to content

EcoLabsHQ/SuperChainSmartAccounts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

212 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DPG-Accounts

DPG Accounts is an open-source solution by Kolektivo Labs built on Safe{Core} Protocol that creates native accounts for EVM-compatable Blockchain ecosystems and dApps to engage active users and reward meaningful participation.

Updating badges metadata

  1. cd utils/badges-metadata
  2. Edit badges.json
  3. npm run pin-file (Need to param in .env the pinata api key)
  4. Copy hash to utils/badges-metadata/src/generate-uris.js
  5. npm run generate-uris
  6. cd ../..
  7. cd packages/smart-contracts
  8. forge compile
  9. Copy the badges-with-uris.json to smart-contracts folder and/or change the badges.json depending the use (badges.sjon for some badges update or add and the other for full update)
  10. Use the UpdatesBadges (for all badges) or DeployNewBadges (for new badges or single badge updating) e.g for SA: BADGES_ADDRESS=0x03e2c563cf77e3Cdc0b7663cEE117dA14ea60848 forge script script/DeployNewBadges.s.sol --rpc-url optimism --account --broadcast

Account is the keystore file SA Staging BADGES_ADDRESS=0xbC24012488BFCFe44875a139299595879c43C2CD forge script script/DeployNewBadges.s.sol --rpc-url optimism --account pp-pk --broadcast SA prod BADGES_ADDRESS=0x03e2c563cf77e3Cdc0b7663cEE117dA14ea60848 forge script script/DeployNewBadges.s.sol --rpc-url optimism --account pp-pk --broadcast

About

DPG Accounts is an open-source solution by Kolektivo Labs built on Safe{Core} Protocol that creates native accounts for EVM compatable Blockchain ecosystems and dApps to engage active users and reward meaningful participation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Solidity 74.7%
  • TypeScript 17.5%
  • JavaScript 5.6%
  • Shell 2.2%