Panther Protocol Documentation
WebsiteBlogTwitterGovernance ForumVoting
  • 📘Start Here
    • Get Started
    • What is Panther?
    • Who is Panther for?
    • Realized vision and use cases
  • 🔩Panther Core
    • Testnet dApp
    • Mainnet Beta (Canary)
    • Panther Transactions
      • Shielded Pool
      • zAssets
      • zAccount
      • zTrade (OTC Trading)
    • Panther Compliance
      • User Reveals
        • History CSV Export
      • Forensic Reveals
  • 🌌Ecosystem
    • Ecosystem roles
      • Compliance Providers
      • Relayer
      • zMiner
        • Get Started
      • Zone Manager
        • Get Started
    • Fees & Rewards
  • ⚙️Interoperability
    • DeFi Adaptors
      • zSwap
        • Economic optimization of swaps
    • Multi-chain
  • 📚LEARN
    • Glossary
    • UTXOs
      • UTXO Model
      • UTXO Cryptography
      • Merkle Trees
    • ⚗️Cryptographic Primitives
      • ZK proofs
      • ZK SNARKs
        • Groth16
      • Homomorphic encryption
      • Hash functions
      • Poseidon
      • Other Privacy Enhancing Technologies (PETs) used by Panther
      • Elliptic curves
      • Pairings
    • 🔓Security Audits
    • 🤝Community
    • 📚Resources
  • Panther DAO
    • DAO and Decentralization
      • Governance Framework
    • Road to decentralization
      • Decentralization Tool
  • Changelog
    • Product versions
    • Oshiya
    • Panther Testnet
      • Stage 0
      • Stage 1
      • Stage 2
      • Stage 3
      • Stage 4
      • Stage 5
      • Stage 6
      • Stage 7
      • Stage 8
      • Mainnet Beta (Canary)
Powered by GitBook
On this page
  • Testing scope
  • How to test
  • Test in app
Export as PDF
  1. Changelog
  2. Panther Testnet

Stage 0

PreviousPanther TestnetNextStage 1

Last updated 9 months ago

For the current dApp, see the . Note that, each stage's entrypoint is deprecated in favor of the next stage.

Status: Complete ()

This testing stage (and activity in production) is directed towards miners, a key role in the Panther ecosystem, as opposed to DeFi users. It started in July 10th, 2023, and is projected to last for two weeks.

To see the original announcement, along with explanations of the components tested, .

Testing scope

Stage 0 launches the Panther Miner, a specialized miner designed to interact with a blockchain network.

Within Panther, Ecosystem Operators run an — code that fetches the pending mining queue. Oshiya then computes updates to the Merkle trees needed to append the UTXOs of the queue to the trees, create a SNARK-proof that proves the correctness of the updates, and submit these updates to be written on-chain together with the proof to smart contracts. As such, the Panther Miner software acts as the “Bus Operator” for the Bus Tree (see on behalf of a user.

In this implementation, the algorithm to reward miners is fairly simple. Eventually, the Panther community may want to implement a more sophisticated algorithm after some initial usage statistics are collected.

How to test

To test at this stage, follow the steps below.

Test in app

  1. Visit the .

  2. Understand the following three variables:

2.1 Interval (in seconds): the designated pause between iterations produced automatically by the miner. You may reduce this down if your system and the RPC provider handles the load, or you may increase this to lengthen the space between iterations.

An iteration includes:

a) Checking the BusTree contract for a queue expecting processing and selecting the most profitable one to process.

b) Generating a ZK proof by processing the chosen queue.

c) Submitting the ZK proof to the blockchain.

2.2 Private Key: the private key of the wallet used to sign batch transactions and receive rewards.

There are two options for this field:

A new public key (address) will be reflected as soon as you start mining. Find it in the “Mining statistics” section.

2.3 RPC URL*: use any RPC you prefer, as long as it’s valid for the Mumbai network.

4. Click the “Start Mining” button to start the process.

5. Check that the “Logs” section is updating.

6. Check that the “Mining Statistics” section is updating.

Please, note:

  • The “Generated Proof” amount can be bigger than “Submitted Proof,” meaning other miners submitted a generated proof earlier than you.

  • “Mining Success” = “Submitted Proof”(s).

  • Your Balance (of MATIC) will decline over time because the miner client generates UTXOs to let you interact with them to test the functionality. Submitting UTXOs incurs a cost.

  1. Check that you’re receiving rewards correctly.

  2. Stop mining. (Note: the miner will finish the ongoing iteration before entirely stopping).

Using a Docker image

  • BusTree: 0x678D34aA4fc546bA806287a8289FfdAA84681a03

  • VPool: 0xCd85e3E918F1A36F939281d3ca707EE262a364c6

  • test DAO multisig: 0xfB474a7FeCDaFBD412ebF0d60A0C32794F82d3dD

  • PantherVerifier: 0xeeAfce13506847a19141A4513718df17383f4f7b

  • PantherPool: 0xfDfD920F2152565E9D7b589e4e9faeE6699AD4bd

  • Vault: 0x9619bd59411a8387a4119e548017C5b86c7bCec5

  • FXPortalBridge: 0x542c2c3e6BBfD5979E5FEC6708764B93Ba210c51

2.2.a Use an existing key, e.g. ; or 2.2.b Generate a new key pair. Click “Generate private key using MetaMask” and get a new private key inserted into the corresponding field. You can (click “Show Private Key” to unveil and copy the data) afterward.

3. Ensure you have a positive balance of MATIC in your wallet to interact with the product. You can visit or to get test MATIC tokens.

For users interested in running the Panther Miner themselves instead of using a browser version, the Dockerized version has the same functionalities and logic outlined above. Here’s the link to the Docker image page: Smart contract details (on Mumbai):

entrypoint
but the docker Panther Miner is still working!
click here
Oshiya node
Shielded Pools
miner test page
exported from your MetaMask
add the new address to your MetaMask
faucet_1
faucet_2
https://hub.docker.com/r/pantherprotocol/miner-client