Skip to content

Template for foundry projects using 0xEssential Cross Chain Token Gating

License

Notifications You must be signed in to change notification settings

0xEssential/cctg-foundry-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foundry template

This is a template for a Foundry project that uses 0xEssential's Cross-Chain Token Gating.

Review the Foundry project for development documentation.

Contract

The sample contract inherits and initializes EssentialERC2771Context and includes an example for writing a function that depends on verified NFT ownership from another EVM chain.

Test

The test directory includes a utility contract for constructing signatures accepted by EssentialForwarder, and a test contract that demonstrates how to test the token gated function from the example contract.

Resources

About

Template for foundry projects using 0xEssential Cross Chain Token Gating

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 61.1%
  • JavaScript 36.3%
  • Ruby 1.3%
  • Julia 0.6%
  • Shell 0.4%
  • TypeScript 0.1%
  • Other 0.2%