diff --git a/infrastructure/private-net-template.json b/infrastructure/private-net-template.json index 95e07d52e..762d2bc0a 100644 --- a/infrastructure/private-net-template.json +++ b/infrastructure/private-net-template.json @@ -3,7 +3,7 @@ "NetworkName": "devnet", "ConsensusProtocol": "future", "FirstPartKeyRound": 0, - "LastPartKeyRound": 30000, + "LastPartKeyRound": 30000, "Wallets": [ { "Name": "Wallet1", diff --git a/packages/algob/package.json b/packages/algob/package.json index b6f41ca40..09e2a91c8 100644 --- a/packages/algob/package.json +++ b/packages/algob/package.json @@ -1,6 +1,6 @@ { "name": "@algo-builder/algob", - "version": "5.0.1", + "version": "6.0.0", "author": "Robert Zaremba (https://zaremba.ch)", "license": "Apache-2.0", "homepage": "https://algobuilder.dev", @@ -40,13 +40,7 @@ "publishConfig": { "access": "public" }, - "files": [ - "build/", - "LICENSE", - "README.md", - "setup_dev_project.sh", - "sample-project/" - ], + "files": ["build/", "LICENSE", "README.md", "setup_dev_project.sh", "sample-project/"], "devDependencies": { "@types/chai": "^4.3.0", "@types/debug": "^4.1.7", @@ -96,19 +90,9 @@ "zod": "^3.19.1" }, "nyc": { - "extension": [ - ".ts" - ], - "exclude": [ - "build", - "test", - "coverage", - ".nyc_output" - ], - "reporter": [ - "text", - "lcovonly" - ], + "extension": [".ts"], + "exclude": ["build", "test", "coverage", ".nyc_output"], + "reporter": ["text", "lcovonly"], "all": true } } diff --git a/packages/algob/sample-project/infrastructure/Makefile b/packages/algob/sample-project/infrastructure/Makefile index 5acd91925..1c20da8d3 100644 --- a/packages/algob/sample-project/infrastructure/Makefile +++ b/packages/algob/sample-project/infrastructure/Makefile @@ -10,7 +10,7 @@ export REACH_PATH = ~/.algorand-reach export INDEXER_REMOTE_REPO = https://github.com/algorand/indexer.git export INDEXER_PATH = ~/.algorand-indexer-download # path to indexer .tar file (https://github.com/algorand/indexer/releases) for local setup -export INDEXER_LATEST_VERSION = 2.14.1 +export INDEXER_LATEST_VERSION = 2.14.2 export INDEXER_TAR_NAME = algorand-indexer_$(OS)_amd64_$(INDEXER_LATEST_VERSION).tar.bz2 export INDEXER_TAR_URL = https://github.com/algorand/indexer/releases/download/$(INDEXER_LATEST_VERSION)/$(INDEXER_TAR_NAME) # default postgres config vars @@ -63,6 +63,7 @@ account-list: setup-master-account: # Create an account with WWYNX3TKQYVEREVSW6QQP3SXSFOCE3SKUSEIVJ7YAGUPEACNI5UGI4DZCE address: goal account import -m "enforce drive foster uniform cradle tired win arrow wasp melt cattle chronic sport dinosaur announce shell correct shed amused dismiss mother jazz task above hospital" -d $(ALGORAND_DATA) || true + @goal account rename Unnamed-0 master -d $(ALGORAND_DATA) || true # Send lot of ALGO from a primary account to the "master" account we created above @$(eval list=$(shell goal account list -d $(ALGORAND_DATA))) @$(eval netAddress=$(shell echo $(list) | awk '{print $$2}')) @@ -163,7 +164,7 @@ start-indexer: wget $(INDEXER_TAR_URL) -P $(INDEXER_PATH); \ cd $(INDEXER_PATH); tar -xf $(INDEXER_TAR_NAME) -C $(INDEXER_PATH); fi # Start indexer by providing database connection info and path to algod node - $(INDEXER_PATH)/algorand-indexer_$(OS)_amd64_$(INDEXER_LATEST_VERSION)/algorand-indexer daemon -P "host=localhost port=5432 user=$(POSTGRES_UNAME) password=$(POSTGRES_PASS) dbname=$(POSTGRES_DBNAME) sslmode=disable" --algod=./node_data/PrimaryNode --dev-mode + $(INDEXER_PATH)/algorand-indexer_$(OS)_amd64_$(INDEXER_LATEST_VERSION)/algorand-indexer daemon --data-dir /tmp -P "host=localhost port=5432 user=$(POSTGRES_UNAME) password=$(POSTGRES_PASS) dbname=$(POSTGRES_DBNAME) sslmode=disable" --algod=./node_data/PrimaryNode --dev-mode recreate-indexer: recreate-indexer-db start-indexer diff --git a/packages/algob/sample-project/infrastructure/README.md b/packages/algob/sample-project/infrastructure/README.md index 2770070ad..54283fbaa 100644 --- a/packages/algob/sample-project/infrastructure/README.md +++ b/packages/algob/sample-project/infrastructure/README.md @@ -42,7 +42,7 @@ This is a guide to quickly start a local node using `algod` and make scripts. 1. Check the access token and network address. You will need them in your config file to correctly connect to a node. When using `make create-private-net` the script will set the network configuration (PrimaryNode/config.json) and token for you to match the `algob.config` used in all our examples. Don't expose the node externally - otherwise you will need to setup a firewall and generate a new token. You can see the network and a port by opening the following files: - cat node_data/PrimaryNode/algod.net + cat node_data/PrimaryNode/algod-listen.net cat node_data/PrimaryNode/algod.token 1. To start and stop the the chain use the following commands: @@ -96,7 +96,7 @@ _NOTE:_ Please make sure to have [Docker Compose](https://docs.docker.com/compos 6. `sandbox-clean` - Clean up the env by removing stopped container and unused images. -7. `sanbox-reset` - Reset the containers to their initial state. +7. `sandbox-reset` - Reset the containers to their initial state. **To be noted :** diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 568b56418..f40f7c740 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,18 +1,11 @@ { "name": "@algo-builder/runtime", - "version": "5.0.1", + "version": "6.0.0", "license": "Apache-2.0", "homepage": "https://algobuilder.dev", "repository": "https://github.com/scale-it/algo-builder.git", "description": "JavaScript implementation of Algorand runtime (transaction execution + TEAL interpreter)", - "keywords": [ - "smart-contracts", - "blockchain", - "algorand", - "dapps", - "javascript", - "tooling" - ], + "keywords": ["smart-contracts", "blockchain", "algorand", "dapps", "javascript", "tooling"], "main": "build/index.js", "types": "build/index.d.ts", "engines": { @@ -74,25 +67,11 @@ "access": "public", "no-git-tag-version": true }, - "files": [ - "build/", - "LICENSE", - "README.md" - ], + "files": ["build/", "LICENSE", "README.md"], "nyc": { - "extension": [ - ".ts" - ], - "exclude": [ - "build", - "test", - "coverage", - ".nyc_output" - ], - "reporter": [ - "text", - "lcovonly" - ], + "extension": [".ts"], + "exclude": ["build", "test", "coverage", ".nyc_output"], + "reporter": ["text", "lcovonly"], "all": true } } diff --git a/packages/web/package.json b/packages/web/package.json index 31d0ab14e..2a8c324c1 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -1,18 +1,11 @@ { "name": "@algo-builder/web", - "version": "5.0.1", + "version": "6.0.0", "license": "Apache-2.0", "homepage": "https://algobuilder.dev", "repository": "https://github.com/scale-it/algo-builder.git", "description": "package for the web", - "keywords": [ - "smart-contracts", - "blockchain", - "algorand", - "dapps", - "javascript", - "tooling" - ], + "keywords": ["smart-contracts", "blockchain", "algorand", "dapps", "javascript", "tooling"], "main": "build/index.js", "types": "build/index.d.ts", "engines": { @@ -60,25 +53,11 @@ "access": "public", "no-git-tag-version": true }, - "files": [ - "build/", - "LICENSE", - "README.md" - ], + "files": ["build/", "LICENSE", "README.md"], "nyc": { - "extension": [ - ".ts" - ], - "exclude": [ - "build", - "test", - "coverage", - ".nyc_output" - ], - "reporter": [ - "text", - "lcovonly" - ], + "extension": [".ts"], + "exclude": ["build", "test", "coverage", ".nyc_output"], + "reporter": ["text", "lcovonly"], "all": true } }