Skip to content

Commit

Permalink
Merge pull request #84 from chenzhitong/patch-2
Browse files Browse the repository at this point in the history
Update update.md
  • Loading branch information
Celia18305 authored Nov 21, 2023
2 parents 0987451 + 50bcf27 commit f605b87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/n3/develop/write/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ If you want to update the contract later, you must implement the `update` method
### Updating the contract
1. Get the compiled NEF file and Manifest file of the new contract ready

2. Base64-encode the NEF file with the tool like [File to Base64 online](https://www.hitoy.org/tool/file_base64.php)
2. Base64-encode the NEF file with the tool like [File to Base64 online](https://base64.guru/converter/encode/file)

3. Compress and escape the Manifest file with the tool like [JSON compressed and escaped online](http://www.bejson.com/zhuanyi/)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static void Update(ByteString nefFile, string manifest)

1. 准备好新合约编译后的 NEF 文件和 Manifest 文件

2. 获得 Base64 格式的 NEF,可使用 [文件在线转 Base64](https://www.hitoy.org/tool/file_base64.php)
2. 获得 Base64 格式的 NEF,可使用 [文件在线转 Base64](https://base64.guru/converter/encode/file)

3. 获得压缩转义的 Manifest,可使用 [JSON在线压缩转义](http://www.bejson.com/zhuanyi/)

Expand Down

0 comments on commit f605b87

Please sign in to comment.