How to use the @toruslabs/torus-embed.default function in @toruslabs/torus-embed

To help you get started, we’ve selected a few @toruslabs/torus-embed examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github enslogin / Hackathon / packages / modules / torus / lib / torus.js View on Github external
window.provider = async (config) => {
	const torus = new Torus.default();
	await torus.init();
	await torus.setProvider(config.provider.network);
	return torus.provider;
}

@toruslabs/torus-embed

Embed script for Torus

MIT
Latest version published 7 months ago

Package Health Score

65 / 100
Full package analysis

Popular @toruslabs/torus-embed functions