Skip to content

A Two-Step Transfer Ownable contract implemented in Huff.

License

Notifications You must be signed in to change notification settings

byterocket/TSOwnable-Huff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TSOwnable in Huff

TSOwnable is a Two-Step Transfer Ownable contract implemented in Huff, a low-level EVM programming language.

For more information about how to enter the Huff ecosystem, read our accompanying article.

Installation

  1. Install Huff's huff-rs compiler and the foundry toolchain
  2. Clone and cd into the repository
  3. Run forge install

Compilation

This project uses Huff's HuffDeployer library to easily compile and test Huff contracts.

Tests

Run tests with forge test --ffi.

Warning

The HuffDeployer library uses Huff's huff-rs compiler to compile and deploy Huff contracts.

In order to call the huff-rs compiler, foundry's FFI cheatcode needs to be activated.

ONLY USE THE FFI FLAG IF YOU ARE CERTAIN THAT THE CODE IS NOT MALICIOUS!

Disclaimer

This is experimental software and is provided on an "as is" and "as available" basis.

We do not give any warranties and will not be liable for any loss incurred through any use of this codebase.

About

A Two-Step Transfer Ownable contract implemented in Huff.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published