Git Product home page Git Product logo

layerzero-aptos-contract's People

Contributors

carmenjiawenc avatar hansonyip avatar lawsongraham avatar mok-lz avatar zouguangxian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

layerzero-aptos-contract's Issues

error in set_remote_coin

i have a doubt in function bridge::set_remote_coin
how to pass the payload for remote_coin_addr properly
i believe we are providing incorrect payload. We are trying to provide the correct payload for remote coin bsc address 0x70Fec95ef966aE4Eab9E3BA9c6389fbDf30F3c4a
we have tried giving remote_coin_addr as 0x00000000000000000000000070Fec95ef966aE4Eab9E3BA9c6389fbDf30F3c4a
also given in the screenshot getting error

How to convert this value to required one in the payload ?
Screenshot from 2024-07-26 13-20-26

Fix bugs when running test:

Fix bugs when running test:

Npm package "@layerzerolabs/core-sdk" doesn't exit, replace it with "@layerzerolabs/lz-sdk".
Update the revision of aptos framework from "895ae28e4a105430d8b9d2ce2f6e48c3b2c7fcf0" to "2a332586aa4ec6b6eb5372b43e6b13d40061c6a5".
Fix typo: export * from "./deployLayerZero".
Other compiling error

compile error with aptos 1.0.6

error: entry function cannot return values
┌─ /home/ubuntu/LayerZero-Aptos-Contract/apps/counter/sources/counter.move:71:5

71 │ ╭ public entry fun lz_receive_types(_src_chain_id: u64, _src_address: vector, _payload: vector) : vector<type_info::TypeInfo> {
72 │ │ vector::empty<type_info::TypeInfo>()
73 │ │ }
│ ╰─────^

{
"Error": "Move compilation failed: extended checks failed"
}

Deploy counter.move documentation

Hello,

I'm trying to deploying the counter.move contract in testnet.

I followed the readme process to prepare the environment and everything works.

git submodule init
git submodule update --recursive
cargo install --path deps/aptos-core/crates/aptos
make test

When I try to publish counter.move with this command

aptos move publish --package-dir apps/counter --named-addresses counter=default,zro=default,msglib_v1_1=default,msglib_auth=default,layerzero_common=default,msglib_v2=default,executor_auth=default,executor_v2=default,layerzero=default

OUTPUT

package size 4303 bytes
{
  "Error": "Simulation failed with status: Move abort in 0x1::code: EPACKAGE_DEP_MISSING(0x60005): Dependency could not be resolved to any published package."
}

Which would be the correct command to deploy it?

Move.counter increment EVM counter

I reported in this issue the documentation to publish counter.move contract.

What would be the procedure for incrementing the counter on an EVM chain from counter.move?

In the case of two EVM chains, the setTrustedRemote repository can be used to authorize communication between the two chains. I tried, but it doesn't seem to work due to a different address. In this case, what should be done?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.