Skip to content

Commit

Permalink
Merge pull request #67 from neo-project/dev
Browse files Browse the repository at this point in the history
master < dev
  • Loading branch information
apisit authored May 26, 2023
2 parents 634484e + 0c62aea commit c22a1b0
Show file tree
Hide file tree
Showing 11 changed files with 152 additions and 338 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# IDE
.idea
2 changes: 0 additions & 2 deletions docs/n3/neons/api/roots.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ curl --request POST \
"jsonrpc": "2.0",
"method": "invokefunction",
"params": [ "0x152fa9ceeb2c83f40e3d3d6da6c1f8898dd4891a", "roots",
[],
[]
],
"id": 1
}
Expand Down
468 changes: 142 additions & 326 deletions tutorials/2021-06-26-dapp-wallet-integration-with-walletconnect/index.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sidebar: true

<div align="center" style={{ padding: '0% 25% 0% 25%' }}>
<img src="/tooling/neow3j.png" alt="neow3j" width="75%" style={{ padding: '0% 0% 5% 0%' }}/>
<h1> <a href="https://github.com/neow3j/neow3j">neow3j</a> <sub><small>v3.19.3</small></sub></h1>
<h1> <a href="https://github.com/neow3j/neow3j">neow3j</a> <sub><small>v3.20.0</small></sub></h1>
</div>

Neow3j is a development toolkit that provides easy and reliable tools to build Neo dApps and Smart Contracts using the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sidebar: true

<div align="center" style={{ padding: '0% 25% 0% 25%' }}>
<img src="/tooling/neow3j.png" alt="neow3j" width="75%" style={{ padding: '0% 0% 5% 0%' }}/>
<h1> <a href="https://github.com/neow3j/neow3j">neow3j</a> <sub><small>v3.19.3</small></sub></h1>
<h1> <a href="https://github.com/neow3j/neow3j">neow3j</a> <sub><small>v3.20.0</small></sub></h1>
</div>

Neow3j is a development toolkit that provides easy and reliable tools to build Neo dApps and Smart Contracts using the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sidebar: true

<div align="center" style={{ padding: '0% 25% 0% 25%' }}>
<img src="/tooling/neow3j.png" alt="neow3j" width="75%" style={{ padding: '0% 0% 5% 0%' }}/>
<h1> <a href="https://github.com/neow3j/neow3j">neow3j</a> <sub><small>v3.19.3</small></sub></h1>
<h1> <a href="https://github.com/neow3j/neow3j">neow3j</a> <sub><small>v3.20.0</small></sub></h1>
</div>

## 1. Introduction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sidebar: true

<div align="center" style={{ padding: '0% 25% 0% 25%' }}>
<img src="/tooling/neow3j.png" alt="neow3j" width="75%" style={{ padding: '0% 0% 5% 0%' }}/>
<h1> <a href="https://github.com/neow3j/neow3j">neow3j</a> <sub><small>v3.19.3</small></sub></h1>
<h1> <a href="https://github.com/neow3j/neow3j">neow3j</a> <sub><small>v3.20.0</small></sub></h1>
</div>

## 1. Introduction
Expand Down Expand Up @@ -95,14 +95,11 @@ contract and want to compile your contract in the same code.
You will find an example for the compiler usage `com.axlabs.helloworld.Deployment` in the boilerplate project.

```java
CompilationUnit res = new Compiler().compile(
HelloWorldSmartContract.class.getCanonicalName(),
substitutions);
CompilationUnit res = new Compiler().compile(HelloWorldSmartContract.class.getCanonicalName());
```

The name of the contract to compile as well as a map of placeholder substitutions is passed to the compiler. The
compilation result is a `CompilationUnit` which gives access to the NEF file and the contract manifest. They are used to
call the `ContractManagement` contract - a contract that is native to the Neo blockchain.
The compilation result is a `CompilationUnit` which gives access to the NEF file and the contract manifest. They are
used to call the `ContractManagement` contract - a contract that is native to the Neo blockchain.

```java
TransactionBuilder builder = new ContractManagement(neow3j)
Expand Down

0 comments on commit c22a1b0

Please sign in to comment.