Skip to content

Commit

Permalink
Merge branch 'master' into dev/zivkovicmilos/overhaul-secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
zivkovicmilos committed Jun 24, 2024
2 parents 9c364cd + 072aef3 commit 104736e
Show file tree
Hide file tree
Showing 70 changed files with 8,726 additions and 579 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ pbbindings.go
# Test coverage leftovers
cover.out
coverage.out

*.swp
*.swo
*.bak
2 changes: 2 additions & 0 deletions docs/concepts/proof-of-contribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Presentation: https://github.com/gnolang/workshops/tree/main/presentations/2023-

## High-level schema

```
____ ____ ____ __ _ __ __ _
/ __ \_________ ____ / __/ ____ / __/ _________ ____ / /______(_) /_ __ __/ /_(_)___ ____ _____
/ /_/ / ___/ __ \/ __ \/ /_ / __ \/ /_ / ___/ __ \/ __ \/ __/ ___/ / __ \/ / / / __/ / __ \/ __ \/ ___/
Expand Down Expand Up @@ -55,6 +56,7 @@ Presentation: https://github.com/gnolang/workshops/tree/main/presentations/2023-
^ |
| |
+---------------user TXs can publish and call contracts--------------------+
```

## Components

Expand Down
38 changes: 19 additions & 19 deletions docs/gno-tooling/cli/gnodev.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ Gnodev allows for quick and efficient development of Gno code.

By watching your development directory, gnodev detects changes in your Gno
code, reflecting them in the state of the node immediately. Gnodev also runs a
local instance of `gnoweb`, allowing you to see the rendering of your Gno code instantly.
local instance of `gnoweb`, allowing you to see the rendering of your Gno code instantly.

## Features
- **In-Memory Node**: Gnodev starts an in-memory node, and automatically loads
the **examples** folder and any user-specified paths.
- **Web Interface Server**: Gnodev automatically starts a `gnoweb` server on
[`localhost:8888`](https://localhost:8888).
[`localhost:8888`](https://localhost:8888).
- **Balances and Keybase Customization**: Users can set account balances, load them from a file, or add new
accounts via a flag.
- **Hot Reload**: Gnodev monitors the **examples** folder, as well as any folder specified as an argument for
Expand Down Expand Up @@ -120,20 +120,20 @@ While `gnodev` is running, the following shortcuts are available:

### Options

| Flag | Effect |
|---------------------|---------------------------------------------------------------------|
| --minimal | Start `gnodev` without loading the examples folder. |
| --no-watch | Disable hot reload. |
| --add-account | Pre-add account(s) in the form `<bech32>[=<amount>]` |
| --balances-file | Load a balance for the user(s) from a balance file. |
| --chain-id | Set node ChainID |
| --deploy-key | Default key name or Bech32 address for uploading packages. |
| --home | Set the path to load user's Keybase. |
| --max-gas | Set the maximum gas per block |
| --no-replay | Do not replay previous transactions upon reload |
| --node-rpc-listener | listening address for GnoLand RPC node |
| --root | gno root directory |
| --server-mode | disable interaction, and adjust logging for server use. |
| --verbose | enable verbose output for development |
| --web-listener | web server listening address |
| --web-help-remote | web server help page's remote addr - default to <node-rpc-listener> |
| Flag | Effect |
|---------------------|-----------------------------------------------------------------------|
| --minimal | Start `gnodev` without loading the examples folder. |
| --no-watch | Disable hot reload. |
| --add-account | Pre-add account(s) in the form `<bech32>[=<amount>]` |
| --balances-file | Load a balance for the user(s) from a balance file. |
| --chain-id | Set node ChainID |
| --deploy-key | Default key name or Bech32 address for uploading packages. |
| --home | Set the path to load user's Keybase. |
| --max-gas | Set the maximum gas per block |
| --no-replay | Do not replay previous transactions upon reload |
| --node-rpc-listener | listening address for GnoLand RPC node |
| --root | gno root directory |
| --server-mode | disable interaction, and adjust logging for server use. |
| --verbose | enable verbose output for development |
| --web-listener | web server listening address |
| --web-help-remote | web server help page's remote addr - defaults to <node-rpc-listener\> |
2 changes: 1 addition & 1 deletion docs/reference/gno-js-client/gno-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Fetches public facing function signatures
* `height` **number** the height for querying.
If omitted, the latest height is used (optional, default `0`)

Returns **Promise<FunctionSignature[]>**
Returns **Promise<FunctionSignature[]\>**

#### Usage

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/gno-js-client/gno-wallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Deploys the specified package / realm
#### Parameters

* `gnoPackage` **MemPackage** the package / realm to be deployed
* `funds` **Map<string, number>** the denomination -> value map for funds
* `funds` **Map<string, number\>** the denomination -> value map for funds
* `fee` **TxFee** the custom transaction fee, if any

Returns **Promise<string\>**
Expand Down
192 changes: 0 additions & 192 deletions docs/reference/gnoclient/client.md

This file was deleted.

11 changes: 10 additions & 1 deletion docs/reference/gnoclient/gnoclient.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,13 @@ your Go code
To add Gnoclient to your Go project, run the following command:
```bash
go get github.com/gnolang/gno/gno.land/pkg/gnoclient
```
```

## Reference documentation & usage

To see the full reference documentation for the `gnoclient` package, we recommend
visiting the [`gnoclient godoc page`](https://gnolang.github.io/gno/github.com/gnolang/gno@v0.0.0/gno.land/pkg/gnoclient.html).

For a tutorial on how to use the `gnoclient` package, check out
["How to connect a Go app to Gno.land"](../../how-to-guides/connecting-from-go.md.)

86 changes: 0 additions & 86 deletions docs/reference/gnoclient/signer.md

This file was deleted.

Loading

0 comments on commit 104736e

Please sign in to comment.