https://github.com/roppa/tezmania
Tezos blockchain client
https://github.com/roppa/tezmania
tezos tezos-block
Last synced: 4 months ago
JSON representation
Tezos blockchain client
- Host: GitHub
- URL: https://github.com/roppa/tezmania
- Owner: roppa
- Created: 2020-01-27T13:06:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T05:49:58.000Z (over 3 years ago)
- Last Synced: 2025-07-21T21:53:19.432Z (11 months ago)
- Topics: tezos, tezos-block
- Language: TypeScript
- Size: 1010 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tezmania - a Tezos client
Tezmania is a client for Tezos allowing you to query the blockchain, interact with smart contracts and more. This is mainly a tool for learning, so if you are learning about Tezos I'm working on [some resources in the 'learning' folder](/learning/README.md).
## init (network functions)
Configure (curry) the host network:
```js
const net = tezmania.init('http://localhost:8732')
net.getHead().then(head => console.log(head))
```
This returns the curried functions belonging to the network file (`/src/network`). This applies to any of the functions in the network section.
In exported format, the functions below are curried i.e.:
```js
tezmania.getHead('http://localhost:8732')()
```
## Crypto
This library uses [libsodium-wrappers-sumo](https://www.npmjs.com/package/libsodium-wrappers-sumo).
## Mnemonics
This library uses [bip39](https://github.com/bitcoinjs/bip39).
### generateMnemonic [string]: string
This is a direct export from [bip39.generateMnemonic](https://github.com/bitcoinjs/bip39).
## Credits
Sources of reference (and pure theft) are these cool projects:
- [Sotez](https://github.com/AndrewKishino/sotez)
- [eztz](https://github.com/TezTech/eztz)
- [ConseilJS](https://github.com/Cryptonomic/ConseilJS)