Giter Club home page Giter Club logo

Comments (4)

brenzi avatar brenzi commented on August 19, 2024

Test data can be derived with the bootstrap_demo_currency.sh script

registration finalized: 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
registration finalized: 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty
registration finalized: 5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y
listing participants for cid 3LjCHdiNbNLKEtwGtBf6qHGZnfKFyjLu9v3uxVgDL35C and ceremony nr 63
number of participants assigned:  3
ParticipantRegistry[63, 1] = 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
ParticipantRegistry[63, 2] = 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty
ParticipantRegistry[63, 3] = 5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y
Transaction got finalized. Phase is now: ASSIGNING. tx hash: Some(0xa675f5c6e74d2ebb9354cea29b5307e7e74579090a849d2dd4f8811ad1195aed)
listing meetups for cid 3LjCHdiNbNLKEtwGtBf6qHGZnfKFyjLu9v3uxVgDL35C and ceremony nr 63
number of meetups assigned:  1
MeetupRegistry[63, 1] location is Some(Location { lat: 35.48415638, lon: 18.543548584 })
MeetupRegistry[63, 1] meeting time is Some(1592719549549)
MeetupRegistry[63, 1] participants are:
   5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
   5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty
   5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y
Transaction got finalized. Phase is now: ATTESTING. tx hash: Some(0x6bd64e3b101cc7d04542ac6bac2057188404b8b336e0a7f849b3ea5e26dcc626)
*** start meetup
claim for //Alice is d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d3f00000022c51e6a656b19dd1e34c6126a75b8af02b38eedbeec51865063f142c83d40d301000000000000002aacf17b230000000000268b120000006da47bd57201000003000000
*** sign each others claims
attestation for //Alice by //Bob is d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d3f00000022c51e6a656b19dd1e34c6126a75b8af02b38eedbeec51865063f142c83d40d301000000000000002aacf17b230000000000268b120000006da47bd572010000030000000172733a8a053d1a66178950336bf2a7e1619583281eac6658c1032a65641c6e6d3facd877b53c2e1b5565a68c9f35778c74e53a511fc235526afc93a350f5ec848eaf04151687736326c9fea17e25fc5287613693c912909cb226aa4794f26a48
*** send witnesses to chain
Transaction got finalized. tx hash: Some(0x24348d0bc69e5988863a98dab91b9e181dac6d7fffc8f18578b01e87440dae7b)
Transaction got finalized. tx hash: Some(0x62ff47b88d48d32a951ba97448976f4eacf20ebd63e1aeb66439c384e4b95bf6)
Transaction got finalized. tx hash: Some(0x0e38a10a29fe44120d7fdfc9de237fa1df6fe6e775f6facdf6f71de2f601acfe)
listing attestations for cid 3LjCHdiNbNLKEtwGtBf6qHGZnfKFyjLu9v3uxVgDL35C and ceremony nr 63
number of attestations:  3
AttestationRegistry[63, 1 (5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY)] = Some([90b5ab205c6974c9ea841be688864633dc9ca8a357843eeacf2314649965fe22 (5FLSigC9...), 8eaf04151687736326c9fea17e25fc5287613693c912909cb226aa4794f26a48 (5FHneW46...)])
AttestationRegistry[63, 2 (5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty)] = Some([90b5ab205c6974c9ea841be688864633dc9ca8a357843eeacf2314649965fe22 (5FLSigC9...), d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d (5GrwvaEF...)])
AttestationRegistry[63, 3 (5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y)] = Some([8eaf04151687736326c9fea17e25fc5287613693c912909cb226aa4794f26a48 (5FHneW46...), d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d (5GrwvaEF...)])
Transaction got finalized. Phase is now: REGISTERING. tx hash: Some(0x5113f03041508e090e4c60a57fcd2c07ddc3194f2c2db33050eea8628b75099c)
account balances for new currency with cid 3LjCHdiNbNLKEtwGtBf6qHGZnfKFyjLu9v3uxVgDL35C
NCTR balance for //Alice is 1 in currency 3LjCHdiNbNLKEtwGtBf6qHGZnfKFyjLu9v3uxVgDL35C
NCTR balance for //Bob is 1 in currency 3LjCHdiNbNLKEtwGtBf6qHGZnfKFyjLu9v3uxVgDL35C

This tells us:

  • cindex = 63
  • cid = 3LjCHdiNbNLKEtwGtBf6qHGZnfKFyjLu9v3uxVgDL35C
  • mindex = 1
  • meetup location = Location { lat: 35.48415638, lon: 18.543548584 }
  • meetup time = 1592719549549
  • n_participants = 3
  • claim for //Alice is (hex) d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d3f00000022c51e6a656b19dd1e34c6126a75b8af02b38eedbeec51865063f142c83d40d301000000000000002aacf17b230000000000268b120000006da47bd57201000003000000
  • attestation for //Alice, signed by //Bob is (hex) d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d3f00000022c51e6a656b19dd1e34c6126a75b8af02b38eedbeec51865063f142c83d40d301000000000000002aacf17b230000000000268b120000006da47bd572010000030000000172733a8a053d1a66178950336bf2a7e1619583281eac6658c1032a65641c6e6d3facd877b53c2e1b5565a68c9f35778c74e53a511fc235526afc93a350f5ec848eaf04151687736326c9fea17e25fc5287613693c912909cb226aa4794f26a48

from encointer-wallet-flutter.

demyanrogozhin avatar demyanrogozhin commented on August 19, 2024

In Rust code values for mindex, meetup location, meetup time is fetched from store.
In JS function those params will be received as arguments from Dart or should be received from API?

from encointer-wallet-flutter.

brenzi avatar brenzi commented on August 19, 2024

for this proof all the info will come from dart app

from encointer-wallet-flutter.

clangenb avatar clangenb commented on August 19, 2024

We were able to create claims that are correctly interpreted by the runtime. Thus, I mark this as resolved.

from encointer-wallet-flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.