Skip to content

PanoraExchange/Panora-Contract-Integration-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Panora Swap Integration

This repository contains a sample contract for integrating with Panora.

Overview

The demo.move file demonstrates how to interact with the Panora Swap module to perform token swaps, supporting both coin and fungible asset (FA) standards.

Configuration

Before compiling and publishing the contract, you need to set your contract address in the Move.toml file in the root directory.

Open the Move.toml file and replace "YOUR_CONTRACT_ADDRESS" with your actual contract address:

[addresses]
your_contract_address = "YOUR_CONTRACT_ADDRESS"

Initialization

Before publishing the contract, you need to initialize your Aptos project if you haven't done it already.

The following command sets up your Aptos project by creating necessary configuration files.

aptos init

Deploy the Contract

This command deploys your compiled Move contract to the Aptos blockchain.

aptos move publish --move-2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages