JSON-RPC를 통해 거래를 하려고 하는데, 아래와 같은 오류가 발생한다...

1
2
3
4
5
{
    "result": {
        "error": "notSupported", 
        "error_code": 73,
        "error_message": "Signing is not supported by this server.",
cs


찾아보니 해당 메소드(sign, sign_for, submit)을 사용하기 위해서는 추가적인 설정을 해야하는 듯....


Enable Public Signing

New in: rippled 1.1.0 By default, the signing methods for rippled are limited to administrative connections. If you want to allow signing methods to be used as public API methods (like with versions of rippled before v1.1.0), you can enable it with a configuration change.

This enables the following methods to be used on "public" JSON-RPC and WebSocket connections, if your server accepts them:

You do not need to enable public signing to use these methods from an admin connection.

Caution:Ripple does not recommend enabling public signing. Like the wallet_propose method, the signing commands do not perform any actions that would require administrative-level permissions, but restricting them to admin connections protects users from irresponsibly sending or receiving secret keys over unsecured communications, or to servers they do not control.

To enable public signing, perform the following steps:

  1. Edit your rippled's config file.

    vim /etc/opt/ripple/rippled.cfg
    

    The recommended installation uses the config file /etc/opt/ripple/rippled.cfg by default. Other places you can put a config file include $HOME/.config/ripple/rippled.cfg (where $HOME is the home directory of the user running rippled) or

  2. Add the following stanza to your config file, and save the changes:

    [signing_support]
    true
    
  3. Restart your rippled server:

    systemctl restart rippled


AND