* ContractMetadata detection on deploy * Royalty detection * Primary sale detection * Platform Fee detection * This feels better * It works now :D * Add split detection, cleanup * Cleanup * More cleanuppp * Moar remove * Kill useWeb3 hook * nvm we need this * Enable any evm for thirdweb contracts * DefaultValue 0 * update sdk * nope * Remove double title * Update dependencies * install nightly * use latest * Fix default values * Delete prebuilt analytics file * fix wallet address not being filled in on subsequent renders * Remove resolution * Make inputs required * Enable all chains for tw contracts * Fix input default value --------- Co-authored-by: Jonas Daniels <[email protected]>
7 lines
178 B
TypeScript
7 lines
178 B
TypeScript
import { StorageSingleton } from "lib/sdk";
|
|
|
|
export async function uploadContractMetadata(metadata: any) {
|
|
const uri = await StorageSingleton.upload(metadata);
|
|
return uri;
|
|
}
|