Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Ts tezos first draft #804

Closed
wants to merge 16 commits into from
Closed

Conversation

satyajeetkolhapure
Copy link
Contributor

This PR contains first draft of tezos chain packages.

  1. 3 new packages are added - tezos, options, utils for tezos chain

  2. Created one basic endpoint on tezos api to return addresses

  3. Added connector and provider for tezos

  4. Added wallet-options

  5. To run the tezos flavour use below command

    npm start -- tezos --wallet.totalAccounts 5

  6. To call endpoint use below

    curl -H 'Content-Type: application/json' --data '{"jsonrpc":"2.0","id":3,"method":"tez_accounts", "params":[]}' http://localhost:8545 -v

Copy link
Member

@davidmurdoch davidmurdoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for an initial pass!

src/chains/tezos/tezos/tests/helpers/getProvider.ts Outdated Show resolved Hide resolved
src/chains/tezos/utils/index.ts Show resolved Hide resolved
satyajeetkolhapure and others added 8 commits March 1, 2021 18:11
Co-authored-by: David Murdoch <187813+davidmurdoch@users.noreply.github.com>
Co-authored-by: David Murdoch <187813+davidmurdoch@users.noreply.github.com>
Co-authored-by: David Murdoch <187813+davidmurdoch@users.noreply.github.com>
Co-authored-by: David Murdoch <187813+davidmurdoch@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants