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

Add Stacks support #109

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,28 @@ MODULE_xrp-ledger-nft_NODES[]=http://login:password@127.0.0.2:1234/
MODULE_xrp-ledger-nft_REQUESTER_TIMEOUT=60
MODULE_xrp-ledger-nft_REQUESTER_THREADS=12

#####################
## Main Stacks Module
#####################

MODULES[]=stacks-main
MODULE_stacks-main_CLASS=StacksMainModule
MODULE_stacks-main_NODES[]=http://login:password@127.0.0.1:1234/
MODULE_stacks-main_NODES[]=http://login:password@127.0.0.2:1234/
MODULE_stacks-main_REQUESTER_TIMEOUT=60
MODULE_stacks-main_REQUESTER_THREADS=12

###################
## FT Stacks Module
###################

MODULES[]=stacks-ft
MODULE_stacks-ft_CLASS=StacksFTModule
MODULE_stacks-ft_NODES[]=http://login:password@127.0.0.1:1234/
MODULE_stacks-ft_NODES[]=http://login:password@127.0.0.2:1234/
MODULE_stacks-ft_REQUESTER_TIMEOUT=60
MODULE_stacks-ft_REQUESTER_THREADS=12

#####################
## Ton Minimal Module
#####################
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Core, UTXO modules, EVM modules
* [Yulian Volianskyi](https://github.com/jzethar)
- Beacon Chain modules
- Stacks modules
* [alexqrid](https://github.com/alexqrid)
- TVM modules
- BRC-20 module
Expand Down
1 change: 1 addition & 0 deletions Engine/Enums.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ enum CurrencyFormat: string
case Numeric = 'Numeric'; // Currency identifiers are numbers (e.g. Omni layer)
case AlphaNumeric = 'AlphaNumeric';
case UnsafeAlphaNumeric = 'UnsafeAlphaNumeric'; // This is for cases when currency ids may contain special characters such as `/`
// If you choose to use this type, first use `base64_encode()` on the currency id
case HexWithout0x = 'HexWithout0x';
case HexWith0x = 'HexWith0x'; // E.g. ERC-20 currency identifiers are their contract addresses
}
Expand Down
Loading