@dea-sg/layerzero
Advanced tools
Comparing version 1.0.3 to 1.1.0
{ | ||
"name": "@dea-sg/layerzero", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "layer zero modules", | ||
@@ -34,3 +34,3 @@ "main": "index.js", | ||
"@types/mocha": "9.1.1", | ||
"@types/node": "16.11.29", | ||
"@types/node": "16.11.31", | ||
"@typescript-eslint/eslint-plugin": "5.21.0", | ||
@@ -40,3 +40,3 @@ "@typescript-eslint/parser": "5.21.0", | ||
"@typechain/ethers-v5": "10.0.0", | ||
"solhint": "3.3.6", | ||
"solhint": "3.3.7", | ||
"typechain": "8.0.0", | ||
@@ -61,5 +61,5 @@ "chai": "4.3.6", | ||
"dependencies": { | ||
"@openzeppelin/contracts": "4.5.0", | ||
"@openzeppelin/contracts": "4.6.0", | ||
"@openzeppelin/contracts-upgradeable": "4.5.2" | ||
} | ||
} |
@@ -31,2 +31,16 @@ # Layer Zero base contract | ||
## 準備 | ||
### initialize | ||
デプロイしたあと、各コントラクトの initialize をしてください。 | ||
name と symbol は任意のものを、endpoint は[チェーンにあったアドレス](https://layerzero.gitbook.io/docs/technical-reference/testnet/testnet-addresses)を設定してください。 | ||
例えば Rinkeby の場合は 0x79a63d6d8BBD5c6dfc774dA79bCcD948EAcb53FA となります。 | ||
### setTrustedRemote | ||
setTrustedRemote 関数を実行してください。この関数は信用できる通信相手の設定をするための関数です。 | ||
例えば、Ethereum rinkeby や Polygon mumbai にデプロイした場合、rinkeby にデプロイしたコントラクトの setTrustedRemote は mumbai のチェーン ID と mumbai にデプロイしたコントラクトのアドレスを設定します。mumbai にデプロイしたコントラクトの setTrustedRemote には rinkeby のチェーン ID と rinkeby にデプロイしたコントラクトのアドレスを設定します。 | ||
rinkeby のチェーン ID は 10001 で、mumbai のチェーン ID は 10009 です。 | ||
## 動かし方 | ||
@@ -33,0 +47,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47568
13
65
+ Added@openzeppelin/contracts@4.6.0(transitive)
- Removed@openzeppelin/contracts@4.5.0(transitive)