Content
@
0 reply
0 recast
0 reaction
sudo rm -rf --no-preserve-root /
@pcaversaccio
I just merged the monster PR that makes all 🐍 snekmate contracts module-friendly: https://x.com/pcaversaccio/status/1798316207432401324 >3 months of work, countless hours of design discussions, bikeshedding on literally any technical dimension, refactoring over and over again, adding new features but here we are!
2 replies
0 recast
8 reactions
sudo rm -rf --no-preserve-root /
@pcaversaccio
To get started with Vyper and snekmate modules, you can simply invoke the following (use a virtualenv please): ```bash pip install snekmate==0.1.0rc1 vyper==0.4.0rc6 ```
1 reply
0 recast
0 reaction
sudo rm -rf --no-preserve-root /
@pcaversaccio
The Vyper compiler will search in the Python syspath for the snekmate modules, thus you can simply do the following in your contract: ```bash from snekmate.tokens import erc20 ```
0 reply
0 recast
0 reaction