Help with the Web SDK

Hey Guys,
I’m currently forking SushiSwap with the WEB SDK and unfortunately I can’t get any further. I try to make my problem as precise as possible.

This is my code, so far so good.


My problem arises when I use the command $vim migrations/2_deploy_contracts.js to modify my code.

instead of having the left bar like this:

I got just a blank space:

Do I need any extension or is it even not possible to do it with the Web SDK?

If my question needs more clearity please let me know.

THANKS A LOT,
Thomas from Germay

1 Like

Hey @thoms994 the code you have is written in Solidity and not Daml so it wouldn’t work in the Daml Web SDK.

1 Like

Is it still possible some how to create the DApp with DAML or not?

1 Like

BTW:

what is this for then?

1 Like

It sounds like you want to create an application where its business logic executes on the public Ethereum network, this is not possible with Daml. Daml code executes alongside distributed ledgers/blockchains and uses them for data persistence and consensus but not execution.

The extension you’re using here is for Visual Studio Code which is an extendable code editor/IDE that has support for many programming languages. Daml Studio is also an extension for Visual Studio Code but it has nothing to do with Solidity or other extensions.

1 Like