Setup Axelard

chmod +x axelard-darwin-amd64
mv axelard-darwin-amd64 /usr/local/bin/axelard

You might get macOS cannot verify that this app is free from malware. on Mac. For that in the "Security & Privacy" settings, you should see a message at the bottom of the window related to blocking the axelard binary. There will be an option to "Allow Anyway." Click this button.

You might ran into this error running axelard:

axelard
dyld[14765]: Library not loaded: @rpath/libwasmvm.dylib
  Referenced from: <4B2A61EA-F957-385A-E2C1-47AEF7C378C8> /usr/local/bin/axelard
  Reason: tried: '/Users/runner/go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.3.1/internal/api/libwasmvm.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.3.1/internal/api/libwasmvm.dylib' (no such file), '/Users/runner/go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.3.1/internal/api/libwasmvm.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.3.1/internal/api/libwasmvm.dylib' (no such file)

To resolve this error, first ensure that libwasmvm.dylib actually exists on your system and locate it. You can use the find command in the terminal to search for it:

find / -name libwasmvm.dylib 2>/dev/null

If you find libwasmvm.dylib, you need to specify its path so that axelard can find it by:

export DYLD_LIBRARY_PATH=/path/to/libwasmvm:$DYLD_LIBRARY_PATH

After this, if you run axelard, hopefully it will work fine.

Register Agoric Local Chain

axelard tx axelarnet add-cosmos-based-chain agoriclocal agoric channel-0 --from alice --gas auto --gas-adjustment 1.5 --gas-prices 0.05uwk --node http://devnet-amplifier.axelar.dev:26657 --chain-id devnet-amplifier

Activate Agoric Local Chain

axelard tx nexus activate-chain agoriclocal --from alice --gas auto --gas-adjustment 1.5 --gas-prices 0.05uwk --node http://devnet-amplifier.axelar.dev:26657 --chain-id devnet-amplifier

Register Agoric Asset

axelard tx axelarnet register-asset agoriclocal uausdc --from alice --gas auto --gas-adjustment 1.5 --gas-prices 0.05uwk --node http://devnet-amplifier.axelar.dev:26657 --chain-id devnet-amplifier

Resources