Skip to content

wirapratamaz/XRC-Canister

Repository files navigation

XRC Canister for Exchange Rate

XRC canister

Installation

Note that dfx and npm need to be installed first.

Clone the repository, get the node dependencies, and build the canisters.

cd XRC-Canister/
npm install
dfx build --network ic

Deployment

If you want to test the demo locally, you can use the following commands:

# Starts the replica, running in the background.
dfx start --background

# Deploys the canisters to the replica and generates the candid interface.
dfx deploy

Note that the replica is defined as running as part of a system subnet in dfx.json, which is required because the exchange rate canister itself must run on a system subnet as it does not attach cycles to HTTPS outcalls.

Open the link for the xrc_demo to get to the Candid interface.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published