The sendTransaction() method in Rhinestone SDK exhibits intermittent failures where it returns null results randomly, making it unreliable for production use. This affects wallet integrations that don't use the proper native wallet SDKs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { createPublicClient, http, parseEther, encodeFunctionData, keccak256, toHex } from 'viem' | |
| import { privateKeyToAccount } from 'viem/accounts' | |
| import { sepolia } from 'viem/chains' | |
| import { createRhinestoneAccount } from '@rhinestone/sdk' | |
| const RHINESTONE_API_KEY = '' | |
| const OWNER_PRIVATE_KEY = '' as `0x${string}` | |
| const chain = sepolia |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="es"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Ethereum: Tu Entrada al Mundo Crypto</title> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "addresses": [ | |
| "0xFe7cBb9cCd3057589eeBcb915c9d959A822C4b7B", | |
| "0x06C5034A2049abC450b8A891d02017CeE1D398B0" | |
| ] | |
| } |
0x04f601d61b672dc81fd1d071f5e4bd5337737a67849d4123775730080d024799
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import fs from 'fs'; | |
| import path from 'path'; | |
| import dotenv from 'dotenv'; | |
| import * as Figma from 'figma-api'; | |
| dotenv.config(); | |
| //#region constants | |
| const FIGMA_FILE_KEY = 'L4oZwYVUdpgacZtwipGaYe'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import type * as Stitches from "@stitches/react"; | |
| import { modifyVariantsForStory } from "../../../.storybook/type-utils"; | |
| import { styled } from "../../stitches.config"; | |
| const Example = styles("div", { | |
| // ... | |
| }); | |
| export default Example; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { S3 } = require('aws-sdk') | |
| jest.mock('aws-sdk'); | |
| // see the previous gist file I created here | |
| // https://gist.github.com/f1lander/287cf20fb8dbfcce24a5c3e867346788 | |
| import s3Utils from './s3-utils'; | |
| // I set this for debug | |
| jest.setTimeout(45000); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import AWS from 'aws-sdk'; | |
| // set your process env | |
| const { | |
| S3_BUCKET, | |
| STAGE } = process.env; | |
| const endpoint = 'http://localhost:4572'; | |
| // set your config look | |
| // https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/s3-example-configuring-buckets.html |
NewerOlder