File tree Expand file tree Collapse file tree 8 files changed +10
-10
lines changed
W3MWagmi/src/screens/Connections/components Expand file tree Collapse file tree 8 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ function App(): JSX.Element {
8585
8686 const amount = sanitizeHex ( numberToHex ( 0.0001 ) ) ;
8787 const transaction = {
88- to : '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 ' , // vitalik.eth
88+ to : '0x704457b418E9Fb723e1Bc0cB98106a6B8Cf87689 ' , // test address
8989 value : amount ,
9090 chainId,
9191 data : '0x' ,
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ function App(): JSX.Element {
8282
8383 const transaction = {
8484 from : address ,
85- to : '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 ' , // vitalik.eth
85+ to : '0x704457b418E9Fb723e1Bc0cB98106a6B8Cf87689 ' , // test address
8686 value : amount ,
8787 chainId,
8888 data : '0x' ,
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ function App(): JSX.Element {
112112 const hash = await walletClient . sendTransaction ( {
113113 chain : mainnet ,
114114 account : address ,
115- to : '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 ' , // vitalik.eth
115+ to : '0x704457b418E9Fb723e1Bc0cB98106a6B8Cf87689 ' , // test address
116116 value : parseEther ( '0.001' ) ,
117117 data : '0x' ,
118118 } ) ;
Original file line number Diff line number Diff line change 1- export const vitalikEthAddress = '0xd8da6bf26964af9d7eed9e03e53415d37aa96045 ' ;
1+ export const testAddress = '0x704457b418E9Fb723e1Bc0cB98106a6B8Cf87689 ' ;
Original file line number Diff line number Diff line change 88} from '@reown/appkit-ethers-react-native' ;
99
1010import { RequestModal } from '../components/RequestModal' ;
11- import { vitalikEthAddress } from '../utils/misc' ;
11+ import { testAddress } from '../utils/misc' ;
1212
1313export function SendTransaction ( ) {
1414 const [ requestModalVisible , setRequetsModalVisible ] = useState ( false ) ;
@@ -31,7 +31,7 @@ export function SendTransaction() {
3131 const ethersProvider = new BrowserProvider ( walletProvider ) ;
3232 const signer = new JsonRpcSigner ( ethersProvider , address ! ) ;
3333 const tx = {
34- to : vitalikEthAddress ,
34+ to : testAddress ,
3535 value : parseEther ( '0.0001' ) ,
3636 data : '0x' ,
3737 } ;
Original file line number Diff line number Diff line change 1- export const vitalikEthAddress = '0xd8da6bf26964af9d7eed9e03e53415d37aa96045 ' ;
1+ export const testAddress = '0x704457b418E9Fb723e1Bc0cB98106a6B8Cf87689 ' ;
Original file line number Diff line number Diff line change 88import { ethers } from 'ethers' ;
99
1010import { RequestModal } from '../components/RequestModal' ;
11- import { vitalikEthAddress } from '../utils/misc' ;
11+ import { testAddress } from '../utils/misc' ;
1212
1313export function SendTransaction ( ) {
1414 const [ requestModalVisible , setRequetsModalVisible ] = useState ( false ) ;
@@ -31,7 +31,7 @@ export function SendTransaction() {
3131 const ethersProvider = new ethers . providers . Web3Provider ( walletProvider ) ;
3232 const signer = ethersProvider . getSigner ( address ) ;
3333 const tx = {
34- to : vitalikEthAddress ,
34+ to : testAddress ,
3535 value : ethers . utils . parseEther ( '0.0001' ) ,
3636 data : '0x' ,
3737 } ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export function SendTransaction() {
1515
1616 const onPress = ( ) => {
1717 sendTransaction ( {
18- to : '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 ' , // vitalik.eth
18+ to : '0x704457b418E9Fb723e1Bc0cB98106a6B8Cf87689 ' , // test address
1919 value : parseEther ( '0.001' ) ,
2020 data : '0x' , // to make it work with some wallets
2121 } ) ;
You can’t perform that action at this time.
0 commit comments