remove unnecessary buffers, handle non-base58 chars in validateSin, and add postinstall
fixed formatting and docs