Skip to content

Should change Default rpc settings to same as tapyrusd default config #73

@nakajo2011

Description

@nakajo2011

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions