!jpFStAYugNhbAOxUdp:matrix.org

Hyperledger Iroha

375 Members
blockchain framework for mobile apps https://github.com/hyperledger/iroha26 Servers

Load older messages


SenderMessageTime
13 Feb 2023
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot) [telegram] <baziorek> Hello,
I have a question: I found something to correct in iroha-cpp-lib. I'm not sure if I should create MergeRequest from my fork repository, or from branch inside HL repository?
Here is my commit:
baziorek/iroha@5c56f9a
17:37:03
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot) [telegram] <hyperledgeriroha> Hello, I will ask (re @baziorek: Hello,
I have a question: I found something to correct in iroha-cpp-lib. I'm not sure if I should create MergeRequest from my fork repository, or from branch inside HL repository?
Here is my commit:
https://github.com/baziorek/iroha/commit/5c56f9a6e6ce60305160ddcd1feed7d2aeea3c18)
17:39:40
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot) [telegram] <baziorek> Here is PR:
hyperledger/iroha#3146
if necessarily I'll copy branch into HL repository (re @Group: Hello, I will ask)
18:40:42
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot) [discord] <alvarengacarlos> Good afternoon. I trying execute the Javascript examples on this page-> https://hyperledger.github.io/iroha-2-docs/guide/javascript.html. But, I'm getting this error:
https://cdn.discordapp.com/attachments/905205848547155968/1074782553011134515/image.png
20:02:13
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot) [discord] <alvarengacarlos> Can anyone help me, please. 20:02:18
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot) [discord] <6r1d> Hello 20:03:01
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot) [discord] <6r1d> please never upload logs as screenshots 20:03:08
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot) * [discord] <alvarengacarlos> Good afternoon. I trying execute the Javascript examples on this page-> https://hyperledger.github.io/iroha-2-docs/guide/javascript.html. But, I'm getting this error: 20:03:19
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot) [discord] <6r1d> I'll show how to do it in a text format that is searchable 20:03:21
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot) [discord] <6r1d>
https://cdn.discordapp.com/attachments/905205848547155968/1074782958638092318/Discord_highlight_final.mp4
20:03:46
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot)

[discord] <alvarengacarlos> ```javascript

function generateKeyPair(params) {
const multihashBytes = Uint8Array.from(hexToBytes(params.publicKeyMultihash))
const multihash = crypto.createMultihashFromBytes(multihashBytes)
const publicKey = crypto.createPublicKeyFromMultihash(multihash)
const privateKey = crypto.createPrivateKeyFromJsKey(params.privateKey)

const keyPair = crypto.createKeyPairFromKeys(publicKey, privateKey)

for (const x of [publicKey, privateKey, multihash]) {
    x.free()
}

return keyPair

}

const params = {
publicKeyMultihash: 'ed01207233bfc89dcbd68c19fde6ce6158225298ec1131b6a130d1aeb454c1ab5183c0',
privateKey: {
digestFunction: 'ed25519',
payload: '9ac47abf59b356e0bd7dcbbbb4dec080e302156a48ca907e47cb6aea1d32719e7233bfc89dcbd68c19fde6ce6158225298ec1131b6a130d1aeb454c1ab5183c0',
}
}

const keyPair = generateKeyPair(params)

const accountId = {
name: 'alice',
domain_id: {
name: 'wonderland'
}
}
const signer = new Signer(accountId, keyPair)
const client = new Client({ signer: signer })

```

20:08:03
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot)

[discord] <alvarengacarlos> ```javascript

const toriiRequirementsForApiHttp = {
fetch: fetch,
apiURL: 'http://127.0.0.1:8080'
}

//**Register new domain
const newDomain = 'recycler'
const registerBox = RegisterBox({
object: EvaluatesToRegistrableBox({
expression: Expression(
'Raw',
Value(
'Identifiable',
IdentifiableBox(
'NewDomain',
NewDomain({
id: DomainId({
name: newDomain,
}),
metadata: Metadata({ map: MapNameValue(new Map()) }),
logo: OptionIpfsPath('None'),
}),
),
),
),
}),
})

const exec = Executable('Instructions', VecInstruction('Register', registerBox))
client.submitExecutable(toriiRequirementsForApiHttp, exec)
.then((success) => console.log('Success: ', success))
.catch((error) => console.error('Error: ', error))
.finally(() => console.log('end'))
```

