With XLS-20, the NFTokenID is generated from a mint transaction here:
uint256
NFTokenMint::createNFTokenID(
std::uint16_t flags,
std::uint16_t fee,
AccountID const& issuer,With XLS-20, the NFTokenID is generated from a mint transaction here:
uint256
NFTokenMint::createNFTokenID(
std::uint16_t flags,
std::uint16_t fee,
AccountID const& issuer,| /*! For license information please see ripple-latest-min.js.LICENSE.txt */ | |
| var ripple;ripple=(()=>{var e={4419:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},a=this&&this.__importDefault||functio |
| cargo build-bpf | |
| Failed to obtain package metadata: Error during execution of `cargo metadata`: error: failed to parse manifest at `/Users/elliot/solana/smart-contract/Cargo.toml` | |
| Caused by: | |
| feature `edition2021` is required | |
| The package requires the Cargo feature called `edition2021`, but that feature is not stabilized in this version of Cargo (1.55.0 (32da73ab1 2021-08-23)). | |
| Consider trying a newer version of Cargo (this may require the nightly release). | |
| See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2021 for more information about the status of this feature. |
| - The Regular Key is set to a blackhole address | |
| - The Master Key is disabled | |
| - The account does not have a signer list | |
| // Code from RippleXDev Twitch episode on March 16, 2021 | |
| // | |
| // Code is provided "as is" and solely for informational purposes only. | |
| // Warning: Use at your own risk. | |
| // Install dependencies: | |
| // npm install bignumber.js ripple-lib | |
| // | |
| // Milliseconds between checks for transaction validation |
| var customFunctionTestPin = function (customArgPin) { | |
| if (customArgPin.length !== 16) { | |
| document.getElementById('warning').innerHTML = "<strong>Invalid PIN:</strong> Your PIN should be 16 numbers, separated by commas."; | |
| return false; | |
| } | |
| for (var customIterator1 = 0; customIterator1 < 16; customIterator1 += 1) { | |
| if (customArgPin[customIterator1] < 0 || customArgPin[customIterator1] > 255) { | |
| document.getElementById('warning').innerHTML = "<strong>Invalid PIN:</strong> Every PIN value must be between 0 and 255, inclusive."; | |
| return false; | |
| } |
If you get this error:
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
If you get this error:
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
If you get this error:
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
Getting this error? Looks like something changed between eslint 2.7.0 and eslint 6.1.0.
% yarn lint
yarn run v1.17.3
$ ./node_modules/.bin/eslint -c ./eslintrc Gulpfile.js **/*.js
Oops! Something went wrong! :(
ESLint: 6.1.0.