axentro-adaptor
Version, currently 0.1.33 versions
- 0.1.3latestJun 3, 2021
- 0.1.2not indexedJun 3, 2021
- 0.1.1not indexedJun 3, 2021
github.com/Axentro/axentro-adaptor
Local REST adaptor for accessing Axentro crypto
Installation
# Add this to your shard.yml
dependencies:
axentro-adaptor:
github: Axentro/axentro-adaptor
version: ~> 0.1.3Then run:
shards installshard.yml
- Crystal
1.0.0- License
- MIT
- Author
- Kingsley Hendrickse
- Target
axentro-adaptorfrom src/axentro-adaptor.cr
Dependencies
Runtime Dependencies
- router*github: tbrand/router.cr
- ed25519-hd*github: axentro/ed25519-hd
- axentro-util*github: axentro/axentro-util
- baked_file_system*github: axentro/baked_file_system
Development Dependencies
- ameba*github: veelenga/amebadev
README
Axentro Adatpor API
This is a local service you can run that provides a REST API that can do the following things:
- signed & send transactions
- create standard wallets
- create hd wallets
- validate an address
- validate a human readable address
Using the API
When you start this application from the command line you can optionally supply:
- path/to/your-wallet.json
- url of a node
The following endpoints are available only when you supply both a node to connect to and a wallet
- transaction/send-from-wallet
The following endpoints are available only when you supply a wallet
- transaction/signed-from-wallet
The following endpoints are available only when you supply a node url
- transaction/send
- hra/validate
Installation
git clone https://github.com/Axentro/axentro-adaptor.git
cd axentro-adaptor
shards install
shards build --release --no-debug
Updating
cd axentro-adaptor
git pull https://github.com/Axentro/axentro-adaptor.git
shards install
shards build --release --no-debug
Usage
./bin/axentro-adaptor -p 8008
Then navigate to http://localhost:8008 for the docs
you can also optionally supply a connecting node and a local wallet. Some of the endpoints requires these.
./bin/axentro-adaptor -p 8008 -n https://mainnet.axentro.io -w path/to/wallet.json
you can also set the host and port e.g.
./bin/axentro-adaptor -b 127.0.0.1 -p 8001
Contributing
- Fork it (https://github.com/Axentro/axentro-adaptor/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.3- Tagged
- Jun 3, 2021
- Commit
e511c40b4054- Crystal
1.0.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/Axentro/axentro-adaptor
Metadata
- Created
- Aug 12, 2026
- Updated
- Sep 27, 2026
- Synced
- Sep 27, 2026
- Versions
- 3