Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/R0bi7/xCall-testing-EVM
Basic Solidity Smart Contracts used in xCall early testing.
https://github.com/R0bi7/xCall-testing-EVM
Last synced: 14 days ago
JSON representation
Basic Solidity Smart Contracts used in xCall early testing.
- Host: GitHub
- URL: https://github.com/R0bi7/xCall-testing-EVM
- Owner: R0bi7
- License: other
- Created: 2023-06-15T15:19:51.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-06-15T16:52:35.000Z (over 1 year ago)
- Last Synced: 2024-08-01T18:24:14.879Z (3 months ago)
- Language: Solidity
- Size: 98.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-icon - R0bi7/xCall-testing-EVM - Sample EVM smart contract that interacts with xCall. (Interoperability)
README
# xCall testing EVM
This project demonstrates a basic xCall use case. It comes with a showcase contract and a script that deploys that contract to Sepolia (ETH testnet) and BSC testnet.
Deployment scripts execution:
```shell
// compile smart contracts
npx hardhat compile// deploy to BSC testnet
npx hardhat run --network bsc_testnet ./scripts/deployBscTestnet.ts// deploy to Sepolia (ETH testnet)
npx hardhat run --network sepolia ./scripts/deploySepolia.ts
```## Environment
You should create .env file in the root of your project and include following environment variables:
```
SEPOLIA_URL="https://sepolia.infura.io/v3/ffbf8ebe228f4758ae82e175640275e0"
SEPOLIA_XCALL_ADDRESS="0x9B68bd3a04Ff138CaFfFe6D96Bc330c699F34901"
BSC_TESTNET_URL="https://data-seed-prebsc-1-s1.binance.org:8545"
BSC_TESTNET_XCALL_ADDRESS="0x6193c0b12116c4963594761d859571b9950a8686"
OPERATOR_KEY=""
```**Note** You should replace `` with your own private key.
For more information contact me at [Telegram](t.me/robibobi7).