Open anandcsingh opened 1 year ago
type DashboardState = {
martialArtsLoaded: boolean,
martialArts: Array
let [state, setState] = useState
martialArtsLoaded: false,
martialArts: [],
});
<img width="589" alt="image" src="https://github.com/anandcsingh/rankproof/assets/4129994/9c67d001-567d-409a-861b-12976352cb1e">
How do I deploy smart contracts that do not inherit from SmartContract directly?
The code in the zkapp-cli looks specifically for classes that inherit from SmartContract You could probably walk up the tree
Compilation for simple contracts takes to long Up to 2 mins for simple contracts
How do I develop the web app using the local Blockchain to speed up development?
Interacting with multiple contracts from the same web app was problematic first contract was loaded second contract failed to send/get data stating zkapp could not be found, call fetchAccount but that did not work
Sending multiple transactions one after the other fails with the following error message. The transactions were in a loop that do not change state
Error: Failed to send transaction {
statusCode: 200,
statusText: `Couldn't send zkApp command: ["Insufficient_replace_fee"]`
}
Calling fetchAccount from the zkApp UI with larger contract takes very long Impractical AllMartialArtsEvents
My contract takes 4 + mins to comiple that is not the end version The end version throws an exception trying to compile or deploy cant recall ATM
Office hours eluded me,
The documentation search not working https://docs.minaprotocol.com/zkapps/how-to-write-a-zkapp-ui
Maybe it is now
Fetching again taking too long, guess it is just the first time it is loaded in the browser, but devs need to know that to expect it otherwise they may go down some rabbit holes
Tried pass around the smart contract function so that it could be invoked dynamically Call bjj vs judo based on condition Got a null exception I believe when executing the transaction