6 Aug 2020
00:02:31 weiwu: https://community.tokenscript.org/t/tokenscript-43/412
- 5 participants
- 45 minutes
30 Jul 2020
00:09:10 weiwu: https://community.tokenscript.org/t/cards-name/406
00:12:25 hboon: test
00:12:36 weiwu: https://github.com/AlphaWallet/TokenScript-Examples/pull/122
00:25:38 hboon: ping
00:26:00 weiwu: https://community.tokenscript.org/t/javascript-api-design-for-generating-a-asn-1-data-object/397/5
00:12:25 hboon: test
00:12:36 weiwu: https://github.com/AlphaWallet/TokenScript-Examples/pull/122
00:25:38 hboon: ping
00:26:00 weiwu: https://community.tokenscript.org/t/javascript-api-design-for-generating-a-asn-1-data-object/397/5
- 5 participants
- 1:07 hours
9 Jul 2020
00:08:29 weiwu: https://github.com/AlphaWallet/TokenScript/pull/373
- 2 participants
- 50 minutes
25 Jun 2020
00:55:01 hboon: class Cheque {
set amount(val){
console.log("setting amount")
this._amountValue = val;
}
get amount(){
console.log("getting amount");
return this._amountValue;
}
}
let cheque = new Cheque();
cheque.amount = 123;
set amount(val){
console.log("setting amount")
this._amountValue = val;
}
get amount(){
console.log("getting amount");
return this._amountValue;
}
}
let cheque = new Cheque();
cheque.amount = 123;
- 5 participants
- 1:10 hours
11 Jun 2020
00:10:49 hboon: https://github.com/AlphaWallet/alpha-wallet-ios/blob/master/AlphaWallet/Browser/Factory/WKWebViewConfiguration.swift#L102
00:14:56 hboon: https://github.com/AlphaWallet/TokenScript-Examples/blob/master/examples/EntryToken/enter.en.js#L32
00:26:16 Tore Frederiksen: https://crypto.stackexchange.com/questions/34863/ec-schnorr-signature-multiple-standard
00:33:23 weiwu: https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/deriveKey
00:35:38 Tore Frederiksen: https://community.tokenscript.org/t/send-with-attestation-and-send-to-attestation-mvp-use-case-of-attestation/309/11
00:38:57 Tore Frederiksen: https://en.wikipedia.org/wiki/Proof_of_knowledge#Schnorr_protocol
00:42:34 Tore Frederiksen: Pick random r, compute t=g^r, compute c=H(t) and return (t, s=r+cx)
00:50:18 Tore Frederiksen: Pick random r, compute t=g^r, compute c=H(t) and return (t, s=r+c(x+delta), delta)
00:51:23 Tore Frederiksen: g^sg^-delta=ty^c
00:52:09 Tore Frederiksen: Pick random r, compute t=g^r, compute c=H(t) and return (t, s=r+c(x+delta), delta, y)g^sg^-c*delta=ty^c
00:52:54 weiwu: memory space of JS.
00:52:59 weiwu: memory space of UA.
00:53:24 weiwu: We have (sk) in the UA which is the subject being proved.
00:53:44 weiwu: We also know that everything the verifier generated and passed to the prover is in JS
00:53:53 Tore Frederiksen: JS: r, t, c, (x+delta)UA:, t, s, delta, x, y
00:14:56 hboon: https://github.com/AlphaWallet/TokenScript-Examples/blob/master/examples/EntryToken/enter.en.js#L32
00:26:16 Tore Frederiksen: https://crypto.stackexchange.com/questions/34863/ec-schnorr-signature-multiple-standard
00:33:23 weiwu: https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/deriveKey
00:35:38 Tore Frederiksen: https://community.tokenscript.org/t/send-with-attestation-and-send-to-attestation-mvp-use-case-of-attestation/309/11
00:38:57 Tore Frederiksen: https://en.wikipedia.org/wiki/Proof_of_knowledge#Schnorr_protocol
00:42:34 Tore Frederiksen: Pick random r, compute t=g^r, compute c=H(t) and return (t, s=r+cx)
00:50:18 Tore Frederiksen: Pick random r, compute t=g^r, compute c=H(t) and return (t, s=r+c(x+delta), delta)
00:51:23 Tore Frederiksen: g^sg^-delta=ty^c
00:52:09 Tore Frederiksen: Pick random r, compute t=g^r, compute c=H(t) and return (t, s=r+c(x+delta), delta, y)g^sg^-c*delta=ty^c
00:52:54 weiwu: memory space of JS.
00:52:59 weiwu: memory space of UA.
00:53:24 weiwu: We have (sk) in the UA which is the subject being proved.
00:53:44 weiwu: We also know that everything the verifier generated and passed to the prover is in JS
00:53:53 Tore Frederiksen: JS: r, t, c, (x+delta)UA:, t, s, delta, x, y
- 7 participants
- 1:15 hours
28 May 2020
00:47:58 Tore Frederiksen: https://asn1tools.readthedocs.io/en/latest/
- 4 participants
- 59 minutes
7 May 2020
00:46:32 weiwu: https://github.com/AlphaWallet/blockchain-attestation/blob/master/use-cases/email-address-attestation.md
00:58:19 Tore Frederiksen: We can’t hear you Weiwu
00:59:00 JamesB: no audio
01:20:37 weiwu: Helolo\
01:20:59 weiwu: https://github.com/AlphaWallet/blockchain-attestation/blob/master/use-cases/email-address-attestation.md
01:21:27 weiwu: Alice signs msgData to transfer ETH. (msgData specifies expiry, ETH amount)
Alice securely sends signed msgData to Bob (email, telegram, ...).
Bob calls Alice's smart contract wallet with h(msg + BobAddress) (aka msgHash)
- smart contract checks: msgMap[msgHash] == 0 (not used)
- smart contract stores: map[msg.sender] = msgHash
Bob calls Alice's smart contract with signed msgData
- smart contract checks msg signature of Alice
- smart contract checks: msgMap[msgHash] = 1 (used)
- smart contract checks map[msg.sender] == h(msgData + msg.sender)
- executes transaction with msg data (check expiry, send ETH)
01:27:51 Victor Zhang: https://community.tokenscript.org/t/send-with-attestation-and-send-to-attestation-mvp-use-case-of-attestation/309
00:58:19 Tore Frederiksen: We can’t hear you Weiwu
00:59:00 JamesB: no audio
01:20:37 weiwu: Helolo\
01:20:59 weiwu: https://github.com/AlphaWallet/blockchain-attestation/blob/master/use-cases/email-address-attestation.md
01:21:27 weiwu: Alice signs msgData to transfer ETH. (msgData specifies expiry, ETH amount)
Alice securely sends signed msgData to Bob (email, telegram, ...).
Bob calls Alice's smart contract wallet with h(msg + BobAddress) (aka msgHash)
- smart contract checks: msgMap[msgHash] == 0 (not used)
- smart contract stores: map[msg.sender] = msgHash
Bob calls Alice's smart contract with signed msgData
- smart contract checks msg signature of Alice
- smart contract checks: msgMap[msgHash] = 1 (used)
- smart contract checks map[msg.sender] == h(msgData + msg.sender)
- executes transaction with msg data (check expiry, send ETH)
01:27:51 Victor Zhang: https://community.tokenscript.org/t/send-with-attestation-and-send-to-attestation-mvp-use-case-of-attestation/309
- 8 participants
- 1:56 hours
23 Apr 2020
- 7 participants
- 56 minutes
26 Mar 2020
- 6 participants
- 1:13 hours
19 Mar 2020
00:11:40 weiwu: https://drive.google.com/file/d/1_I7460FiEtPNG-8ySQ_HnBXWTmBTje5O/view
00:13:47 weiwu: https://projects.invisionapp.com/share/NJWEZI4E2VP#/screens/409351809_1-Setup-settings-
00:28:08 Tore: https://eprint.iacr.org/2019/1470.pdf
00:28:36 weiwu: Password authenticated key exchange
00:31:40 Tore: https://bitbucket.alexandra.dk/projects/OL/repos/pesto
00:32:00 Tore: https://en.wikipedia.org/wiki/Secure_Remote_Password_protocol
00:32:26 Tore: https://eprint.iacr.org/2018/163.pdf
00:13:47 weiwu: https://projects.invisionapp.com/share/NJWEZI4E2VP#/screens/409351809_1-Setup-settings-
00:28:08 Tore: https://eprint.iacr.org/2019/1470.pdf
00:28:36 weiwu: Password authenticated key exchange
00:31:40 Tore: https://bitbucket.alexandra.dk/projects/OL/repos/pesto
00:32:00 Tore: https://en.wikipedia.org/wiki/Secure_Remote_Password_protocol
00:32:26 Tore: https://eprint.iacr.org/2018/163.pdf
- 3 participants
- 3:58 hours
13 Feb 2020
00:07:37 Tore: Is anyone currently talking because I can’t hear anything 😅
00:08:44 weiwu: https://github.com/AlphaWallet/TokenScript-Examples/blob/add-ens-files-from-main-repo/examples/ENS/ENS/ENS.xml
00:12:20 weiwu: RDN for ENS:
name=weiwu.ens
00:12:29 weiwu: RDN for Kitty:
tokenID=0x830e8029389023840234902384309
00:32:09 weiwu: name=weiwu.ens,dim2=value
00:35:50 weiwu: https://github.com/AlphaWallet/TokenScript-Examples/blob/add-ens-files-from-main-repo/examples/ENS/ENS/ENS.xml
00:43:42 hboon: web3.token.data.currentInstance
00:44:10 hboon: web3.token.data.all (or something like that)
00:45:39 weiwu: XUL
00:08:44 weiwu: https://github.com/AlphaWallet/TokenScript-Examples/blob/add-ens-files-from-main-repo/examples/ENS/ENS/ENS.xml
00:12:20 weiwu: RDN for ENS:
name=weiwu.ens
00:12:29 weiwu: RDN for Kitty:
tokenID=0x830e8029389023840234902384309
00:32:09 weiwu: name=weiwu.ens,dim2=value
00:35:50 weiwu: https://github.com/AlphaWallet/TokenScript-Examples/blob/add-ens-files-from-main-repo/examples/ENS/ENS/ENS.xml
00:43:42 hboon: web3.token.data.currentInstance
00:44:10 hboon: web3.token.data.all (or something like that)
00:45:39 weiwu: XUL
- 3 participants
- 56 minutes
2 Jan 2020
Hi everyone. In the last meeting, thanks to being in Christmas, we
only covered learnability topics, like how to segment tokenscript for
learnability and how to name the components for learnability. None
were concluded and I'll summarize them later in the forum.
Today's meeting continues from previous attestation discussion
- I will demonstrate a small test case of DER based TokenScript
parsing, written in JAVA. A previous test case was written in Solidity
by James Brown but that was before we have had an ASN.1 module for
attestation so I'll ask James to update his test case.
-URI schema for attestations, pick up from here:
https://community.tokenscript.org/t/a-uri-schema-for-attestations/303
Optionally:
- smart-contract interface of attestations.
only covered learnability topics, like how to segment tokenscript for
learnability and how to name the components for learnability. None
were concluded and I'll summarize them later in the forum.
Today's meeting continues from previous attestation discussion
- I will demonstrate a small test case of DER based TokenScript
parsing, written in JAVA. A previous test case was written in Solidity
by James Brown but that was before we have had an ASN.1 module for
attestation so I'll ask James to update his test case.
-URI schema for attestations, pick up from here:
https://community.tokenscript.org/t/a-uri-schema-for-attestations/303
Optionally:
- smart-contract interface of attestations.
- 3 participants
- 46 minutes