Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/).

## [1.1.0] - 2025-11-18

### Added
- Support tronsolc v0.8.25
- Developer Pack v0.0.1
- Developer Documents Updated

## [1.0.1] - 2025-11-06

### Added
Expand Down
21 changes: 21 additions & 0 deletions developer-pack/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 Ronan Sandford

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
29 changes: 29 additions & 0 deletions developer-pack/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Sunhat Developer Pack

Sunhat Developer's Extension Pack to ease the smart contract development, testing and deployment.

## Extensions Included

By installing Extension Pack for Java, the following extensions are installed:

- [📦 Solidity Snippets ](https://marketplace.visualstudio.com/items?itemName=maratib.solidity-snippets)
- Solidity Snippets

- [📦 Hardhat Test Snippets ](https://marketplace.visualstudio.com/items?itemName=maratib.hardhat-test-snippets)
- Hardhat Test Snippets

- [📦 Solidity ](https://marketplace.visualstudio.com/items?itemName=NomicFoundation.hardhat-solidity)
- Solidity Language support

- [📦 Mocha Test Explorer](https://marketplace.visualstudio.com/items?itemName=hbenl.vscode-mocha-test-adapter)
- To Enable Test explorer (`Cmd+Shift+P -> Mocha Test Explorer: Enable for a workspace folder`)
- In VS Code settings file add the following:-


```javascript
"mochaExplorer.files": "test/**/*.{js,ts}",
"mochaExplorer.require": "hardhat/register",
```



Binary file added developer-pack/images/sun.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions developer-pack/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"name": "sunhat-developer-pack",
"displayName": "Sunhat Developer Pack",
"description": "Sunhat Developer's Extension Pack to ease the smart contract development, testing and deployment.",
"version": "0.0.1",
"keywords": [
"hardhat",
"contract test",
"solidity snippets",
"solidity",
"snippets",
"smart contract",
"smart contracts",
"blockchain",
"sunhat",
"tron network"
],
"icon": "images/sun.png",
"author": {
"name": "Leon Johnson",
"email": "leon.zhang@tron.network",
"url": "https://grayfoxd.github.io"
},
"publisher": "grayfoxd",
"repository": {
"type": "git",
"url": "https://github.com/sun-protocol/sunhat"
},
"engines": {
"vscode": "^1.70.0"
},
"categories": [
"Extension Packs"
],
"extensionPack": [
"maratib.solidity-snippets",
"maratib.hardhat-test-snippets",
"NomicFoundation.hardhat-solidity",
"hbenl.vscode-mocha-test-adapter"
]
}
21 changes: 21 additions & 0 deletions developer-pack/vsc-extension-quickstart.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Welcome to your VS Code Extension Pack

## What's in the folder

* This folder contains all of the files necessary for your extension pack.
* `package.json` - this is the manifest file that defines the list of extensions of the extension pack.

## Get up and running straight away

* Press `F5` to open a new window with your extension loaded.
* Open `Extensions Viewlet` and check your extensions are installed.

## Make changes

* You can relaunch the extension from the debug toolbar after making changes to the files listed above.
* You can also reload (`Ctrl+R` or `Cmd+R` on Mac) the VS Code window with your extension to load your changes.

## Install your extension

* To start using your extension with Visual Studio Code copy it into the `<user home>/.vscode/extensions` folder and restart Code.
* To share your extension with the world, read on https://code.visualstudio.com/docs about publishing an extension.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sun-protocol/sunhat",
"version": "1.0.1",
"version": "1.1.0",
"description": "An All-in-One Toolkit for the Complete TRON Smart Contract Lifecycle",
"repository": "https://github.com/sun-protocol/sunhat.git",
"author": "sun-protocol",
Expand Down
Loading