You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains the smart contracts for the Sova Network. Sova smart contracts can talk directly to Bitcoin and do things like broadcast BTC transactions, decode BTC payloads, and verify signatures.
3
+
This repository contains the predeploy contracts for the Sova Network.
4
+
5
+
Sova smart contracts can communicate directly with Bitcoin and do things like broadcast transactions, decode payloads, verify signatures, get block height and more!
4
6
5
7
## Details
6
8
7
-
Sova Network provides direct chain interaction with Bitcoin through custom precompiles, with built-in safeguards against double-spending. Use these precompiles to add Bitcoin composability to your Sova smart contracts.
9
+
The Sova Network provides direct communicate with Bitcoin through custom precompiles. The Sova Network uses these precompiles via predeploy contracts. These precompiles come with built-in safeguards against double-spending, payload verification, current block info, and more! These features can be witnessed in action in the `uBTC.sol` native Bitcoin wrapper contract or by importing `SovaBitcoin.sol` to add Bitcoin composability to your Sova smart contracts.
8
10
9
-
### Precompile Contracts
10
-
-**L1Block**: Provides Bitcoin block information
11
-
-**uBTC**: Bitcoin representation on Sova Network
11
+
##Predeploy Contracts
12
+
-**SovaL1Block**: Provides Bitcoin block information
13
+
-**uBTC**: Native Bitcoin wrapper on the Sova Network
12
14
13
15
### Libraries
14
-
-**SovaBitcoin**: Integration utilities
16
+
-**SovaBitcoin**: Sova network utilities
15
17
16
18
## Build and Test
17
19
18
20
```shell
19
21
# Build the project
20
22
forge build
21
23
22
-
# Run all tests
23
-
forge test
24
+
```
25
+
26
+
## Deployed Bytecode verification
27
+
28
+
Generate the deployed byte code locally to verify the predeploy contract code used on the Sova Network.
0 commit comments