Documentation Index
Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt
Use this file to discover all available pages before exploring further.
If you’re using Solana, you may encounter an error like this:
Module not found: Can't resolve 'crypto'
This is because you need to polyfill the crypto module.
If you’re using webpack for example, your webpack config should look something like this:
const webpack = require('webpack');
module.exports = {
resolve: {
fallback: {
"crypto": require.resolve("crypto-browserify"),
"stream": require.resolve("stream-browserify"),
"buffer": require.resolve("buffer/")
}
},
plugins: [
new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer'],
}),
]
};