privacycash-evm
v1.2.1
Published
This is the SDK for Privacy Cash on Base. For documentation, please check: https://privacycash.mintlify.app/basesdk/frontend
Readme
Base SDK
This is the SDK for Privacy Cash on Base. For documentation, please check: https://privacycash.mintlify.app/basesdk/frontend
The SDK also supports BNB mainnet native BNB and USDT through BNB_NETWORK
(chain ID 56). Pass token: 'bnb' explicitly (or omit token) for native BNB,
and pass token: 'usdt' for BNB USDT.
Run bun example/bnb-bnb.ts balance or bun example/bnb-usdt.ts balance for
the BNB SDK examples. Deposit and withdraw actions require an amount and
BNB_PRIVATE_KEY. The Base and Ethereum examples continue to use PRIVATE_KEY.
Disclaimer
This SDK powers Privacy Cash's frontend, assuming the single wallet use case. It is NOT supposed to support hardware wallet.
If you use it or published npm library from this repo, please fully test and beware of the inherent software risks or potential bugs. Our team is not responsible for any losses.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
