Comments (4)
I think we are moving to base64 encoding so this will be deprecated in the future. near/nearcore#946
from near-api-js.
Actually kept bs58, as it's way more readable / urlable.
Abstracted usage of the library & only have conversion for string:
https://github.com/nearprotocol/nearlib/pull/41/files#diff-197142a49f3ee5844a76c5305b04eb24R1
from near-api-js.
Yea neither is there inbrowser, it gets transcompiled to other functions. What I mean is
arr = new Uint8Array([1,2,3]);
bs58.encode(arr)
Should work, it shouldnt need that shim to turn Uint8Array to buffer.
from near-api-js.
This can be closed then? nearlib now has generic base58 ser/deser? (that works with both nodejs buffers and uint8arrays?
from near-api-js.
Related Issues (20)
- Get result of an execution plan
- Rework 'accounts' package tests due to removal of top-level account creation functionality
- functionCall arguments formated in Json only HOT 28
- The `wallet.requestSignIn` stopped working on v3.0.0 HOT 2
- Replace crypto-browserify with another library
- Error: Length of buffer does not match length of ASN.1 sequence HOT 31
- Error: Unable to resolve module http from ./node_modules/@near-js/providers/lib/fetch.js http could not be found within the project HOT 2
- Get correct publicKey from biometric getKeys using indexer HOT 1
- Support nearcore 1.37 HOT 1
- [Error] createAccount don't work on testnet. HOT 8
- How to get the account balance based on a particular block or date HOT 4
- SignedDelegate is not working
- Biometric createKey failing with Bitwarden password manager "expected βidβ or βrawIdβ field" HOT 6
- Passkeys/webauthn popup not triggering in Chrome HOT 11
- Account.sendMoney transaction execution level
- Updating RPC error schema HOT 2
- yarn + latest wallet selector + latest near-api-js == error HOT 6
- Error sending signed transaction with v4.0.3 HOT 5
- `provider.sendTransaction(signedTx)` always fails for FailoverRpcProvider HOT 1
- decodedTransaction.publicKey.toString() returns [object Object] HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from near-api-js.