Skip to content

Commit

Permalink
0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
octalmage committed May 29, 2022
1 parent 709ea35 commit 12f8d70
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 74 deletions.
87 changes: 16 additions & 71 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,59 +441,6 @@ npm unlink terrain
* [`terrain test CONTRACT-NAME`](#terrain-test-contract-name)
* [`terrain wallet:new`](#terrain-walletnew)
<<<<<<< HEAD
## `terrain code:new NAME`
Generate new contract.
```
USAGE
$ terrain code:new [NAME] [--path <value>] [--version <value>] [--authors <value>]
FLAGS
--authors=<value> [default: Terra Money <[email protected]>]
--path=<value> [default: ./contracts] path to keep the contracts
--version=<value> [default: 0.16]
DESCRIPTION
Generate new contract.
EXAMPLES
$ terrain code:new awesome_contract
$ terrain code:new awesome_contract --path path/to/dapp
$ terrain code:new awesome_contract --path path/to/dapp --authors "ExampleAuthor<[email protected]>"
```
_See code: [src/commands/code/new.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/code/new.ts)_
## `terrain code:store CONTRACT`
Store code on chain.
```
USAGE
$ terrain code:store [CONTRACT] --signer <value> [--no-rebuild] [--network <value>] [--config-path <value>]
[--refs-path <value>] [--keys-path <value>] [--code-id <value>]
FLAGS
--code-id=<value>
--config-path=<value> [default: ./config.terrain.json]
--keys-path=<value> [default: ./keys.terrain.js]
--network=<value> [default: localterra]
--no-rebuild
--refs-path=<value> [default: ./refs.terrain.json]
--signer=<value> (required)
DESCRIPTION
Store code on chain.
```
_See code: [src/commands/code/store.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/code/store.ts)_
=======
>>>>>>> aed8534 (feat: merge 'code' and 'contract' (#72))
## `terrain console`
Start a repl console that provides context and convinient utilities to interact with the blockchain and your contracts.
Expand All @@ -513,7 +460,7 @@ DESCRIPTION
contracts.
```
_See code: [src/commands/console.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/console.ts)_
_See code: [src/commands/console.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/console.ts)_
## `terrain contract:instantiate CONTRACT`
Expand All @@ -538,7 +485,7 @@ DESCRIPTION
Instantiate the contract.
```
_See code: [src/commands/contract/instantiate.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/contract/instantiate.ts)_
_See code: [src/commands/contract/instantiate.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/contract/instantiate.ts)_
## `terrain contract:migrate [CONTRACT]`
Expand All @@ -565,7 +512,7 @@ DESCRIPTION
Migrate the contract.
```
_See code: [src/commands/contract/migrate.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/contract/migrate.ts)_
_See code: [src/commands/contract/migrate.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/contract/migrate.ts)_
## `terrain contract:new NAME`
Expand All @@ -591,7 +538,7 @@ EXAMPLES
$ terrain code:new awesome_contract --path path/to/dapp --authors "ExampleAuthor<[email protected]>"
```
_See code: [src/commands/contract/new.ts](https://github.com/terra-money/terrain/blob/v0.2.0/src/commands/contract/new.ts)_
_See code: [src/commands/contract/new.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/contract/new.ts)_
## `terrain contract:store CONTRACT`
Expand All @@ -615,7 +562,7 @@ DESCRIPTION
Store code on chain.
```
_See code: [src/commands/contract/store.ts](https://github.com/terra-money/terrain/blob/v0.2.0/src/commands/contract/store.ts)_
_See code: [src/commands/contract/store.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/contract/store.ts)_
## `terrain contract:updateAdmin CONTRACT ADMIN`
Expand All @@ -638,7 +585,7 @@ DESCRIPTION
Update the admin of a contract.
```
_See code: [src/commands/contract/updateAdmin.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/contract/updateAdmin.ts)_
_See code: [src/commands/contract/updateAdmin.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/contract/updateAdmin.ts)_
## `terrain deploy CONTRACT`
Expand Down Expand Up @@ -668,7 +615,7 @@ DESCRIPTION
Build wasm bytecode, store code on chain and instantiate.
```
_See code: [src/commands/deploy.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/deploy.ts)_
_See code: [src/commands/deploy.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/deploy.ts)_
## `terrain help [COMMAND]`
Expand All @@ -692,7 +639,7 @@ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.1
## `terrain new NAME`
Create new dapp from a template.
Create new dapp from template.
```
USAGE
Expand All @@ -705,24 +652,22 @@ FLAGS
better wallet-provider support but less streamlined contract integration.
<options: react|vue|svelte|next|vite|lit>
--path=<value> [default: .] Path to create the workspace
--version=<value> [default: 0.16]
--version=<value> [default: 1.0]
DESCRIPTION
Create new dapp from a template.
Create new dapp from template.
EXAMPLES
$ terrain new awesome-dapp
$ terrain new --framework vue awesome-dapp
$ terrain new awesome-dapp --path path/to/dapp
$ terrain new awesome-dapp --path path/to/dapp --authors "ExampleAuthor<[email protected]>"
$ terrain new awesome-dapp --path path/to/dapp --framework vue --authors "ExampleAuthor<[email protected]>"
```
_See code: [src/commands/new.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/new.ts)_
_See code: [src/commands/new.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/new.ts)_
## `terrain sync-refs [FILE]`
Expand All @@ -740,7 +685,7 @@ DESCRIPTION
Sync configuration with frontend app.
```
_See code: [src/commands/sync-refs.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/sync-refs.ts)_
_See code: [src/commands/sync-refs.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/sync-refs.ts)_
## `terrain task:new [TASK]`
Expand All @@ -754,7 +699,7 @@ DESCRIPTION
create new task
```
_See code: [src/commands/task/new.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/task/new.ts)_
_See code: [src/commands/task/new.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/task/new.ts)_
## `terrain task:run [TASK]`
Expand All @@ -775,7 +720,7 @@ DESCRIPTION
run predefined task
```
_See code: [src/commands/task/run.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/task/run.ts)_
_See code: [src/commands/task/run.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/task/run.ts)_
## `terrain test CONTRACT-NAME`
Expand All @@ -797,7 +742,7 @@ EXAMPLES
$ terrain test counter --no-fail-fast
```
_See code: [src/commands/test.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/test.ts)_
_See code: [src/commands/test.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/test.ts)_
## `terrain wallet:new`
Expand All @@ -815,5 +760,5 @@ DESCRIPTION
Generate a new wallet.
```
_See code: [src/commands/wallet/new.ts](https://github.com/terra-money/terrain/blob/v0.3.0/src/commands/wallet/new.ts)_
_See code: [src/commands/wallet/new.ts](https://github.com/terra-money/terrain/blob/v0.3.1/src/commands/wallet/new.ts)_
<!-- commandsstop -->
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@terra-money/terrain",
"description": "Terra development environment",
"version": "0.3.0",
"version": "0.3.1",
"__comment": "^ update template package.json to the same version when publish",
"author": "Supanat Potiwarakorn @iboss-ptk",
"bugs": "https://github.com/terra-money/terrain/issues",
Expand Down

0 comments on commit 12f8d70

Please sign in to comment.