FAQ
Last updated
Was this helpful?
Last updated
Was this helpful?
Images on this page are clickable and zoomable.
This issue is caused because of skipping step 5, "Set up the compiler config".
Next Steps:
Go back to the
Go to
Redo step
You need to change the configuration file in remix, as well as enable via-ir
to true.
Ensure you complete step 5 (from Quick Start (Remix IDE)) OR copy and paste the following snippet into the textbox below the "Use configuration file" toggle.
smart-contracts/remix-ide/compiler_config.json
The open and accessible ABI Playground from Oasis Network is a wonderful innovation. Sometimes, however, it can experience minor issues, such as the one seen in the image above.
This issue could happen for many reasons, for example:
The Blockchain state might not have changed yet
A lot of users might be interacting with ABI Playground at the same time
The owner of the Token Authority made an error during the deployment
What can you do to solve the problem?
Option 1: You can use a KRNL Sandbox feature to receive the TA public key by putting in the TA address.
Option 2: This option is a little more complex, but you can call your TA directly through other tools, such as Foundry
As this is another ABI Playground Error, you can follow the same two solutions as the previous issue to resolve the problem:
Option 1 - You can use a KRNL Sandbox feature to receive the TA public key by putting in the TA address.
Option 2 - This option is a little more complex, but you can call your TA directly through other tools, such as Foundry.
To solve this error, make sure that you have added the Oasis Sapphire Testnet to your MetaMask, then refresh the page one time.
When making a request from the faucet, please make sure you select Sapphire from the dropdown menu. We are focusing specifically on Oasis Sapphire Testnet, so by selecting any other option, you will encounter errors.
This issue is likely caused by simple mistakes during the setting process.
Here are the steps that you could follow:
While deploying Sample.sol, make sure to use Token Authority "Public Key"
While registering on KRNL Platform, make sure to use Token Authority "smart contract address"
https://abi-playground.oasis.io/?contractAddress=0x123123123&network=23295
Replace the "0x123123123" from the above URL and paste it on your web browser.
If abi-playground shows error, it potentially means that there are mistakes during the setting up process.
Note: Using an invalid Token Authority (TA) address may result in an inability to open an access token, as the Access Token depends on calling the correct Token Authority.
As stated in the image, the error is an invalid address.
For this case, the smart contract address has to be "0x123...." and not "<0x123...>".
The issue here are the brackets < and >, by removing them from the URL, you will solve the problem.
Please note, this is just a warning statement indicating that there is an unused local variable in the Token Authority contract.
As it is not an error statement, you may proceed.
The above issue could be caused by a number of reasons:
It could be an issue on Etherscan's side, therefore you should try again later.
Failure to provide an API key will cause Etherscan to have an error. Include the API key and try again.
You may need to refresh your browser and verify again.
To solve the issue shown in the image above, simply click "Enable?" for Etherscan and then paste your Etherscan API Key.
For more detailed information on this issue, visit the following page:
There are several different methods that may solve this issue:
By using different supported browser such as: Firefox, Chrome, or Brave
By using different wallet address
By refreshing the page and reconnecting your wallet
By using WalletConnect instead of Injected Provider
As stated in the image above, the Token Authority Address is either invalid or does not exist.
Double-check your information, and if it's still showing this error message, check your TA contract through Oasis Explorer, to make sure it has already been deployed on the Oasis Sapphire network.
This link should help:
Note: It's possible that there was a mistake made during the copying and pasting process.
Do not skip any step in the Quick Start (Remix IDE).
You must install the contract verification plugin in the plugin manager.
This issue is possibly caused by using a different kernel ID from the Quick Start code template.
If you are trying to complete the Quick Start (Remix IDE), you must use kernel ID 337.
Make sure you check Part III: Smart Contract Registration step 3
This bug is likely due to missing some steps from the Quick Start (Remix IDE)
For example:
Noted: It is recommended that you start from the beginning and follow the tutorial more carefully, or try to retrace your steps to find the error and progress from there.
Don't worry, these components are not mandatory to complete Quick Start setup.
This issue could be coming from Remix IDE's end.
The cause of it could be related to the newly added Git Plugin to Remix IDE, which causes an unexpected bug on Git.
Here's one solution process for a temporary debug:
Download ZIP from the "krnl-toolkit" code repository
Manually import the "smart-contracts" folder from the repository into Remix IDE.
Once completed, you should be able to resume your progress on the Quick Start.
Reminder: Ensure you also extract or unzip the files in step two
Make sure you follow Part II: Steps for Smart Contracts in the Quick Start (Remix IDE) tutorial
During , you might have used the "TA Contract Address" instead of "TAPublicKeyAddress" as a constructor during the deployment of Sample.sol
During , you might select the wrong smart contract for the deployment
During "III. Smart Contract Registration" in , you are asked to fill the required values and click "Activate". At this stage, make sure you use your deployed TA Contract Address, not the TA PublicKeyAddress.
Go to our on GitHub