Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        


Icon logo

# 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).