solana-axelar-gas-service

Crates.iosolana-axelar-gas-service
lib.rssolana-axelar-gas-service
version0.1.8
created_at2025-11-19 03:53:00.315562+00
updated_at2026-01-08 18:43:14.351124+00
descriptionAxelar Gas Service Anchor program for Solana
homepagehttps://github.com/axelarnetwork/axelar-amplifier-solana
repositoryhttps://github.com/axelarnetwork/axelar-amplifier-solana
max_upload_size
id1939381
size158,278
Interop Labs CI (interoplabs-ci)

documentation

README

Gas Service

Contract id

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

solana_program::declare_id!("gas1111111111111111111111111111111111111111");

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