Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🗞️ Add Aptos CLI example directories and stubs #1080

Open
wants to merge 153 commits into
base: main
Choose a base branch
from

Conversation

ryandgoulding
Copy link
Contributor

@ryandgoulding ryandgoulding commented Nov 25, 2024

In this PR:

  • added stubs for all relevant aptos-examples, including adding them to create-lz-oapp under the flag LZ_ENABLE_EXPERIMENTAL_APTOS_EXAMPLES:
// ./packages/create-lz-oapp/src/config.ts
...(process.env.LZ_ENABLE_EXPERIMENTAL_APTOS_EXAMPLES
            ? [
                  {
                      id: 'oft-aptos',
                      label: 'OFT (Aptos Fungible Asset)',
                      repository,
                      directory: 'examples/oft-aptos',
                      ref,
                  },
                  {
                      id: 'oft-adapter-aptos',
                      label: 'OFT Adapter (Aptos Fungible Asset)',
                      repository,
                      directory: 'examples/oft-adapter-aptos',
                      ref,
                  },
                  {
                      id: 'oft-adapter-aptos-coin',
                      label: 'OFT Adapter (Aptos Coin)',
                      repository,
                      directory: 'examples/oft-adapter-aptos-coin',
                      ref,
                  },
                  {
                      id: 'oft-aptos-coin',
                      label: 'OFT (Aptos Coin)',
                      repository,
                      directory: 'examples/oft-aptos-coin',
                      ref,
                  },
              ]
            : []),

This PR should be used for shipping the final version of the Aptos CLI SDK.

To-Do:

Copy link

socket-security bot commented Nov 25, 2024

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Unpopular package npm/@layerzerolabs/test-devtools-evm-foundry@5.1.0 ⚠︎
Unpopular package npm/@layerzerolabs/lz-movevm-sdk-v2@3.0.41 ⚠︎
Unpopular package npm/@layerzerolabs/move-definitions@3.0.41 ⚠︎
Unpopular package npm/@layerzerolabs/lz-config-types@3.0.41 ⚠︎

View full report↗︎

Next steps

What are unpopular packages?

This package is not very popular.

Unpopular packages may have less maintenance and contain other problems.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/@layerzerolabs/test-devtools-evm-foundry@5.1.0
  • @SocketSecurity ignore npm/@layerzerolabs/lz-movevm-sdk-v2@3.0.41
  • @SocketSecurity ignore npm/@layerzerolabs/move-definitions@3.0.41
  • @SocketSecurity ignore npm/@layerzerolabs/lz-config-types@3.0.41

@St0rmBr3w St0rmBr3w mentioned this pull request Dec 10, 2024
@St0rmBr3w St0rmBr3w force-pushed the goulding/krak/aptops-v2-examples branch from b389051 to 0055df2 Compare December 10, 2024 21:38
@St0rmBr3w St0rmBr3w changed the title Goulding/krak/aptops v2 examples 🗞️ Add Aptos CLI example directories and stubs Dec 10, 2024
Copy link

socket-security bot commented Dec 11, 2024

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@aptos-labs/ts-sdk@1.33.1 network Transitive: environment, filesystem +50 11.6 MB aptos-labs
npm/@layerzerolabs/lz-config-types@3.0.41 None +1 108 kB layerzero-bot
npm/@layerzerolabs/lz-definitions@3.0.41 🔁 npm/@layerzerolabs/lz-definitions@3.0.27, npm/@layerzerolabs/lz-definitions@3.0.38 None +1 1.03 MB layerzero-bot
npm/@layerzerolabs/lz-evm-sdk-v2@3.0.41 None +1 159 MB layerzero-bot
npm/@layerzerolabs/lz-movevm-sdk-v2@3.0.41 Transitive: environment, eval, filesystem, network +140 61.8 MB layerzero-bot
npm/@layerzerolabs/lz-serdes@3.0.41 🔁 npm/@layerzerolabs/lz-serdes@3.0.38 None 0 164 kB layerzero-bot
npm/@layerzerolabs/lz-ton-sdk-v2@3.0.41 🔁 npm/@layerzerolabs/lz-ton-sdk-v2@3.0.27 Transitive: environment, filesystem +5 4.84 MB layerzero-bot
npm/@layerzerolabs/lz-v2-utilities@3.0.41 🔁 npm/@layerzerolabs/lz-v2-utilities@3.0.38 None +12 763 kB layerzero-bot
npm/@layerzerolabs/move-definitions@3.0.41 None 0 24.9 kB layerzero-bot
npm/@layerzerolabs/oft-v2-solana-sdk@3.0.41 🔁 npm/@layerzerolabs/oft-v2-solana-sdk@3.0.38 Transitive: environment, eval, filesystem, network, shell, unsafe +221 85.9 MB layerzero-bot
npm/@layerzerolabs/test-devtools-evm-foundry@5.1.0 None 0 1.29 MB layerzero-bot
npm/@types/argparse@2.0.17 None 0 8.22 kB types
npm/depcheck@1.4.7 filesystem, unsafe Transitive: environment, eval +130 21.3 MB rumpl
npm/dotenv@16.4.7 environment, filesystem 0 75.8 kB motdotla
npm/install@0.13.0 None 0 30.5 kB benjamn
npm/ts-jest@29.2.5 environment, filesystem, unsafe Transitive: eval, network, shell +30 3.03 MB kul
npm/yaml@2.7.0 None 0 681 kB eemeli

View full report↗︎

…ntID enum key but as number - expected behavior

Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
@DanL0 DanL0 mentioned this pull request Jan 13, 2025
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
@shankars99 shankars99 force-pushed the goulding/krak/aptops-v2-examples branch from 05b752c to 5234993 Compare January 13, 2025 15:27
shankars99 and others added 23 commits January 13, 2025 16:38
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
…instead of faucet in deploy

Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: shankar <shankar@layerzerolabs.org>
Signed-off-by: Ryan Goulding <goulding@layerzerolabs.org>
Signed-off-by: Ryan Goulding <goulding@layerzerolabs.org>
Signed-off-by: Ryan Goulding <goulding@layerzerolabs.org>
Signed-off-by: Ryan Goulding <goulding@layerzerolabs.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants