solana-axelar-its

Crates.iosolana-axelar-its
lib.rssolana-axelar-its
version0.1.8
created_at2025-11-25 18:03:28.201574+00
updated_at2026-01-08 20:09:11.044616+00
descriptionAxelar Interchain Token Service (ITS) Anchor program for Solana
homepagehttps://github.com/axelarnetwork/axelar-amplifier-solana
repositoryhttps://github.com/axelarnetwork/axelar-amplifier-solana
max_upload_size
id1950201
size1,485,512
Interop Labs CI (interoplabs-ci)

documentation

README

Interchain Token Service (ITS)

Contract id

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

solana_program::declare_id!("its1111111111111111111111111111111111111111");

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