Pontem Studio
Website ➚Github ➚Liquidswap Docs
  • 📌00. About Pontem
    • Pontem Product Development Studios
    • Team
  • 👛01. Wallet
    • Introduction
    • Getting Started
    • API Reference
    • Wallet Adapter
    • Demo
  • 📘02. Move Language
    • Introduction
    • Move Playground
    • Intellij IDE Extension Tutorial
  • 📚03. Tutorials
    • Aptos Tutorial
    • Move Playground
  • 🔗04. Resources
    • Liquidswap
    • Pontem Aptos Wallet
    • Site
    • Public nodes
  • 🧑‍🔬 05. Dev Resources
    • Github
    • Aptos Documentation
    • Move Documentation
    • IntelliJ IDE Extension
  • 🦄06. Community
    • Discord
    • Telegram
Powered by GitBook
On this page
  • Quick Guide
  • Create module
  • Run script
  • Custom addresses
  • Roadmap
  • Tech stack
  1. 02. Move Language

Move Playground

PreviousIntroductionNextIntellij IDE Extension Tutorial

Last updated 1 year ago

The Move Playground is a web version of the Move VM, Move CLI and basic IDE. This allows developer to write, test, build their Smart Contracts in the browser.

Quick Guide

Create module

  1. Put the name of your project into the input field.

  2. Click on the created project.

  3. Add a new module to the project by clicking on "+" near the sources folder.

  4. Put the name of the module in the input field, e.g. test_module.move (file extension is required).

  5. Put your Move code inside, e.g.:

module 0x01::TestModule {
}

Click on the 🛠️ button in the top menu to build the new module then close the console.

Run script

  1. Create a new script similarly to how you created a module (but inside the script folder), e.g. test_script.move.

  2. Put the following code inside:

script {
   fun test_script(val: u128) {
     assert!(val == 15, 101);
   }
}
  1. Build it by clicking the 🛠️ button in the top menu.

  2. Navigate to the Run section in left menu.

  3. In the bottom of the screen you can input a script command to execute, e.g.: test_script(100).

  4. Enjoy experimenting with arguments 👩‍🔬

Custom addresses

  1. Click on the 🔗 icon in the left menu.

  2. Add a new address by entering the name and address in the fields inside the popup.

  3. Use the named address in your code.

Roadmap

Playground is currently in alpha stage. The current Roadmap is:

  • Tests in browser.

  • Allow watching a stored resource.

  • Add support for different Move VM networks.

  • Move Prover in browser.

  • Ability to save/share projects and code samples.

Tech stack

The Move Playground is possible due to:

Go to and create a new project by clicking on "+" near "Projects".

fork developed by our team.

- Dove package manager built for Web.

for frontend.

📘
Move Playground
Move VM WASM
Dove Light
Monaco Editor
Move Playground