Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tryorama sample code does not use alice.instance("xxx").agentAddress #19

Closed
zaunders opened this issue Jan 11, 2020 · 4 comments
Closed

Comments

@zaunders
Copy link

We tried using the sample code with alice.agentAddress('instance') which doesn't seem to work.

Looking at guillems code, alice.instance("mail").agentAddress seems to be the proper function

@maackle
Copy link
Collaborator

maackle commented Jan 21, 2020

@zaunders where did you find that sample code?

@guillemcordoba
Copy link
Contributor

It's in the README, Sample Usage section:

  // now you can make zome calls,
  await alice.call('chat', 'messages', 'direct_message', {
    content: 'hello world',
    target: carol.agentAddress('chat')
  })

@maackle
Copy link
Collaborator

maackle commented Jan 27, 2020

Thanks for pointing that out!

@zaunders
Copy link
Author

zaunders commented Jan 27, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants