factcircuit
FactCircuit: an auditable claim-and-evidence verification loop with immutable provenance, staged checks, bounded retrieval, and reproducible evaluation.
Explore the Koinos blockchain - transactions, blocks, accounts, and smart contracts
DataTypeScript · CSSGitHub @Armana-groupOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
Now let's bootstrap the frontend to interact with the contract. First run the following command to update the constants and ABI in the frontend:
to interact with the contract in mainnet run:
Open http://localhost:3000 with your browser to see the result.
Go back to the code and take a special look to the folder packages/website/src/koinos. Over there you will find the following files:Read the full README ↗Now let's bootstrap the frontend to interact with the contract. First run the following command to update the constants and ABI in the frontend:
yarn updateFrontend
to interact with the contract in mainnet run:
yarn updateFrontend mainnet
Now, run the development server:
yarn dev
Open http://localhost:3000 with your browser to see the result.
Go back to the code and take a special look to the folder packages/website/src/koinos. Over there you will find the following files:
constants.ts: Definition of constants like contract id and rpc node. Here is also the configuration for wallet connect.abi.ts: ABI of your contract.contract.ts: Creation of the contract class to be able to interact with the blockchain. It contains the code to read data and submit transactions.wallet.ts: The submission of transactions require a signer. This file provides the code to get the signer from the principal wallets in koinos.You can also bootstrap the frontend for any contract deployed on the blockchain by referencing its contract id. The script will download the ABI and configure the website for it.
Here is an example to load the KOIN contract on harbinger:
yarn updateFrontend harbinger 1FaSvLjQJsCJKq5ybmGsMMQs8RQYyVv8ju
And for mainnet:
yarn updateFrontend mainnet 15DJN4a8SgrbGhhGksSBASiSYjGnMU8dGL
then launch the website:
yarn dev