https://github.com/application-research/fevm-subscription
Simple Subscription Contract on FEVM
https://github.com/application-research/fevm-subscription
Last synced: 11 months ago
JSON representation
Simple Subscription Contract on FEVM
- Host: GitHub
- URL: https://github.com/application-research/fevm-subscription
- Owner: application-research
- Created: 2023-01-26T18:05:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-26T18:41:37.000Z (over 3 years ago)
- Last Synced: 2025-03-19T08:49:21.490Z (about 1 year ago)
- Language: Solidity
- Size: 329 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Estuary FEVM Subscription Contract
The repository consists of ERC 1155 Contracts for Estuary Subscription
# How to deploy the contract
## Method 1: Remix
- Ensure that you have metamask setup and have tFil. Instructions [here](https://docs.filecoin.io/fvm/how-tos/add-to-metamask/).
- Open a blank workspace
- Load the files to local workspace
- Compile the EstuarySubscription.sol
## Method 2: Truffle
Install the truffle library
```
npm install
```
Grab your network private key and put it on the truffle-config
```
open truffle-config.js
const privateKeys = [""];
```
Run the following commands to deploy
```
truffle compile
truffle build
truffle deploy --network testnet // for testnet (mainnet for main network)
```
## Live contract
https://explorer.glif.io/tx/0x494c538b9075dd63566e9503b572dda401273e5341e2a414ab4d8f8101b5fe78/?network=hyperspace