axentro-util
Version, currently 0.1.23 versions
- 0.1.2latestNov 15, 2021
- 0.1.1not indexedJan 16, 2022
- 0.1.0not indexedJan 16, 2022
github.com/Axentro/axentro-util
A utility to create and post a signed transaction for sending AXNT tokens on Axentro blockchain
1 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
axentro-util:
github: Axentro/axentro-util
version: ~> 0.1.2Then run:
shards installshard.yml
- Crystal
1.2.1- Author
- Kingsley
Dependencies
Runtime Dependencies
- crest*github: mamantoha/crest
- ed25519-hd*github: axentro/ed25519-hd
- monocypher*github: axentro/monocypher.cr
Development Dependencies
- ameba*github: veelenga/amebadev
README
axentro-util
A utility to create and post a signed transaction for sending AXNT tokens on Axentro Blockchain
Installation
-
Add the dependency to your
shard.yml:dependencies: axentro-util: github: axentro/axentro-util -
Run
shards install
Usage
require "axentro-util"
from_address = "VDAwZTdkZGNjYjg1NDA1ZjdhYzk1M2ExMDAzNmY5MjUyYjI0MmMwNGJjZWY4NjA3"
from_public_key = "3a133bb891f14aa755af119907bd20c7fcfd126fa187288cc2b9d626552f6802"
wif = "VDAwYjIxODI2NDg3MDE3YjA2YTYxOTJiYjUzMjg0MDAzZWNkZGRhZDJlYmUwNjMxYWM3NmIwMzFlYTg4MjlkMTBhMzBkZmNk"
to_address = "VDBjY2NmOGMyZmQ0MDc4NTIyNDBmYzNmOWQ3M2NlMzljODExOTBjYTQ0ZjMxMGFl"
amount = "1"
# generate a signed transaction from the supplied data
transaction = Axentro::Util.create_signed_send_transaction(from_address, from_public_key, wif, to_address, amount)
# post the transaction to the desired server
transaction_id = Axentro::Util.post_transaction(transaction, "https://testnet.axentro.io")
Contributing
- Fork it (https://github.com/your-github-user/axentro-util/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Kingsley Hendrickse - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.2- Tagged
- Nov 15, 2021
- Commit
15753b7ba693- Crystal
1.2.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/Axentro/axentro-util
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 3