Skip to content
CCPEDIAby Unity Nodes
App Development

Help with the Web SDK

5 posts341 views5 likesLast activity Dec 2020

  1. thoms994OP 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

  2. anthony 1

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

  3. thoms994 1

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

  4. thoms994 1

    BTW:

    what is this for then?

  5. anthony 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.