View Code? Open in Web Editor
NEW
Basic demo d-app to showcase tezos dev process and production processes
License: Apache License 2.0
HTML 12.38%
JavaScript 14.15%
Python 20.57%
Vue 52.89%
tz-demo-app's Introduction
Interaction with Smart Contract using Taquito
npm install
npm run serve
- Go to http://localhost:8080
Getting & Activating Faucet Account
- Go to https://faucet.tzalpha.net/
- Click
Get Testnet
after proving you're not a robot ;)
- Copy (or download) the JSON obtained.
- Go to https://smartpy.io/wallet.html
- Under
Faucet Importer
point 2, paste the JSON obtained.
- Click
Compute your private key
, and save the key somewhere.
- Click
Activate account
- Go to http://smartpy.io/ide
- Paste the contract in the editor.
- Click on
RUN
button.
- If all the tests pass, a tab named
Deploy Michelson Contract
will appear on the right, go to that.
- Click
Deploy Michilson Contract
button.
- Choose
Edonet
(of SmartPy.io Nodes) in Node and Network.
- Choose
Wallet
> SmartPy
> Faucet
- Under
Copy & Paste
, paste the JSON of Faucet account.
- Click
Deploy Contract
at the end.
- Update
/src/contract.py
(for future reference)
- Change variable
RPC_ADDRESS
to the address of RPC node (https://edonet.smartpy.io/
in our case)
- Change variable
KEY
to the account's private key
- Change variable
CONTRACT_ADDRESS
to the address of deployed contract
tz-demo-app's People
Contributors