Skip to content

Send data, external function calls, multithreaded messages, and tokens across any virtual machine while maintaining full autonomy over applications and contracts.

License

Notifications You must be signed in to change notification settings

enzoxic/Photon-evm-contracts

Repository files navigation

Entangle

Photon

Cross-chain messaging protocol

Docs

Photon Messaging is an omnichain protocol that facilitates secure and efficient cross-chain communication for both EVM and non-EVM blockchains. It enables developers to send customized messages across diverse blockchain networks, supporting seamless asset transfers and operations.

Table of Contents

Build and Install

Building the project

To compile the project contracts use:

yarn && yarn build

Components

  • Operational flow of sending decentralized blockchain operations goes through an intricate network of smart contracts such as Endpoint system
  • Photon Agent network is a Delegated Proof of Stake (DPoS) distributed architecture with off-chain machines
  • Photon Executors are backend programs tasked with retrieving and executing approved operations from various blockchains
  • Photon Data Streamer is part of the Photon infrastructure, optimized for real-time data transmission to enable immediate processing and analysis
  • Universal Data Feeds is part of the Photon infrastructure created for collection, processing and distributing data of any format between different blockchains. See UDF repositories here

Protocol Contracts & Deployments

Photon contract deployments (both testnet & mainnet), contracts themselves and script utilies for integration can be found in SDK. Install it with:

yarn add "@entangle_protocol/oracle-sdk"

Refer to the Photon Messaging Docs for building and integrating into Photon

Integrate

If you want to build on Photon or to be a part of any protocol, refer to our integration guides:

Testing

Local testing

To test Photon, some dependecies should be installed. Run:

yarn && yarn build && yarn test

for both installation and testing. Or just:

yarn test

in case you've already run build commands.

Testnet & mainnet testing

For testing on testnet or mainnet see deployments and use these contract addresses for cross-chain communication of your protocol.

If you want to test your project with one of protocols already connected to Photon or build on top of it - please refer to documentation of this particular protocol.

Audits

Audits related to Photon:

License

This project is licensed under the MIT License (License was changed from BSL 1.1)

About

Send data, external function calls, multithreaded messages, and tokens across any virtual machine while maintaining full autonomy over applications and contracts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published