Class: Moac::Configuration
- Inherits:
-
Object
- Object
- Moac::Configuration
- Defined in:
- lib/moac.rb
Instance Attribute Summary collapse
-
#chain_id ⇒ Object
Returns the value of attribute chain_id.
-
#tx_data_hex ⇒ Object
Returns the value of attribute tx_data_hex.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
63 64 65 66 67 68 69 70 |
# File 'lib/moac.rb', line 63 def initialize self.tx_data_hex = true # Moac chain # Network ID for Testnet is 101 # Network ID for Mainnet is 99 self.chain_id = 101 end |
Instance Attribute Details
#chain_id ⇒ Object
Returns the value of attribute chain_id.
61 62 63 |
# File 'lib/moac.rb', line 61 def chain_id @chain_id end |
#tx_data_hex ⇒ Object
Returns the value of attribute tx_data_hex.
61 62 63 |
# File 'lib/moac.rb', line 61 def tx_data_hex @tx_data_hex end |