Skip to content

About

Opens an existing EOS (w/CLSDK) smart contract in a remote docker container in vscode.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Intro

Open an existing EOS Smart Contract repo created using the VSCode New EOS Contract repository.

Prerequisites

  1. VSCode installed on your development PC
  2. Remote - Containers VSCode extension has been installed
  3. You've previously created an EOS Smart Contract using the VSCode New EOS Contract repository, and pushed it to github.

How to use

  1. Clone this repo into a new directory with the name of your project (Directory naming restrictions: [a-zA-Z0-9][a-zA-Z0-9_.-])
  2. Open in VSCode
  3. OPTIONAL: Create a .devcontainer/.dev-eos-keys/accounts.env file of the form
wax_mydevaccount=<PK>
jungle_mydevaccount=<PK>
# ... any other test account_desc=private_pk pairs

Add as many test accounts along with their keys. Note that, only the <PK> part is important, names are only for you to keep track which key is which.

  1. Modify the .devcontainer file according to the instructions at the top of the file (Insert the target github account and repository name)
  2. Run the Remote-Containers: Rebuild and Reopen in Container command in VSCode

VSCode will relaunch, connecting to a new docker container that has already cloned the targeted smart contract from github.

Misc notes

When VSCode closes, the container stops. The data within the container is not accessible, as it's stored in an unnamed volume mounted on your PC, only accessible through the docker container launched by VSCode. All changes made within the container will persist on that PC (as long as you don't delete the docker volume), and must be pushed to a git repository if you want to work on it on another PC.

About

Opens an existing EOS (w/CLSDK) smart contract in a remote docker container in vscode.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages