Skip to content

piplabs/wip

Repository files navigation

Wrapped IP

The "Wrapped IP" refer to WETH-9 with additional features through relatively minor changes.

Deployments

STORY Odyssey Testnet 0xFA057f2e7515267FFAB367D0a769F3Fa1489b869

Features

  • Supports ERC-165 interface detection.
  • Supports ERC-2612 signed approvals.
  • Supports ERC-1271 contract signature verification.
  • Prevents from burning or sending WIP tokens to the contract.

Build

$ forge build

Test

$ forge test

Deploy on Story Odyssey Testnet

Create a .env file with the following content:

STORY_PRIVATEKEY = <private_key of wallet address to execute command below>

you can also refer to .env.example file for reference.

export STORY_PRIVATE_KEY=<private_key>
$  forge script script/Deploy.s.sol:Deploy  --fork-url https://odyssey.storyrpc.io/ -v --broadcast --sender <wallet address>  --priority-gas-price 1 --slow --legacy --skip-simulation --verify  --verifier=blockscout --verifier-url=https://internal.storyscan.xyz/api

Releases

No releases published

Packages

No packages published