I'm getting following error, while crediting an account tuncatunc in the reply file.
There are 2 keysets, k-admin-keyset and k-player-keyset.
k-player-keyset is used to create account
(create-account "tuncatunc" (read-keyset…
Trying to deploy the contract on Kadena testnet chain 1 and errors with this message.
Error from (api.testnet.chainweb.com): : Failure: Interface not defined: free.fungible-xchain-v1
free.fungible-xchain-v1 is deployed and I can find it from the…
I defined a keyset (i.e. "my-admin-keyset") in the pact environment data.
I want to test a function without that keyset present.
However every function I run, signs with that keyset.
How do I exclude a keyset when running a function?
Pact's documentation says you can type objects with schemas. I have been unable to work out how to do this.
When creating an object, eg. in the REPL, with eg. {"a":1.0,"b":2.0}, it is of type object:*.
I have a schema of:
(defschema data
a :…
If I have a function that counts up by 1 every time someone calls it, what happens if 10 people all call the function at the same time, during the same block? Without knowing for sure, I see two possibilities.
A particular sender is chosen to…
I am using Kadena's devnet for integration testing. Unfortunately, every time I start up devnet it begins from scratch, with no history, and it takes a long time (more than an hour) to become usable. As described in the README:
If you are starting…
I'd like to create a function
(deposit-fungible-v2-burn (account:string amount:decimal token:module{fungible-v2}))
that burns amount tokens from the account.
Are there any functions in the fungible-v2 interface for minting/burning coins?
It is…
When building keysets, they have three options: keys-all, keys-2, and keys-any. I wanted to create a keyset that required 3 keys to sign the transaction, but I was confused about how to force the keyset to take all three keys in the signature…
I was going through the Rotatable Wallet tutorial on the Kadena beginner tutorial, and I ran into this error: "1:1Typechecker Internal Error: User type in value position". What does this mean? And where exactly is the error occurring?
When I was trying to deploy the HelloWorld contract using the beginner tutorial, I got to the configuration page in the deployment popup. I made two public keys, but the tutorial specified nothing about the accounts. How do I create accounts so I…
While trying to connect a react frontend, which was just created using create-react-app, I got this error message when running npm run start after importing pact-lang-api to the app:
ERROR in ./node_modules/eventsource/lib/eventsource.js 5:12-28…
I've been trying to compile the Kadena chainweb-node project from source (via the docs found here) in a docker container running the arm64v8/ubuntu base image on an Apple M1 host machine and I keep getting errors. Thanks to the super helpful folks…
Chainweaver uses the following code to generate a key-pair from a Bip 39-generated seed: https://github.com/kadena-io/cardano-crypto.js/blob/c50fb8c2fcd4e8d396506fb0c07de9d658aa1bae/kadena-crypto.js#L336
Is there any documentation regarding this…
I'm encountering a "BuyGasFailure" error while trying to fetch the balance given a k: account a and contract address using the @kadena/chainweb-node-client v0.2.5 library. I'm using the get-balance function with the appropriate contract address and…
I've been able to connect walletconnect to my eckoWallet by using the qr code, problem now is signing requests doesn't respond.
The code below contains two functions, first which is the walletConnect which is working perfectly fine. My main issue is…