Welcome to the Linkd Dev Tools extension! This tool is designed to streamline your entry into the exciting world of smart contracts. With Linkd Dev Tools, you can easily create, run, debug, compile, and deploy your smart contracts. This README guide will walk you through the essential steps and features of the extension.
Features
Linkd Dev Tools comes packed with features that facilitate smart contract development:
Automated Environment Setup: Simplifies the process of setting up a development environment for smart contract creation.
Integrated Smart Contract Creation: Easily create new smart contracts with a few clicks.
Run and Debug Tools: Directly run and debug functions within your smart contract.
Local Blockchain Simulation: Compile and deploy your contracts on a simulated blockchain environment powered by Neo Express.
Handy Command Palette: Access various commands easily through the integrated command palette.
Tip: Utilize our animated walkthroughs for a clear, step-by-step guide on using these features effectively.
Install and Configure
Installation: Download and install the Linkd Dev Tools extension from the VS Code marketplace.
Configuration: Modify the extension settings in the settings.json file located in the .vscode folder.
Creating a Smart Contract
Open Command Palette with Ctrl + Shift + P (or Cmd + Shift + P on macOS).
Type "New Smart Contract" and select NeoBlockchain: CreateNewProject.
Choose the programming language and name for your contract.
You'll find your contract file and a README in the root folder.
Run and Debug
Run: Click the "Run" button above the function you want to execute.
Debug: Use the "Debug" button located similarly to identify and fix issues.
Compile and Deploy
Use simple commands to compile and deploy your contract on a local blockchain.
Commands
Re-run Contract: linkd.reRunContract
Reset Blockchain: linkd.resetChain
Save Blockchain State: linkd.quickSaveBlockchain
Load Blockchain State: Linkd Quick Load
Create New Project: linkd.createNewProject
Open Panel: linkd.hwSvelte
Known Issues
Regularly check this section for updates on any known issues and their resolutions.