Skip to content

Commit

Permalink
v6.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-zaremba committed Nov 4, 2022
1 parent 3652222 commit 295ee27
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 80 deletions.
2 changes: 1 addition & 1 deletion infrastructure/private-net-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"NetworkName": "devnet",
"ConsensusProtocol": "future",
"FirstPartKeyRound": 0,
"LastPartKeyRound": 30000,
"LastPartKeyRound": 30000,
"Wallets": [
{
"Name": "Wallet1",
Expand Down
26 changes: 5 additions & 21 deletions packages/algob/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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
}
}
5 changes: 3 additions & 2 deletions packages/algob/sample-project/infrastructure/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}'))
Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions packages/algob/sample-project/infrastructure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 :**

Expand Down
33 changes: 6 additions & 27 deletions packages/runtime/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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
}
}
33 changes: 6 additions & 27 deletions packages/web/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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
}
}

0 comments on commit 295ee27

Please sign in to comment.