Added new contract templates (#31)

This commit is contained in:
Chalith Desaman
2024-03-15 17:16:24 +05:30
committed by GitHub
parent 5838ea7fcc
commit 1face50d32
46 changed files with 3860 additions and 73 deletions

View File

@@ -0,0 +1,6 @@
{
"contract": {
"bin_path": "/usr/bin/node",
"bin_args": "index.js"
}
}

View File

@@ -0,0 +1,15 @@
#!/bin/bash
# Install unzip, jq if not installed, because it's required for the upgrader.
if ! command -v unzip &>/dev/null; then
echo "Installing unzip"
apt-get update
apt-get install -y unzip
fi
if ! command -v jq &>/dev/null; then
echo "Installing unzip"
apt-get update
apt-get install -y jq
fi