Proof of concept script to wrap an NFT and use as an ERC-20 token.
Based on a bare-bones implementation of the Ethereum ERC-20 standard, written in Vyper.
To run the tests:
brownie test --network mainnet-fork
The unit tests included in this mix are very generic and should work with any ERC721 compliant smart contract. To use them in your own project, all you must do is modify the deployment logic in the tests/conftest.py
fixture.
This project is licensed under the MIT license.