Skip to content

Commit

Permalink
docs: addresed pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hui-an-yang committed Sep 25, 2023
1 parent 9f996b0 commit 39667bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/maps_bigmaps.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Michelson offers two variants of `Maps` that are semantically the same but have

This example builds on the Ligo Lang Taco Shop learning resources.

The storage of the contract used in the following example is a map where a key is a natural number (a `nat`), and a value is a pair composed of two values representing the quantity of stock and `tez` tokens, respectively. The contract code is available [here](https://ligolang.org/docs/tutorials/get-started/tezos-taco-shop-smart-contract#making-sure-we-get-paid-for-our-tacos). In the example, the contract is originated with initial values using the `MichelsonMap` class' `set` method.
The storage of the contract used in the following example is a map where the key is a natural number (nat), and the value is a pair composed of two values representing the quantity of stock and `tez` tokens, respectively. The contract code is available [here](https://ligolang.org/docs/tutorials/get-started/tezos-taco-shop-smart-contract#making-sure-we-get-paid-for-our-tacos). In the example, the contract is originated with initial values using the `MichelsonMap` class' `set` method.

<Tabs
defaultValue="contractAPI"
Expand Down
3 changes: 1 addition & 2 deletions docs/smart_rollups.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ author: Davis Sawali

Rollups are a permissionless scaling implementation for the Tezos blockchain. The idea is that anyone can originate and operate one or more rollups, increasing the overall throughput of the Tezos blockchain.

In Taquito, we have implemented some of the operations included in Mumbai protocol update in regards to smart rollups. In this document, we will go through the operations we support. We also won't go too detailed on how rollups work behind the scenes, if you'd like to understand the feature a bit deeper, you can refer to [this document](https://tezos.gitlab.io/oxford/smart_rollups.html).
In Taquito, we have implemented some smart rollup operations first introduced in Mumbai protocol. In this document, we will go through the operations we support. We also won't go too detailed on how rollups work behind the scenes, if you'd like to understand the feature a bit deeper, you can refer to [this document](https://tezos.gitlab.io/oxford/smart_rollups.html).

## `smart_rollup_originate`

Expand All @@ -29,7 +29,6 @@ await op.confirmation();
- `pvmKind` at this time the only PVM supported is `wasm_2_0_0`
- `kernel` is passed as a hexadecimal string examples can be found at [this tezos docs endpoint](https://tezos.gitlab.io/oxford/smart_rollups.html?highlight=smart%20rollup%20originate#id1)
- `parametersType` is a MichelsonV1Expression to define the type.
- **Please note** `originationProof` is needed origination in `batch` which can be obtained with the `rpc.getOriginationProof({kernel, kind: PVMKind})`

For more information in regards to Smart Rollup Origination please refer to the this [link](https://tezos.gitlab.io/oxford/smart_rollups.html?highlight=smart%20rollup%20originate#id1)

Expand Down
2 changes: 1 addition & 1 deletion docs/wallet_API.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const wallet = new TempleWallet('MyAwesomeDapp');
The class constructor takes one parameter, the name of your dapp (this will be used later in the transaction confirmation pop-up). After the instantiation, we can connect the wallet by calling the `connect` method:

```js
await wallet.connect('mainnet' | 'oxfordnet' | 'oxfordnet' | 'ghostnet' | 'mondaynet' | 'sandbox');
await wallet.connect('mainnet' | 'oxfordnet' | 'nairobinet' | 'ghostnet' | 'mondaynet' | 'sandbox');
```

(Temple used to be called Thanos and some Taquito code still uses the name Thanos.)
Expand Down

0 comments on commit 39667bc

Please sign in to comment.