solana-axelar-operators

Crates.iosolana-axelar-operators
lib.rssolana-axelar-operators
version0.1.8
created_at2025-11-19 02:30:50.002104+00
updated_at2026-01-08 18:42:53.912694+00
descriptionAxelar Operators Anchor program for Solana
homepagehttps://github.com/axelarnetwork/axelar-amplifier-solana
repositoryhttps://github.com/axelarnetwork/axelar-amplifier-solana
max_upload_size
id1939339
size133,926
Interop Labs CI (interoplabs-ci)

documentation

README

Axelar Solana Operators

Contract id

Contract id is set to default value in ./src/lib.rs as shown in here:

solana_program::declare_id!("opr1111111111111111111111111111111111111111");

Currently, id values can be changed for stagenet or devnet. To apply it, pre-compilation script ./build.rs is invoked before compilation and id update in ./src/lib.rs is done when environment variable CHAIN_ENV is set in the following way:

CHAIN_ENV=stagenet cargo build-sbf

In case that id needs to be changed for devnet, id value needs to be reset to the default one. Here is an example of reset with versioning system:

git checkout -- .
CHAIN_ENV=devnet cargo build-sbf
Commit count: 854

cargo fmt