Skip to content

dexter-zone/dexter_simulations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dexter Simulations

This repo contains helper scripts for testing the Dexter protocol on Persistence Network. Scripts are still a work in progress and are executed in an ad-hoc manner.

  1. Create virtual environment
pip install virtualenv
python3 -m venv env
  1. Install packages.
pip install cosmos_SDK

To work with persistence devnet, you need to add the following chain id config within the cosmos_SDK package,

- Navigate to /env/lib../cosmos_sdk/client/lcd/lcdclient.py and add the following config to the `get_default` function

    ```
    if chain_id == "persistencecore":    # PERSISTENCE DEVNET
        return [Coins.from_str("0.15uxprt"), Numeric.parse(1.75)]
    ```
  1. Execute testing scripts (ad-hoc)

    cd testnet_simulation
    
    python3 main.py
    

    Or, to clear the console each time, run:

    make
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages