Decentralized Mining Pools
  • Main Page
  • Flow diagrams
  • Sandbox BTCDEB
  • Bitcoin version, RPC, explorer
    • Run clarinet integrate with bitcoin regtest v24.0
    • Custom docker image regtest 24.0.1
    • RPC Browser and transactions legacy
  • Block commit
  • Multiple miners interacting in the same network
  • Rust Taproot Transactions
    • Dependencies
  • Smart Contract
    • Overall explanations
    • Election System
      • Add new miner
      • Remove Miner
      • Update Notifier
    • Funds System
  • Front End
    • Overall
    • UI display usecases
    • How to link it to the sc
    • Github Repository
Powered by GitBook
On this page
  1. Front End

How to link it to the sc

All the contracts are linked in the contract.ts [src\consts\contract.ts]

All the data-related functions are converted from Clarity values to typescript values in their defined functions in the src\consts\readOnly.ts file

All the smart contract calls are built-in src\consts\smartContractFunctions.ts where the arguments are converted from typescript values to Clarity values.

PreviousUI display usecases

Last updated 10 months ago