!uFHFUnrZpEtRWbpFsT:matrix.org

Developer

6762 Members
Bridged to Discord & Telegram35 Servers

Load older messages


SenderMessageTime
1 Oct 2022
@anti-scam:matrix.orgSpam policeRedacted or Malformed Event23:47:13
2 Oct 2022
@_discord_1025140965826113556:t2bot.ioAlbert Nguyen#1453 joined the room.01:29:33
@_discord_1025140965826113556:t2bot.ioAlbert Nguyen#1453Redacted or Malformed Event01:29:33
@sajjad224:matrix.orgD joined the room.10:08:07
@_discord_735325356239880210:t2bot.iol00k (phala.100k.dev)Redacted or Malformed Event10:37:55
@_discord_735325356239880210:t2bot.iol00k (phala.100k.dev) How to encode constructor selector with args when instantiating contract?
It is instantiated different way than simple !ink contracts so I cant use their sample codes and Phat contract doesn't describe this case.
11:24:06
@just-a-guy:matrix.orgjust-a-guy joined the room.11:30:59
@_discord_735325356239880210:t2bot.iol00k (phala.100k.dev) * How to encode constructor selector with args when instantiating contract?
It is instantiated different way than simple !ink contracts so I cant use their sample codes and Phat contract doesn't describe this case.

EDIT: Ok found it
import { Abi } from '@polkadot/api-contract';

const abi = new Abi(contractAbi);
const callData = abi.findConstructor(constructorName).toU8a(params);
11:55:46
@majidmobini:matrix.orgMajid Mobini joined the room.11:59:37
@vncntvg1:matrix.org@vncntvg1:matrix.org left the room.14:28:52
@pierre-rio:matrix.hrio.frpierre joined the room.15:41:12
@cypherpunks0x:matrix.org@cypherpunks0x:matrix.org joined the room.17:12:46
@cypherpunks0x:matrix.org@cypherpunks0x:matrix.org left the room.18:09:20
3 Oct 2022
@emmanue:matrix.org@emmanue:matrix.orgRedacted or Malformed Event00:56:33
@anti-scam:matrix.orgSpam policeRedacted or Malformed Event00:56:34
@erik:fenomen.ro@erik:fenomen.ro joined the room.01:01:35
@erik:fenomen.ro@erik:fenomen.ro left the room.01:26:06
@emmanue:matrix.org@emmanue:matrix.org left the room.03:16:59
@_discord_858000636905783298:t2bot.ioAngie_ada joined the room.09:23:48
@telegram_92214792:t2bot.ioAndrew set a profile picture.09:49:07
@marycrystal:matrix.org@marycrystal:matrix.org left the room.10:29:21
@_discord_713079875711402134:t2bot.ioAmiya Behera#8816 joined the room.13:04:15
@_discord_713079875711402134:t2bot.ioAmiya Behera#8816 We can build httpsever with phala (https://github.com/Phala-Network/fat-contract-examples/tree/master/httpserver-seamless). But what about storage. Will phala network support database like https://surrealdb.com/ for storage 13:04:19
@_discord_713079875711402134:t2bot.ioAmiya Behera#8816 * We can build httpsever with phala (https://github.com/Phala-Network/fat-contract-examples/tree/master/httpserver-seamless). But what about storage? Will phala network support database like https://surrealdb.com/ for storage 13:04:32
@_discord_723570216251949194:t2bot.iohashwarlock ₱ Yes, here is an example of using S3, 4Everland, Storj or Filebase as a KV DB & the phat contract as the middleware to R/W to the instance. https://github.com/christopherfkk/fat-contract-s3-sync 14:53:08
@telegram_1602102247:t2bot.io欧 G changed their display name from 杨 J to 欧 G.15:41:06
@gautamprince:matrix.org@gautamprince:matrix.org left the room.15:46:13
@_discord_406302927884386318:t2bot.ioSpaghetto 法拉 changed their display name from Spaghetto 法拉 to Spaghetto#4730.16:56:34
@_discord_406302927884386318:t2bot.ioSpaghetto 法拉 changed their display name from Spaghetto#4730 to Spaghetto 法拉.16:57:04
@wqwqwq:matrix.orgwqwqwq joined the room.18:48:14

There are no newer messages yet.


Back to Room List