Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
/ huffers Public archive
generated from refcell/femplate

Fully Onchain Badges for Huff Language GitHub Contributors.

License

Notifications You must be signed in to change notification settings

huff-language/huffers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

huffers • ci License solidity

Fully Onchain Badges for Huff Language GitHub Contributors.

Overview

huffers are onchain dynamically-rendered svg nft badges that are based off of renoun.

Deployment Status

[Optimism] Shield: 0x9172c52bf412de76e080bd595f8f8c55f0ff867c

[Optimism] BadgeRenderer: 0x715da5e53526bedac9bd96e8fdb7efb185d1b6ca

[Rinkeby] Shield: 0xce3a82dbf663d7c6e8c2fc3e8a6db42fc0739929

[Rinkeby] BadgeRenderer: 0x7650f5b3ce9b075cbaced9062dcfe635ee892266

Example Deployed Image

Deployment Notes

Deploying to Rinkeby

source .env
forge script script/Deploy.s.sol:Deploy --rpc-url $ETH_RINKEBY_RPC_URL  --private-key $DEPLOYER_PRIVATE_KEY --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY -vvvv

Deploying to Polygon Mainnet

source .env
forge script script/Deploy.s.sol:Deploy --rpc-url $POLYGON_MAINNET_RPC_URL  --private-key $DEPLOYER_PRIVATE_KEY --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY -vvvv

Deploying to Optimism

source .env
forge script script/Deploy.s.sol:Deploy --rpc-url $OPTIMISM_MAINNET_RPC_URL  --private-key $DEPLOYER_PRIVATE_KEY --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY -vvvv

Blueprint

lib
├─ forge-std — https://github.com/foundry-rs/forge-std
├─ solmate — https://github.com/Rari-Capital/solmate
scripts
├─ Deploy.s.sol — Deployment Script
src
├─ interfaces
|  └─ IBadgeRendererBadgeRenderer Interface
├─ BadgeRendererThe renderer for Shields
├─ base64 — The base64 encoding library
├─ ShieldA contribution badge for Huff Language GitHub Contributors
test
└─ IntegrationIntegration Tests

License

AGPL-3.0-only

Acknowledgements

Disclaimer

These smart contracts are being provided as is. No guarantee, representation or warranty is being made, express or implied, as to the safety or correctness of the user interface or the smart contracts. They have not been audited and as such there can be no assurance they will work as intended, and users may experience delays, failures, errors, omissions, loss of transmitted information or loss of funds. The creators are not liable for any of the foregoing. Users should proceed with caution and use at their own risk.

About

Fully Onchain Badges for Huff Language GitHub Contributors.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published