Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Help with the Web SDKForum ↗

Help with the Web SDK

App Development5 posts338 views5 likesLast activity Dec 2020
TH
thoms994OP
Dec 2020 1

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

AN
anthony
Dec 2020 1

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

TH
thoms994
Dec 2020 1

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

TH
thoms994
Dec 2020 1

BTW:

what is this for then?

AN
anthony
Dec 2020 1

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.

← Back to Discussions