20:08:27
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot) [discord] <6r1d> please continue 20:09:22
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot) [discord] <alvarengacarlos> I'm getting this error: EnumEncodeError: Invalid encode schema for Enum with tag "undefined": undefined; encoders schema: Register(...) => 0, Unregister(...) => 1, Mint(...) => 2, Burn(...) => 3, Transfer(...) => 4, If(...) => 5, Pair(...) => 6, Sequence(...) => 7, Fail(...) => 8, SetKeyValue(...) => 9, RemoveKeyValue(...) => 10, Grant(...) => 11, Revoke(...) => 12, ExecuteTrigger(...) => 13 20:09:57
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot) * 20:10:09
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot) [discord] <alvarengacarlos> ```sh
EnumEncodeError: Invalid encode schema for Enum with tag "undefined": undefined; encoders schema: Register(...) => 0, Unregister(...) => 1, Mint(...) => 2, Burn(...) => 3, Transfer(...) => 4, If(...) => 5, Pair(...) => 6, Sequence(...) => 7, Fail(...) => 8, SetKeyValue(...) => 9, RemoveKeyValue(...) => 10, Grant(...) => 11, Revoke(...) => 12, ExecuteTrigger(...) => 13
````
20:10:19
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot) [discord] <alvarengacarlos> I'm getting this error 20:10:39
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot) [discord] <6r1d> thanks for the information, I'll ask the developer 20:11:05
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot) [discord] <alvarengacarlos> Ok, Tank you. 20:11:32
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot) [discord] <alvarengacarlos> I forgot to say about the environment Iroha is running on. I am running the docker-compose-single.yml file and using the Iroha lts 20:33:00
@sorabot-5aaab865d73408ce4f919651:gitter.imsorabot (sorabot) [telegram] <hyperledgeriroha> thanks, that'll help as well! 20:56:16
15 Apr 2023
@alacer:matrix.org@alacer:matrix.org left the room.07:37:09
19 Apr 2023
@rainmaker6-6064223f6da037398478adfc:gitter.imShikhar Vashistha changed their display name from rainmaker6 (rainmaker) to Shikhar Vashistha.11:47:58
@rainmaker6-6064223f6da037398478adfc:gitter.imShikhar Vashistha removed their profile picture.11:48:04
7 May 2023
@anj20:gitter.imAnurag Narayan Jena joined the room.05:11:33
8 May 2023
@hs05june-633497f46da03739849d3828:gitter.imhs05june (Harpreet Singh) joined the room.19:13:10
@hs05june-633497f46da03739849d3828:gitter.imhs05june (Harpreet Singh)Hello everyone. Myself Harpreet Singh, second year student at Indian Institute of Technology (BHU) pursuing BTech in computer science engineering. I have worked with Vue and React in the past. I was a core contributor of meshery, layer5. I wanted to apply in 'Hyperledger - Iroha 2 blockchain explorer update' program. I would greatly appreciate it if someone could kindly inform me of the key focuses of the project. Your assistance would be invaluable in helping me make meaningful contributions.19:45:44
27 Aug 2023
@navdevl-58fef667d73408ce4f5acdfd:gitter.im@navdevl-58fef667d73408ce4f5acdfd:gitter.im left the room.04:00:02
5 Sep 2023
@joey:perthchat.org@joey:perthchat.org removed their display name joey.09:57:46
@joey:perthchat.org@joey:perthchat.org left the room.11:50:23

There are no newer messages yet.


Back to Room ListRoom Version: