Description
In Tapyrus Quick Start there show rpc config below:
rpcuser=rpcuser
rpcpassword=rpcpassword
and default tapyrus.conf is same in dev mode.
But glueby.rb that generated by rails glueby:contract:install has different rpc settings bellow:
# Edit configuration for connection to tapyrus core
config = {adapter: 'core', schema: 'http', host: '127.0.0.1', port: 12381, user: 'user', password: 'pass'}
Glueby::Wallet.configure(config)
Expected work
Generated glueby.rb that has same rpc setting as Tapyrus-core Quick Start.
# Edit configuration for connection to tapyrus core
config = {adapter: 'core', schema: 'http', host: '127.0.0.1', port: 12381, user: 'rpcuser', password: 'rpcpassword'}
Glueby::Wallet.configure(config)
It can be more quickly dive into tapyrus any programer.