0

I am trying to create a daap website in django. In django use apps to write views and urls to mvc pattern. I tried to create an app and wrote smartcontract there but i am not able to access it. I have written smart contract in hello.sol. But cant access it when it write from app_name import hello

app_name
    __init__.py
    admin.py
    models.py
    urls.py
    views.py
    hello.sol

How can i write smart contract in django!Should i declare them in static folder?If so then does solidity import works there? thanks in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.