A Counter
contract to display the basics of Tezos LIGO integration and deployment.
-
Compiling the example smart contracts
yarn run compile
-
Starting the local sandbox Tezos node
yarn run start-sandbox
-
Deploying contracts on local sandbox
yarn run deploy:sandbox
-
OR: Deploying contracts on testnet (faucet must be obtained as explained at the bottom)
yarn run deploy:testnet
A sandbox Tezos node is provided with RPC exposed at port 20000
and two accounts alice and bob.
- A secret can be obtained by running sandbox-info and import secret (only alice is needed) inside
config/sandbox.config.js
yarn run sandbox-info
- A test faucet key can be obtained from https://faucet.tzalpha.net/. Once saved, it can be imported inside faucet key of
config/testnet.config.js