10.0.0 • Published 4 years ago

tezster2 v10.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Tezster 2.0

A personal development blockchain based on Javascript that lives entirely on your local machine.

Getting Super Powers

Tezster comes in an npm package with a set of easy commands to kickstart the development or interaction with Tezos. The current version will install and start tezos node on your local machine.

Prerequisites

Any Operating System will work !

  1. Node v. 12.x+
  2. Install Docker ( For Ubuntu/Linux use sudo apt install docker.io. For Mac OS you can use "Docker desktop")

Note:

Make sure after installing docker you have added \$USER to the docker group, if not follow the following steps:

sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker

Playground Setup :

download the npm package

sudo npm install -g tezster@latest

You can check the version of tezster using :

tezster -v

To see what you can do with tezster, run

tezster --help

Once it is installed run

tezster setup

This will download the docker image containing 'pre-built tezos nodes and baker' on your system. You need to run setup only once. After that run,

tezster start-nodes

It will activate Tezos alpha. Now you will have nodes running successfully on port 18731.

To stop the nodes run

tezster stop-nodes

It will stop all the tezster nodes running on the system. To restart the nodes run "tezster start-nodes".

Play with Tezster CLI

To see generated accounts, run

tezster list-accounts

User can also activate and use an babylonnet faucet account with tezster to interact with babylonnet (test network of tezos) user has to download file from faucet : https://faucet.tzalpha.net/ After downloading from faucet you need to change the provider.

To check your current provider run

tezster get-provider

Change your provider to localhost by running

tezster set-provider http://localhost:18731 

Change your provider to babylonnet by running

tezster set-provider https://tezos-dev.cryptonomic-infra.tech/ 

OR

tezster set-provider http://testnet.tezster.tech
add-testnet-account <account-label> <absolute-path-to-json-file> - restores account from faucet json file
e.g. tezster add-testnet-account alpha4 /home/op/Downloads/tz1Umt3KQUwZYyjFjJrRXjp17qosuxAkmf3n.json

Any testnet faucet account requires activation before first use.

 activate-testnet-account <account-label>
e.g. tezster activate-testnet-account alpha4

After activating faucet you need to change the provider to check your current provider run:

tezster get-provider

To transfer tezos from account to another account , you don't have to bake your blocks because a baker is running for your local node and it bakes automatically.

tezster transfer <amount> <from> <to> 
eg. - tezster transfer 10 bootstrap1 bootstrap2

To deploy a smart contract, put the michelson code in a file (eg.- testcontract.tz) Code eg.-

parameter string;
storage string;
code {CAR; NIL operation; PAIR;};

this stores any string to the storage

then run,

tezster deploy <contract label> <absolute path> <initial storage value> <account>

eg.- tezster deploy simplecontract /home/op/testcontract.tz "\"helloworld\"" bootstrap1

if this is successful, you'll receive a contract hash.

To call the contract, run

tezster call <contract label> <argument value> <account>
eg.- tezster call simplecontract "\"goodmorning\"" bootstrap1

To see the current storage in a contract, run

tezster get-storage <contract-label/address>
eg.- tezster get-storage simplecontract

You can call this after each step when you deploy or call contract to see the updated storage.

Extra

We’re building a lot of exciting features which will be released soon, So stay tuned with our updates and releases!

keep developing
10.0.0

4 years ago

0.9.7

4 years ago

0.9.4

4 years ago

0.9.3

4 years ago

0.9.6

4 years ago

0.9.5

4 years ago

0.9.2

4 years ago

0.9.0

4 years ago

0.9.1

4 years ago

0.8.9

4 years ago

0.8.8

4 years ago

0.8.5

4 years ago

0.8.4

4 years ago

0.8.7

4 years ago

0.8.6

4 years ago

0.8.3

4 years ago

0.8.11

4 years ago

0.8.10

4 years ago

0.8.2

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.5

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.3

4 years ago

0.6.2

4 years ago

0.6.5

4 years ago

0.6.4

4 years ago

0.6.0

4 years ago

0.5.20

4 years ago

0.5.19

4 years ago

0.5.18

4 years ago

0.5.17

4 years ago

0.5.16

4 years ago

0.5.15

4 years ago

0.5.14

4 years ago

0.5.12

4 years ago

0.5.11

4 years ago

0.5.10

4 years ago

0.5.9

4 years ago

0.5.8

4 years ago

0.5.7

4 years ago

0.5.6

4 years ago

0.5.5

4 years ago

0.5.4

4 years ago

0.5.3

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.4.28

4 years ago

0.4.27

4 years ago

0.4.26

4 years ago

0.4.24

4 years ago

0.4.25

4 years ago

0.4.22

4 years ago

0.4.23

4 years ago

0.4.21

4 years ago

0.4.20

4 years ago

0.4.19

4 years ago

0.4.17

4 years ago

0.4.18

4 years ago

0.4.15

4 years ago

0.4.16

4 years ago

0.4.14

4 years ago

0.4.11

4 years ago

0.4.12

4 years ago

0.4.10

4 years ago

0.4.9

4 years ago

0.4.8

4 years ago

0.4.7

4 years ago

0.4.5

4 years ago

0.4.6

4 years ago

0.4.4

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.3.68

4 years ago

0.4.0

4 years ago

0.3.67

4 years ago

0.3.66

4 years ago

0.3.65

4 years ago

0.3.64

4 years ago

0.3.63

4 years ago

0.3.62

4 years ago

0.3.61

4 years ago

0.3.60

4 years ago

0.3.59

4 years ago

0.3.58

4 years ago

0.3.57

4 years ago

0.3.56

4 years ago

0.3.54

4 years ago

0.3.53

4 years ago

0.3.52

4 years ago

0.3.51

4 years ago

0.3.50

4 years ago

0.3.49

4 years ago

0.3.48

4 years ago

0.3.47

4 years ago

0.3.46

4 years ago

0.3.45

4 years ago

0.3.44

4 years ago

0.3.43

4 years ago

0.3.31

4 years ago

0.3.38

4 years ago

0.3.37

4 years ago

0.3.36

4 years ago

0.3.35

4 years ago

0.3.34

4 years ago

0.3.33

4 years ago

0.3.32

4 years ago

0.3.29

4 years ago

0.3.42

4 years ago

0.3.20

4 years ago

0.3.41

4 years ago

0.3.40

4 years ago

0.3.27

4 years ago

0.3.26

4 years ago

0.3.25

4 years ago

0.3.23

4 years ago

0.3.22

4 years ago

0.3.21

4 years ago

0.3.18

4 years ago

0.3.17

4 years ago

0.3.16

4 years ago

0.3.15

4 years ago

0.3.14

4 years ago

0.3.12

4 years ago

0.3.11

4 years ago

0.3.10

4 years ago

0.3.9

4 years ago

0.3.8

4 years ago

0.3.7

4 years ago

0.3.6

4 years ago

0.3.5

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.0

4 years ago

0.2.8

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.1

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.0

4 years ago