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

Create onft example test file #881

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

Conversation

cardene777
Copy link

ts test file for hardhat environment.
It is based on the following OFT test file.
https://docs.layerzero.network/v2/developers/evm/oft/quickstart

ts test file for hardhat environment.
It is based on the following OFT test file.
https://docs.layerzero.network/v2/developers/evm/oft/quickstart
onftCmd: [],
}

const msgFee = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can't pass arbitrary message value such as 0.1 for nativeFee, instead please use quoteSend: https://github.com/LayerZero-Labs/devtools/blob/main/packages/onft-evm/contracts/onft721/ONFT721Core.sol#L65

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants