Skip to content

febo/p-token-migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

p-token migration simulator

Simple CLI to simulate p-token feature activation while receiving transactions. The program upgrade mechanism is defined in Agave PR #7125.

Overview

The simulation consists of starting a test validator running SPL Token and 10 "clients" submitting transfer transactions. After 10 seconds, the feature is activated and the token program is upgraded to p-token. At the upgrade point, some transactions are expected to fail since the program is in DelayVisibility mode for one slot but should quickly resume.

How to use the CLI

First, build all necessary components:

make build

This will build the CLI, p-token and activator programs. After that, to start the simulation use:

make run

Resources

About

Simple CLI to simulate p-token feature activation while receiving transactions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published