Questions tagged [phala]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

can cross contract calls be done across different polkadot chains?

I have two smart contracts, one for off-chain computations (Phat Contracts) and the other from Ink which will be deployed on the Astar network. I want to access data from the phat contracts, how do I ...
HunnyPawt's user avatar
0 votes
1 answer
33 views

Error installing deps on swanky phala

I'm having issues initiating my swanky phala project. I keep getting this error below. Is there anything i'm missing? update: I went to the tests directory to run npm install and I got these errors. ...
HunnyPawt's user avatar
2 votes
1 answer
141 views

Error when building libsecp256k1 for Rust

I am trying to use the libsecp256k1 library in a no-std environment and I get the following error when building the contract: [wasm-validator error in module] unexpected true: memory max >= ...
statisticalanomaly's user avatar
0 votes
1 answer
57 views

Unable to upload Phat Contract build using cargo-contract-2.1.0

I was unable to add contract into https://phat.phala.network/contracts/add. At the The contract was built using: cargo-contract version : cargo-contract-contract 2.1.0-unknown-aarch64-apple-darwin the ...
Darwin's user avatar
  • 1
2 votes
1 answer
139 views

How is confidentially guaranteed for Phat Contract state and transactions?

Phala claims that both, the contract state and all interactions are encrypted and only accessable by the contract itself. How is this implemented? Unfortunately I find very little docs touching that ...
Tino Rusch's user avatar
2 votes
1 answer
131 views

Parsing float numbers in Phala Fat Contract causes deployment failure

Is it possible to get data with float point numbers from the exchange API in Phala's Fat Contract? I have been trying to parse a json object from this API: {"USD":0.106} However, the price ...
h4x3rotab's user avatar
  • 717
0 votes
3 answers
242 views

Parsing JSON in ink based Smart Contracts

Currently I am developing a Fat Contract (Native to Phala Network) that also supports Ink Based Smart Contracts to be written within the Fat Contracts which is what my example is doing. To describe ...
Joshua's user avatar
  • 101