You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
Info about encoding storage values to Micheline for deployment (#320)
* Don't say "simply"
* Don't use "once" to mean "when"
* This isn't a prereq because we cover the online IDEs on this page
* Compiling storage values in LIGO and SmartPy
Copy file name to clipboardexpand all lines: docs/smart-contracts/deploying.md
+85-5
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,14 @@
2
2
title: Deploying smart contracts
3
3
authors: 'Yuxin Li'
4
4
last_update:
5
-
date: 6 November 2023
5
+
date: 13 February 2024
6
6
---
7
7
## Introduction
8
8
In Tezos, deploying a smart contract is often referred to as “origination”. This process essentially creates a new account that holds the smart contract's script. Contracts originated in this manner have addresses that start with `KT1`, which distinguishes them from the user accounts with addresses beginning with `tz1`, `tz2`, or `tz3`.
9
9
10
10
## Prerequisites
11
11
- Compile your contract and its initial storage
12
12
- Set up an wallet account on Tezos with some tez to pay the fees
13
-
- Ensure that you have obtained the [Tezos client](../developing/octez-client/installing)
14
13
15
14
## Deploying a smart contract
16
15
Generally, there are two methods for deploying your smart contracts: either using the command line in your terminal or deploying through an online IDE.
@@ -31,12 +30,93 @@ where:
31
30
-`GAZ_FEE` is a specified maximal fee the user is willing to pay for this operation (using the --burn-cap parameter).
32
31
33
32
### Deploying via online IDE
34
-
As for deploying through your online IDE, if you are using LIGO or SmartPy programming languages, you can simply deploy your smart contracts through their respective online IDEs.
33
+
As for deploying through your online IDE, if you are using LIGO or SmartPy programming languages, you can deploy your smart contracts through their respective online IDEs.
Once you have successfully originated the smart contract and it is included in a baked block, there are two ways to interact with it: through command lines or through a block explorer.
119
+
When you have successfully originated the smart contract and it is included in a baked block, there are two ways to interact with it: through command lines or through a block explorer.
40
120
41
121
### Interacting through command lines
42
122
The first method involves interacting with the contract's entry points using command lines.
@@ -83,7 +163,7 @@ A blockchain explorer is an efficient and user-friendly tool that enables you to
83
163
-[Better Call Dev](https://better-call.dev/)
84
164
-[TzKT](https://tzkt.io/)
85
165
86
-
To interact with a contract, simply copy its address into one of these blockchain explorers. Below is the user interface for interacting with a contract through Better Call Dev:
166
+
To interact with a contract, copy its address into one of these blockchain explorers. Below is the user interface for interacting with a contract through Better Call Dev:
87
167
88
168

0 commit comments