diff --git a/examples/contract/README.md b/examples/contract/README.md index b6cf26a0..845b8833 100644 --- a/examples/contract/README.md +++ b/examples/contract/README.md @@ -1,6 +1,6 @@ ## Work with smart contract and tokens -Use TzGo to work with smart contracts and tokens. This examples shows you how to +Use TzGo to work with smart contracts and tokens. This example shows you how to - get contract entrypoints - execute on-chain views to read data @@ -37,10 +37,10 @@ Query Commands getTotalSupply FA1: fetch total token supply getAllowance FA1: fetch spender permit -Transaction Commands (require private key +Transaction Commands (require private key) transfer FA1+2: transfer tokens to receiver approve FA1: grant spending right revoke FA1: revoke spending right addOperator FA2: grant full operator permissions removeOperator FA2: revoke full operator permissions - ``` \ No newline at end of file + ``` diff --git a/examples/fa12/README.md b/examples/fa12/README.md index 0d3c5166..5571e5f3 100644 --- a/examples/fa12/README.md +++ b/examples/fa12/README.md @@ -23,7 +23,7 @@ go run . BKuRFhvhsc3Bwdxedu6t25RmrkqpERVqEk867GAQu43muvi7j4d 17 ### Implementation details -There are different ways to accomplish this for your own contracts. Here we just use the FA1.2 spec to illustrate how the proces works. +There are different ways to accomplish this for your own contracts. Here we just use the FA1.2 spec to illustrate how the process works. ```go // you need the contract's script for type info @@ -80,4 +80,4 @@ There are different ways to accomplish this for your own contracts. Here we just } buf, _ = json.MarshalIndent(transfer, "", " ") fmt.Printf("FA transfer %s\n", string(buf)) -``` \ No newline at end of file +``` diff --git a/examples/rights/README.md b/examples/rights/README.md index be2d790b..66daf4a3 100644 --- a/examples/rights/README.md +++ b/examples/rights/README.md @@ -1,4 +1,4 @@ -## Working wth baking rights +## Working with baking rights Use TzGo to fetch baking rights and related data from the Tezos RPC. This example covers a few basic cases. diff --git a/examples/transfer/README.md b/examples/transfer/README.md index 89898444..ca866fe4 100644 --- a/examples/transfer/README.md +++ b/examples/transfer/README.md @@ -1,6 +1,6 @@ ## Transfer tez with ease -Use TzGo to construct and broadcast valid Tezos transactions. There are many convenience wrappers that help with the construction side and a simple one-stop-shop `Send()` call that does all the heavy lifting of fee estimation, coordinating signing, broadcasting and waitinh for confirmations. Checkout the source code in the `codec` package and `rpc/run.go` to get a sense of what's possible. +Use TzGo to construct and broadcast valid Tezos transactions. There are many convenience wrappers that help with the construction side and a simple one-stop-shop `Send()` call that does all the heavy lifting of fee estimation, coordinating signing, broadcasting and waiting for confirmations. Checkout the source code in the `codec` package and `rpc/run.go` to get a sense of what's possible. The most simple chain of function calls to send a single transfer with default options is @@ -30,4 +30,4 @@ Transaction Commands transfer { }+ transfer tez to single or multiple receiver(s) ``` -If you provide multiple ` ` pairs to the command, it produces a single batch transaction. \ No newline at end of file +If you provide multiple ` ` pairs to the command, it produces a single batch transaction. diff --git a/examples/tx/README.md b/examples/tx/README.md index 28c116be..ed7c0d74 100644 --- a/examples/tx/README.md +++ b/examples/tx/README.md @@ -1,6 +1,6 @@ ## Build and sign Tezos operations -Use TzGo to produce any type of Tezos operation. One by one, this example shows all the basic steps to make, encode, simulate, sign, broadacst and wait for operation to be confirmed . +Use TzGo to produce any type of Tezos operation. One by one, this example shows all the basic steps to make, encode, simulate, sign, broadcast and wait for operation to be confirmed. ### Usage @@ -20,7 +20,7 @@ Commands decode decode binary operation digest generate operation digest for signing sign sign message digest - sign-remoate sign message digest using remote signer + sign-remote sign message digest using remote signer simulate simulate executing operation using invalid signature broadcast broadcast signed operation wait [] waits for operation to be included after n confirmations (optional) @@ -46,7 +46,7 @@ Operation types & required JSON keys ### Examples -We use a `reveal` operation as simple example, but others work with the same schema. Note that the binary encoding used as input to simulation and signing already contains a recent block hash. You can't jost copy paste below examples 1:1 to walk through the steps. Instead, start at the first command and use each command's output as the input to the following. +We use a `reveal` operation as simple example, but others work with the same schema. Note that the binary encoding used as input to simulation and signing already contains a recent block hash. You can't just copy paste below examples 1:1 to walk through the steps. Instead, start at the first command and use each command's output as the input to the following. ```sh # encode to binary (also adds a recent block hash for TTL control)