Skip to content

Commit 2f4e8d4

Browse files
Eduardo W. da CunhaSt0rmBr3wshankars99
authored
INT-136: Added OmniCall example (#1318)
Signed-off-by: shankar <shankar@layerzerolabs.org> Co-authored-by: Matthew Krak <krak@layerzerolabs.org> Co-authored-by: shankar <shankar@layerzerolabs.org>
1 parent c0b0636 commit 2f4e8d4

34 files changed

Lines changed: 11505 additions & 81 deletions
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@layerzerolabs/omni-call-example": patch
3+
---
4+
5+
Adding OmniCall example

.changeset/popular-actors-watch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"create-lz-oapp": patch
3+
---
4+
5+
Adding OmniCall example

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@ dist
3232
.netrc
3333

3434
# Cache
35-
.cache
35+
.cache
36+
.env

examples/omni-call/.env.example

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.-
2+
# / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \
3+
# `-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-'
4+
#
5+
# Example environment configuration
6+
#
7+
# .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. .-.-
8+
# / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \
9+
# `-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-' `-`-'
10+
11+
# By default, the examples support both mnemonic-based and private key-based authentication
12+
#
13+
# You don't need to set both of these values, just pick the one that you prefer and set that one
14+
MNEMONIC=
15+
PRIVATE_KEY=

examples/omni-call/.eslintignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
artifacts
2+
cache
3+
dist
4+
node_modules
5+
out
6+
*.log
7+
*.sol
8+
*.yaml
9+
*.lock
10+
package-lock.json

examples/omni-call/.eslintrc.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
require('@rushstack/eslint-patch/modern-module-resolution');
2+
3+
module.exports = {
4+
extends: ['@layerzerolabs/eslint-config-next/recommended'],
5+
rules: {
6+
// @layerzerolabs/eslint-config-next defines rules for turborepo-based projects
7+
// that are not relevant for this particular project
8+
'turbo/no-undeclared-env-vars': 'off',
9+
},
10+
};

examples/omni-call/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
node_modules
2+
.env
3+
coverage
4+
coverage.json
5+
typechain
6+
typechain-types
7+
8+
# Hardhat files
9+
cache
10+
artifacts
11+
12+
# LayerZero specific files
13+
.layerzero
14+
15+
# foundry test compilation files
16+
out
17+
18+
# pnpm
19+
pnpm-error.log
20+
21+
# Editor and OS files
22+
.DS_Store
23+
.idea
24+

examples/omni-call/.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v18.18.0

examples/omni-call/.prettierignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
artifacts/
2+
cache/
3+
dist/
4+
node_modules/
5+
out/
6+
*.log
7+
*ignore
8+
*.yaml
9+
*.lock
10+
package-lock.json

examples/omni-call/.prettierrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
...require('@layerzerolabs/prettier-config-next'),
3+
};

0 commit comments

Comments
 (0)