Skip to content

utnet-org/utility-devcontainers-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

Devcontainer for Utility Smart Contract

This repository hosts the official Devcontainer image for Utility contract development, featuring preinstalled essential tools. You can access the image on the GitHub Container Registry.

Usage

To incorporate this Devcontainer into your own repositories, follow these steps:

  1. Fork the Utility Rust Stack template repo.
  2. Open the forked repository in Codespaces.

For integrating this Devcontainer into your repositories, create the following configuration in .devcontainer/devcontainer.json:

{
  "name": "Utility Devcontainer Rust",
  "image": "ghcr.io/utnet-org/utility-devcontainers-rs:latest",
  // Uncomment and modify the following lines if necessary
  // "forwardPorts": [8000],
  "customizations": {
    "codespaces": {
      // Uncomment and modify the following lines if necessary
      // "openFiles": ["README.md", "src/lib.rs", "tests/test_basics.rs"]
    }
  }
}

Features

The unc-cli features are available separately and can be used in other Devcontainers. Include the following configurations in your .devcontainer/devcontainer.json:

For unc-cli:

"features": {
  "ghcr.io/utnet-org/utility-devcontainers-rs/features/unc-cli:latest": {}
}

Contributing

Feel free to contribute to this Devcontainer repository. Any issues or improvements can be raised through the GitHub repository's issue tracker.