我想用 neo-python 构建一个智能合约,在我的 sc 中,我想拥有这个模块:
from boa.blockchain.vm.Neo.Storage import GetContext, Get, Put, Delete
但我得到No module named boa.blockchain
如何链接此模块?
你忘了放from
,你也用pip install neo-boa
安装了它吗?
from boa.blockchain.vm.Neo.Storage import GetContext, Get, Put, Delete