Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TestOAL

Foundry scripts for testing the implementation of the operator allowlist. Works by deploying a simple settlment contract that and tries to grant approval and tranfser to the contract for an asset.

Instructions

  1. Make sure Foundry is installed:

    curl -L https://foundry.paradigm.xyz | bash
    
  2. Clone the repo:

    git clone https://github.com/danekshea/OALtest
    
  3. Ask the partner to deploy the contract on testnet and verify it.

  4. Ask them to transfer an NFT to an address you control and can put the private key in the .env file.

  5. Copy .env.example to .env and populate the values:

    cp .env.example .env
    
  6. Run the TestOAL script:

    forge script script/TestOAL.s.sol
    
  7. You'll get clear ASCII art that indicates whether the OAL was implemented properly or not.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages